| « HOWTO:Reinstall Grub2 on Ubuntu | HOWTO: Remove RAID Arrays » |
Ok, so you have a working VBox machine and you want to run it on a host server, This allows you to connect to it remotely. Until VBoxWeb get written here is a quick and dirty way.
To make the remote connect a little more secure you can stop any old person connecting in with out authentication by configuring vrdp port and vrdpauthtype. By using the auth type of external only users who can be verified by the host server can connect using rdesktop. They can still connect via other methods if setup in the guest such as ssh or VNC.
First we will set the port to 5001 and turn on authtype external.
To run the VBox guest on the host you need a coomand line similar to the following. The output below is what you would see if you ran it in a terminal and then later stopped the guest.
The following can be setup in the rc.local so that the gest will automatically restart when the host is rebooted.
Change "vboxuser" to any user you want to run the server. To connect to the VBox guest via rdesktop the following works for me.