The documentation assumes the following:
For example, if the agent is running as the user joe, then you will see Joe's virtual machines and configuration, regardless of the credentials you connected with. It's also worth mentioning that extensions such as the Oracle VM VirtualBox Extension Pack may also need to be installed as this user, so that it's available in their configuration. You may already have an existing user you wish to use, or you can create a new one specifically for the purpose. If you are not sure how to create a user, please consult the documentation for your operating system.
For the purposes of this documentation, we will use the following values in the examples, however remember to change them to suit your setup.
vboxwebsrvuser: | virtualuser • This user should also be a member of the vboxusers group. This group is usually created by VirtualBox at install time |
Server Name: | myserver.example.com |
Server IP Address: | 192.168.1.10 |
Default TCP Port: | 18083 |
• Login as the user you want the VirtualBox web service as started as. A standard plist file is included with VirtualBox which is usually found at the location showb below. Edit the file with your preferred text editor and change the Diabled key from true to false
~/Library/LaunchAgents/org.virtualbox.vboxwebsrv.plist
• The VirtualBox web service can then be started as follows
launchctl load ~/Library/LaunchAgents/org.virtualbox.vboxwebsrv.plist
You should now be able to connect to the server using the RemoteBox client.
• To disable authentication, run the following command on the server as the same user that the VirtualBox web service runs as:
vboxmanage setproperty websrvauthlibrary null