Jump to content
XPEnology Community

Virtualbox and phpVirtualbox on XPEnology


seba

Recommended Posts

3 minutes ago, Zippi said:

 

While I was waiting, I tried the combination Virtualbox 6.0.8 + phpvirtualbox 6.0 and it works!

Thanks anyway for your help @jarugut!
It's all new to me and I've read the whole thread!

I've 6Gb but i only see 3Gb so i must add the fix to the GRUB.CFG file right?

 

Can that be okay:

 

set common_args_3615='disable_mtrr_trim syno_hdd_powerup_seq=0 HddHotplug=0 syno_hw_version=DS3615xs vender_format_version=2 console=ttyS0,115200n8 withefi elevator=elevator quiet syno_port_thaw=1'

 

The file GRUB.CFG is that of the BOOT USB KEY were i've modified VIP,PID, MAC address etc??  Right?

Were i must place the line command? At the beginning? I don't know!

 

To use version DSM 6.2.3 did you have to use a new network card and disable the onboard one? 

 

Virtualbox and phpvirtualbox do they have to go in pairs as versions or has it nothing to do with it?

 

Like : Virtualbox 6.0.8 + phpvirtualbox 6.0

          Virtualbox 6.1.3 + phpvirtualbox 6.1  or not???

 

Sorry for the many questions but I'm glad I managed at least to make it work, now I try it a bit!

Thanx a lot again for your help!!!!!

 

 

You're welcome.

 

To use all memory ram in AMD you should to had in the  set common_args_3615 the disable_mtrr_trim option, like in your comment. This option is in the USB bootloader inside the grub.cfg file.

 

In my case I'm using an intel nic and disabled the integrated nic. (I think that currently is not necessary but intel nic always help).

Yes, if you read the github instructions for installation you will see that the virtualbox and phpvirtualbox goes in pairs.

 

 

 

 

 

Link to comment
Share on other sites

9 hours ago, jarugut said:

You're welcome.

 

To use all memory ram in AMD you should to had in the  set common_args_3615 the disable_mtrr_trim option, like in your comment. This option is in the USB bootloader inside the grub.cfg file.

 

In my case I'm using an intel nic and disabled the integrated nic. (I think that currently is not necessary but intel nic always help).

Yes, if you read the github instructions for installation you will see that the virtualbox and phpvirtualbox goes in pairs.

 

 

 

 

 

Thanx again for your quick reply!

Today i'll try and i'll be back.....

Link to comment
Share on other sites

2 hours ago, Zippi said:

I'm trying to install UBUNTU but when arrive here don't work mouse and keyboard.

What i'm doing wrong?

I use iMAC with Safari

 

Thanx!

 

Ubuntu.png

 

 

are you tried with the option  in the input tab on general settings of the vm use the USB keyboard and Tablet USB?

 

image.png.94dcce89be600dcec94b50c1fd0f3b51.png

 

A part of that I don't know, sorry.

About RAM memory it's ok your number have in mind that some memory is reserved for the hardware but you've recovered around 2,7GB extra. ;)

 

Link to comment
Share on other sites

1 hour ago, jarugut said:

 

 

are you tried with the option  in the input tab on general settings of the vm use the USB keyboard and Tablet USB?

 

image.png.94dcce89be600dcec94b50c1fd0f3b51.png

 

A part of that I don't know, sorry.

About RAM memory it's ok your number have in mind that some memory is reserved for the hardware but you've recovered around 2,7GB extra. ;)

 

I tried it but don't work.

Probably it work if it's enabled and connected directly to the N54L.

But via iMAC (remote) probably i must install the VBoxGuestAdditions.ISO pack but VirtualBox search it in /usr/share/virtualbox/VBoxGuestAdditions.iso and don't let me to tell in which directory i've placed it.

I should copy it via SSH, i don't see another way.....

VirtualBox let me download it but put it in the VirtulBoxVMs/additions directory.....

How you can use your mouse and keyboard of the VM on XPEnology?

Are you connected to your XPEnology server via remote?

 

Thanx!

 

 

Edited by Zippi
Link to comment
Share on other sites

I tried everything but i cannot access like root to /usr/share/virtualbox to put inside the file VBoxGuestAdditions.iso

