User Tools

Site Tools


documentation:setup_and_user_guide:virtualization_virtualbox

Virtualization|VirtualBox

VirtualBox was introduced on 10.2.0.2.1870 and later versions.

Important - From 10.3.0.3 series onwards only x64 versions can be used, ARM versions cannot run VirtualBox.


Enable VirtualBox: You can access the page from Virtualization > VirtualBox menu.

Now I have enabled the service and have set the proper home directory for VirtualBox where it will store all its virtual machines/database files, the weblinks to phpVirtualbox and noVNC did became available. See picture below:

Now open the weblink to phpvirtualbox and login so that we can prepare the noVNC logon for the virtual machine we installed.

Note: phpVitualBox's default user is admin, default password is admin. Do not forget to change passwords!


Login phpvirtualbox:

Change default phpvirtualbox login password: Select File and Change password from the menu.

New phpvirtualbox login password: Now we set new password for the login.

Configure VNC port on VM setting: After you have made/installed a virtual machine you need to prepare settings on the vm for noVNC login. You need to set the VNC port and it's password proper set before noVNC login can work!.

Here in this example below I edit a FreeBSD 10.3 32-bits VM for noVNC login:

Important - If you have multiple VMs, you need different port on the VMs. VitualBox Open Source Edition have no RDP support. VNC on VirtualBox only supports US keyboard layout.


Use builtin noVNC (Browser based VNC Client):

You can control VM by phpVirtualBox and VNC client like TightVNC see https://www.tightvnc.com/.

*noVNC is currently broken and removed from XigmaNAS builds, please ignore below.

You can open the noVNC page from the link:

Here you see also the noVNC login link you can use from bottom on the index.php

Enter the password configured by above step at the password field:

Here we see a Running FreeBSD 10.3 32-bits in VirtualBox on the XigmaNAS server managed with noVNC in this case:

Note:

It is not only limited to XigmaNAS but also you can connect any server that support WebSocket.

Tip! It doesn't have an option to auto start VMs yet so you can add this to the PostInit.

sudo -H -b -u vboxusers /usr/local/lib/virtualbox/VBoxHeadless --startvm vmname
documentation/setup_and_user_guide/virtualization_virtualbox.txt · Last modified: 2019/02/22 00:20 by zoon01