VBoxHeadless does not work

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
cs154
Posts: 1
Joined: 5. Mar 2009, 22:06
Location: Tampa, FL
Contact:

VBoxHeadless does not work

Post by cs154 »

Anybody had any luck getting VBoxHeadless to work? When I execute VBoxHeadless it always says Invalid Machine. I execute this as root and it works fine using VBoxManage, but VBoxHeadless seems like it has a bug. I am using Mac OS X 10.5.6.
couper101
Posts: 1
Joined: 8. Mar 2009, 19:17

Re: VBoxHeadless does not work

Post by couper101 »

Hi,

Found the same problem myself.

Dont login as root, if "root" did not create the virtual machine. Login with the user name that created the virtual machine.
No need to be root to run the command >>> VBoxHeadless -startvm xxxxx

Also,
nohup VBoxHeadless -startvm xxxx & (hit return a few times)

That line will start your virtual machine and let you closes the terminal window :-)

Brian.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Re: VBoxHeadless does not work

Post by TerryE »

cs154 wrote: I execute this as root and it works fine using VBoxManage
It sounds as if you created the VM using your root account so it is in the root account's .VirtualBox registry not your user account's.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Post Reply