Page 1 of 1

Starting VBoxManage... problem

Posted: 7. Jan 2009, 00:07
by steve76
Hi,
I have installed on Fedora, VirtualBox and I try to run CentOS
that works fine, if I am pushing the xVM Icon..etc....
Now, I am trying to start this via command line

If I start : VboxManage startvm "Centos"

Code: Select all

VirtualBox Command Line Management Interface Version 2.1.0
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.

Waiting for the remote session to open...
[!] Full error info present: true , basic error info present: true 
[!] Result Code = NS_ERROR_FAILURE (0x80004005) - Operation failed
[!] Text        = Virtual machine 'Centos' has terminated unexpectedly during startup
[!] Component   = Machine, Interface: IMachine, {ea6fb7ea-1993-4642-b113-f29eb39e0df0}
[!] Callee      = <NULL>, {00000000-0000-0000-0000-000000000000} 
I need to start manually, the GUI xVM and then, I can start with
VboxManage startvm "xxx" then that works...

How can I start the VB from scratch via command line ?

Thanks

Posted: 7. Jan 2009, 02:45
by TerryE
IIRC, this error is a failure of the process to connect to the VBox backend through XPCOM, but I can't recall a specific ticket on this problem. Are you using the OSE or PEUL edition?

Posted: 7. Jan 2009, 15:16
by steve76
Hi,

No, I am using a normal version, that I downloaded form the VirtualBox website ...
and my Linux ,is Fedora 10.. but I had the same problem on Fedora 8

My current version of VB is the latest one.

Thanks

Posted: 9. Jan 2009, 09:38
by konradc
Try starting it with the "-type vrdp" argument i.e.

VboxManage startvm "Centos" -type vrdp

I assume that you have remote display setup. If you don't specify the -type it is "-type gui" by default which fails since you're doing headless.

Posted: 10. Jan 2009, 20:46
by Sasquatch
konradc wrote:Try starting it with the "-type vrdp" argument i.e.

VboxManage startvm "Centos" -type vrdp

I assume that you have remote display setup. If you don't specify the -type it is "-type gui" by default which fails since you're doing headless.
If you start the VM on a headless machine, you can also use VBoxHeadless.