Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-29-2008, 02:24 PM
|
#1
|
Member
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 694
Rep:
|
VirtualBox problem
[root@localhost Download]# rpm -iv VirtualBox-2.0.6_39765_fedora9-1.i386.rpm
Preparing packages for installation...
VirtualBox-2.0.6_39765_fedora9-1
chcon: can't apply partial context to unlabeled file `/usr/lib/virtualbox/VirtualBox'
chcon: can't apply partial context to unlabeled file `/usr/lib/virtualbox/VBoxSDL'
chcon: can't apply partial context to unlabeled file `/usr/lib/virtualbox/VBoxHeadless'
chcon: can't apply partial context to unlabeled file `/usr/lib/virtualbox/vboxwebsrv'
Creating group 'vboxusers'. VM users must be member of that group!
My 'normal' user jonas is member of the group vboxusers.
[jonas@localhost Download]$ VirtualBox
Wrong owner (0) of '/tmp/.vbox-jonas-ipc'.
Wrong owner (0) of '/tmp/.vbox-jonas-ipc'.
[jonas@localhost Download]$ su
Password:
[root@localhost Download]# VirtualBox
Qt WARNING: Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
When I want to start VirtualBox via Applications>System Tools>VirtualBox I get :
Callee RC:
NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154)
Installation of the rpm should be very easy. I already succesfully installed VirtualBox 2.0.4. But when I install this newer version of VirtualBox I encounter many problems as posted above on my Fedora 9.
|
|
|
11-30-2008, 03:46 AM
|
#2
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
I have errors too from version 2.0.6, different errors,
may be why I used "rpm -U" ( U = update, replace )
Code:
[root@localhost 1-download]# rpm -Uvh VirtualBox-2.0.6_39765_fedora9-1.i386.rpm
Forbereder... ########################################### [100%]
1:VirtualBox ########################################### [100%]
Creating group 'vboxusers'. VM users must be member of that group!
No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.
Success!
Stopping VirtualBox kernel module [ O.k. ]
Code:
[knudfl@localhost ~]$ VirtualBox
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen
("/usr/lib/virtualbox/VirtualBox.so",) failed:
/usr/lib/virtualbox/VirtualBox.so: undefined symbol:
_ZN7QRegionpLERK5QRect
So I just replaced it with my previous version, 2.0.2
( Kernel version = 2.6.25-14.fc9.i686 )
...
Last edited by knudfl; 11-30-2008 at 03:48 AM.
|
|
|
12-01-2008, 02:53 AM
|
#3
|
Moderator
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,306
|
Problem solved for me!
Quote:
Originally Posted by jonaskellens
[I][root@localhost Download]
[jonas@localhost Download]$ VirtualBox
Wrong owner (0) of '/tmp/.vbox-jonas-ipc'.
Wrong owner (0) of '/tmp/.vbox-jonas-ipc'.
When I want to start VirtualBox via Applications>System Tools>VirtualBox I get :
Callee RC: NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154)
|
I was having the same problem with VB 2.0.6 and Slackware, and found the solution as posted here.
Hope this helps.
Last edited by astrogeek; 12-01-2008 at 03:15 AM.
|
|
|
12-01-2008, 04:40 AM
|
#4
|
Member
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 694
Original Poster
Rep:
|
Quote:
Originally Posted by astrogeek
I was having the same problem with VB 2.0.6 and Slackware, and found the solution as posted here.
Hope this helps.
|
What I did till now : I changed the owner of the file /tmp/.vbox-jonas-ipc (as the error stated that there was an owner-problem).
Root was owner of that file and now jonas is.
I am now able to start up VirtualBox, but starting up a VM gives an error.
I will check out your solution !
EDIT :
I did not delete the file as said in the post, but I just changed group of the file :
[jonas@localhost ~]$ chgrp -R vboxusers .vbox-jonas-ipc/
This also helped and I am now able to start up via Applications>System Tools>VirtualBox
Last edited by jonaskellens; 12-01-2008 at 04:46 AM.
|
|
|
12-02-2008, 01:14 AM
|
#5
|
Moderator
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,306
|
Thanks for the reply, glad it is working.
Quote:
Originally Posted by jonaskellens
I did not delete the file as said in the post, but I just changed group of the file :
[jonas@localhost ~]$ chgrp -R vboxusers .vbox-jonas-ipc/
This also helped and I am now able to start up via Applications>System Tools>VirtualBox
|
Excellent! Deleting it forces it to be re-created the next time you start VB as that user, with proper permissions, group and ownership - the same thing you did by directly changing ownership and groups - so I guess we arrived at the same end point.
This thread was one of few hints I found when looking for my own solution so thought I'd let you know what I found. Glad you have it going, enjoy!
[EDIT] After submitting above post I realized that you said that you could start from the menu but not that you could actually run a VM. I too hit that intermediate state because I had not restarted the daemons.
If you still cannot start a VM be sure to start vboxdrv and vboxnet scripts - probably under /etc/init.d in FC, probably want to add them to the boot tasks (/etc/rc.d/rc5.d/ maybe?). Good luck!
[/EDIT]
Last edited by astrogeek; 12-02-2008 at 01:22 AM.
|
|
|
12-02-2008, 04:35 AM
|
#6
|
Member
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 694
Original Poster
Rep:
|
Running a VM is no problem anymore also. So by changing the group of that directory and all what's in it, VirtualBox runs under normal user account and I can create and run VM's.
Just having some trouble with my host network card. But therefore I need to check the manual first.
Thanks for your reply !
|
|
|
12-24-2008, 10:02 PM
|
#7
|
LQ Newbie
Registered: Dec 2008
Posts: 1
Rep:
|
Just one line solution
Just delete the .vbox-youruserid-ipc directory within /tmp and then launched VirtualBox. It will run fine.
REF:
link - forums.virtualbox.org/viewtopic.php?p=43023&sid=0b137f0c952b145f81982f666948e557
Thanks
Himadri/APT/KOLKATA/INDIA
|
|
|
All times are GMT -5. The time now is 07:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|