How can i install this file or connect like root to that directory?

The root password is always wrong.....there is no way.....

 

Please help me!

Thanx!

 

 

Link to comment
Share on other sites

On 9/20/2020 at 1:44 AM, Zippi said:

I tried everything but i cannot access like root to /usr/share/virtualbox to put inside the file VBoxGuestAdditions.iso

How can i install this file or connect like root to that directory?

The root password is always wrong.....there is no way.....

 

Please help me!

Thanx!

 

 

1. SSH to machine as admin user.
2. Enter command sudo -s and providing admin password.
3. Enter command synouser --setpw root "password_that_you_want"

Link to comment
Share on other sites

47 minutes ago, jarugut said:

1. SSH to machine as admin user.
2. Enter command sudo -s and providing admin password.
3. Enter command synouser --setpw root "password_that_you_want"

 

OK, i'll try.....

But is correct install VBoxGuestAdditions.ISO as VirtualBox ask?

And if yes i must put it in "/usr/share/virtualbox" path/folder so VirtualBox can see it and goes to install it?

How you can use your mouse and keyboard of the VM on XPEnology?

Are you connected to your XPEnology server via remote or directly?

 

Thanx for your patience! :-)

 

Link to comment
Share on other sites

18 hours ago, Zippi said:

 

OK, i'll try.....

But is correct install VBoxGuestAdditions.ISO as VirtualBox ask?

And if yes i must put it in "/usr/share/virtualbox" path/folder so VirtualBox can see it and goes to install it?

How you can use your mouse and keyboard of the VM on XPEnology?

Are you connected to your XPEnology server via remote or directly?

 

Thanx for your patience! :-)

 

 

in my opinion if you have the iso file you only needs to assign to the vm and install it. You can leave the iso in the same folder of the vms

I'm using the vm in remote mouse and keyboard included, I have not connected any mouse or keyboard to the nas. 

Link to comment
Share on other sites

1 hour ago, jarugut said:

 

in my opinion if you have the iso file you only needs to assign to the vm and install it. You can leave the iso in the same folder of the vms

I'm using the vm in remote mouse and keyboard included, I have not connected any mouse or keyboard to the nas. 

 

Thank you for your reply.

I set my root password with:

 

1. SSH to machine as admin user.
2. Enter command sudo -s and providing admin password.
3. Enter command synouser --setpw root "password_that_you_want"

and seems to have gone well.....

 

Then when i try to access with root/root password with terminal/winscp/putty the result is : PERMISSION DENIED

 

Why?

Link to comment
Share on other sites

16 hours ago, Zippi said:

 

Thank you for your reply.

I set my root password with:

 

1. SSH to machine as admin user.
2. Enter command sudo -s and providing admin password.
3. Enter command synouser --setpw root "password_that_you_want"

and seems to have gone well.....

 

Then when i try to access with root/root password with terminal/winscp/putty the result is : PERMISSION DENIED

 

Why?

please, read the forum!

you cannot access directly with root, you must to connect with you admin user and later you should execute something like sudo su -

 

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 months later...

Hi,

Is anybody interested in using this package (vbox 6.1.16) compiled to apollolake platform? (DS918+)

