SSH into Virtual Machine

Discussions related to using VirtualBox on Solaris hosts.

SSH into Virtual Machine

Postby MajorJRO » 26. May 2009, 19:24

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.
MajorJRO
 
Posts: 3
Joined: 8. May 2009, 00:22
Primary OS: OpenSolaris other
VBox Version: OSE other
Guest OSses: Windows XP

Re: SSH into Virtual Machine

Postby baf » 26. May 2009, 22:23

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


Return to VirtualBox on Solaris Hosts

Who is online

Users browsing this forum: No registered users and 2 guests