Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 374429

Summary: app-emulation/virtualbox-bin-4.0.10-r1 gui deosn't work
Product: Gentoo Linux Reporter: Ian Delaney (RETIRED) <idella4>
Component: Current packagesAssignee: Patrick Lauer <patrick>
Status: RESOLVED WORKSFORME    
Severity: normal CC: polynomial-c, swapon
Priority: Normal    
Version: 10.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ian Delaney (RETIRED) gentoo-dev 2011-07-08 10:52:32 UTC
virtualbox-bin, I assume is a binary version of virtual box, emerges fine.  On calling it, the gui fails to come up.

Reproducible: Always

Steps to Reproduce:
1. emerge package
2.
3.
Actual Results:  
call /opt/bin/VirtualBox

Failed to create the VirtualBox COM object

The application will now terminate.

Callee RC: 
NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154)

(Is this a Windows system component?)

Expected Results:  
That it work
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-07-08 12:06:11 UTC
Does VirtualBox start when you invoke it from a console?
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-07-08 12:10:08 UTC
Oh wait, I think I've found the problem. Please logout from X and relogin. I bet that should fix the problem.
I suppose this happens when you had app-emulation/virtualbox installed before and then switch to virtualbox-bin. The virtualbox installation leaves some environment variables back that need to be reset to virtualbox-bin compliant values (which should happen on a logout/relogin into X).
Comment 3 Elijah "Armageddon" El Lazkani (amd64 AT) 2011-07-08 15:31:19 UTC
I followed Ian's steps and got to the same error. Lars suggested a logout and a log back in again to fix the problem, he was correct. A simple logout and a login fixes the problem the virtualbox-bin GUI will run.

I have my user in the virtualbox group "vboxusers".
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-10-24 21:37:21 UTC
I gonna close this bug. It's simply a problem with the environment when you replace vbox-bin with vbox-nonbin or vice versa without a relogin.