Page 1 of 1

SSH into Virtual Machine

Posted: 26. May 2009, 19:24
by MajorJRO
I am trying to ssh to virtual box to turn on a virtual machine from another computer. The command I am using is VirtualBox –startvm [Machine name here] however every time I try I get Qt Warning: VirtualBox: cannot connect to X server. All I am trying to do is to boot a virtual machine from ssh. I do not need to be able to access or modify the virtual machine. I just want the machine that has VirtualBox on it to boot the Virtual Machine. Any help in this matter would be greatly appreciated.

Re: SSH into Virtual Machine

Posted: 26. May 2009, 22:23
by baf
use:
VBoxManage startvm <uuid>|<name> [--type gui|vrdp]

or VBoxHeadless -s

Check the manual for these commands.