SSH into Virtual Machine

Discussions related to using VirtualBox on Solaris hosts.
Post Reply
MajorJRO
Posts: 3
Joined: 8. May 2009, 00:22
Primary OS: OpenSolaris other
VBox Version: OSE other
Guest OSses: Windows XP

SSH into Virtual Machine

Post 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.
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: PUEL
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Re: SSH into Virtual Machine

Post by baf »

use:
VBoxManage startvm <uuid>|<name> [--type gui|vrdp]

or VBoxHeadless -s

Check the manual for these commands.
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
Post Reply