Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374429 - app-emulation/virtualbox-bin-4.0.10-r1 gui deosn't work
Summary: app-emulation/virtualbox-bin-4.0.10-r1 gui deosn't work
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-08 10:52 UTC by Ian Delaney (RETIRED)
Modified: 2011-10-24 21:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.