[solved] ivalid machine name during systemstartup

Discussions related to using VirtualBox on Linux hosts.
Post Reply
magnummandel
Posts: 3
Joined: 19. Sep 2008, 13:47

[solved] ivalid machine name during systemstartup

Post by magnummandel »

Hi there!

I try to start a specific VM during host startup. The host runs under Ubuntu hardy. Therefor I added the line

Code: Select all

/usr/bin/VBoxHeadless -s anymachine
to my rc.local. But it won't start up. The console output is

Code: Select all

invalid machine name
Even if I try the uuid it won't do. The output is

Code: Select all

Could not find a registered machine with UUID {...}
The command starts up the VM proper when I'm logged in and issued the command manually.
I'm thankfull for any suggestions

Thx,
MM
Last edited by magnummandel on 19. Sep 2008, 14:21, edited 1 time in total.
magnummandel
Posts: 3
Joined: 19. Sep 2008, 13:47

[solved]

Post by magnummandel »

ok, I had better had a deeper look to it before posting. The user during system startup is root and the machine was (quiet clear) created by another user so that the machine lies in /home/<user name>/.VirtualBox/Machines so that user root can't find them (since it is looking for it in /root/.VirtualBox/...)

I simply created a symlink to the users .VirtualBox directory and it seems to work that way.

If you had another (better) solution, feel free to post :)
MM
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

Search the forums or the User Guide for VBOX_USER_HOME and read what it has to say. Also don't start a user VM in root. Bad practice and dangerous. do s sudo -u.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Post Reply