Remote VirtualBox Launch Via SSH and X11Forwarding
You can configure your SSH server to forward the X server of the host system to the remote machine. This is done by adding: X11Forward yes to your SSH configuration file. SSH is configured by two files /etc/ssh/ssh_config and /etc/ssh/sshd_config Just add the “X11Forward yes” to the very top of both configuration files and restart your SSH server. Now when you connect to the SSH server use the -X option and you will be able to launch X windows that you are accustomed to on a local interface. You can use this X11Forwarding to transfer via SSH the X window associated with a VirtualBox guest Operating System. First connect to the SSH server: ssh -X hostip Now utilize the VirtualBox command or the VBoxManage command. VirtualBox will launch the graphical configuration window that is typically access in the Applications/Systems Tools menu. It will launch on your remote machine, rather than on the host, because of the SSH X11Forwarding protocol. Once you have a Virtual Machine setup you can directly lanuch it, bypassing the VirtualBox manager, with the VBoxManage command. The syntax is as follows where virtualmachinename is the title of your guest VirtualBox Machine: VBoxManage startvm virtualmachinename



October 13, 2007 - 4:02 pm
Hello,
I tried this and the virtual machine could not be resumed. The virtualbox GUI says it has been “aborted”. Any idea of where it comes from ?
Vincent
October 25, 2007 - 12:50 am
The problem is most likely caused by setting the RAM for a Guest OS to a greater value than available on the Host.