I have previously used 6.0.8 on bromolow, did hardware update (ASRock J5040) and was forced to change platform to DS918, so I compiled vbox myself (using seba's package).

I am currently working on phpvirtualbox4dsm for this package.

 

Link to comment
Share on other sites

  • 2 weeks later...
On 12/24/2020 at 10:29 PM, archon said:

Hi,

Is anybody interested in using this package (vbox 6.1.16) compiled to apollolake platform? (DS918+)

I have previously used 6.0.8 on bromolow, did hardware update (ASRock J5040) and was forced to change platform to DS918, so I compiled vbox myself (using seba's package).

I am currently working on phpvirtualbox4dsm for this package.

 

Dear Archon,

I found this post also at that time in google and yes, I would be very very interested in an updated version! I do have an  DS916+ with Braswell Intel CPU, but in the future might upgrade to the 918+ also.

Manny thanks in advance if there is anything possible for any of them!

Joeri

Edited by Dutch87
Link to comment
Share on other sites

On 12/24/2020 at 10:29 PM, archon said:

Hi,

Is anybody interested in using this package (vbox 6.1.16) compiled to apollolake platform? (DS918+)

I have previously used 6.0.8 on bromolow, did hardware update (ASRock J5040) and was forced to change platform to DS918, so I compiled vbox myself (using seba's package).

I am currently working on phpvirtualbox4dsm for this package.

 

 

I'm also very interested in that!

Thx

Link to comment
Share on other sites

Hi all,

 

Is there an alternative, particularly for Windows VMs?

 

sorry for bothering or create a new topic on this. maybe someone already reflected on it. But, I've made a search and didn't found any related topics.

---> Here is my problem; following Adobe Flash EOL, I'm unable to monitor, via the console, my VMs on phpvirtualdsm webpage. Thus, I can't set up the RDP connection since I can't access the VM.

 

PS: I'm using my MacBookPro as working platform with OSX Catalina.

Some of my VMs, are on the NAS, and are running/administred on Virtualbox/Phpvirtuaalbox4dsm.

 

Thank all!

Link to comment
Share on other sites

in the xxx.vbox file you'll see the settings..

 

<VirtualBox xmlns="http://www.virtualbox.org/" version="1.17-linux">
  <Machine uuid="{xxx}" name="DietPi" OSType="Debian_64" snapshotFolder="Snapshots" lastStateChange="2021-01-19T00:59:58Z">
    <MediaRegistry>
      <HardDisks>
        <HardDisk uuid="{xxx}" location="Clone-disk001.vmdk" format="VMDK" type="Normal"/>
      </HardDisks>
    </MediaRegistry>
    <Hardware>
      <CPU count="4">
        <PAE enabled="false"/>
        <NestedHWVirt enabled="true"/>
        <LongMode enabled="true"/>
        <X2APIC enabled="true"/>
        <HardwareVirtExLargePages enabled="true"/>
      </CPU>
      <Memory RAMSize="4096"/>
      <Chipset type="ICH9"/>
      <Paravirt provider="KVM"/>
      <Boot>
        <Order position="1" device="HardDisk"/>
        <Order position="2" device="None"/>
        <Order position="3" device="None"/>
        <Order position="4" device="None"/>
      </Boot>
      <Display VRAMSize="16"/>
      <VideoCapture screens="1" file="." fps="25"/>
      <RemoteDisplay enabled="true">
        <VRDEProperties>
          <Property name="TCP/Ports" value="3389"/>
        </VRDEProperties>
      </RemoteDisplay>

Look for the Remote Display section.. in it you can view the current port for RDP and change if necessary.

 

make sure the VM is powered off and backup the .vbox file before editing.

Edited by rok1
Link to comment
Share on other sites

8 hours ago, rok1 said:

in the xxx.vbox file you'll see the settings..

 

Look for the Remote Display section.. in it you can view the current port for RDP and change if necessary.

 

make sure the VM is powered off and backup the .vbox file before editing.

 

Thank you!

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 months later...
On 12/25/2020 at 12:29 AM, archon said:

Hi,

Is anybody interested in using this package (vbox 6.1.16) compiled to apollolake platform? (DS918+)

I have previously used 6.0.8 on bromolow, did hardware update (ASRock J5040) and was forced to change platform to DS918, so I compiled vbox myself (using seba's package).

I am currently working on phpvirtualbox4dsm for this package.

Wow! Such good news!
I've also made the upgrade to DS918+ from bromolow so far but unfortunately no one makes the compilation for apollolake (((

We all are waiting for this stuff!  )))

Link to comment
Share on other sites

  • 11 months later...
  • 1 year later...

It may be possible.

The toolkit and toolchain are available for 7.2-63134

https://archive.synology.com/download/ToolChain/

 

No kernel for 7.2 yet, only 7.1.1-42962

https://archive.synology.com/download/ToolChain/Synology NAS GPL Source

 

With kernel and some time it may be possible to construct spk package.

I did some modifications to package with virtualbox for 6.2, compiled newer version, but in 7.x there are new rules for packages, so a lot of reading is involved.

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...