Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] VirtualBox requires root privilages!?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
draino
n00b
n00b


Joined: 03 Dec 2007
Posts: 22
Location: Perth WA, Australia

PostPosted: Wed Mar 19, 2008 9:56 am    Post subject: [solved] VirtualBox requires root privilages!? Reply with quote

I cannot seem to get any VirtualBox VM to startup as a user.

I installed app-emulation/virtualbox-bin
Code:
emerge -av virtualbox-bin


Next, I added the users to the vboxusers group
Code:
usermod -a -G vboxusers <username>


Then, I inserted the vboxdrv module (as root):
Code:
modprobe vboxdrv


Finally, I ran VirtualBox, created the VM and is silently fails to run and the status of the VM is now showing as "Aborted".
The only indication that it is failing seems to be in /var/log/messages (bellow):
Code:
VirtualBox[18914]: segfault at 0000000000000028 rip 00002b294ef00d09 rsp 00007fff5c09bbd0 error 4


Yet there are no errors it runs fine, when run as root.


Can anyone please help?
_________________

Dell XPS M1370 (MXG071) | Dell 2707WFP | IBM Model M (1391401) | Logitech MX320
Linux 2.6.24-tuxonice-r9 #1 SMP PREEMPT x86_64 Intel(R) Core(TM)2 Extreme CPU X7900 @ 2.80GHz GenuineIntel GNU/Linux


Last edited by draino on Mon Mar 31, 2008 10:42 am; edited 1 time in total
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Wed Mar 19, 2008 11:42 am    Post subject: Reply with quote

this is gonna sound stupid but, you did re-login after adding the users to the group, didn't you?
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
draino
n00b
n00b


Joined: 03 Dec 2007
Posts: 22
Location: Perth WA, Australia

PostPosted: Wed Mar 19, 2008 12:00 pm    Post subject: Reply with quote

Yes, I did logout then login again. Still the same problem :(
_________________

Dell XPS M1370 (MXG071) | Dell 2707WFP | IBM Model M (1391401) | Logitech MX320
Linux 2.6.24-tuxonice-r9 #1 SMP PREEMPT x86_64 Intel(R) Core(TM)2 Extreme CPU X7900 @ 2.80GHz GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Wed Mar 19, 2008 10:02 pm    Post subject: Reply with quote

alrighties, just checkin =)

i'm pretty sure i had an issue like that too, once, but it eventually went away on its own after re-emerging virtualbox and all deps a couple of times... i doubt that's how it should be fixed tho, so i've not really too many ideas i'm afraid, sorry ^^8.

maybe try with a different version or something similar. oh and make sure to emerge the kernel module with a) the proper symlink in /usr/src/linux and b) the same version of gcc as your kernel was originally compiled with. just some general hints :D
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
draino
n00b
n00b


Joined: 03 Dec 2007
Posts: 22
Location: Perth WA, Australia

PostPosted: Thu Mar 20, 2008 6:17 am    Post subject: Reply with quote

SOLVED!

One the helpful people at the virtualbox IRC channel (#vbox @ irc.freenode.net) helped me work out what was wrong.

I was able to launch any VM using VBoxSDL
Code:

VBoxSDL -vm <id|name>

Where id or name is either the UUID or the VM name respectively.

He also stated the following:
Quote:
some Qt themes are known to break vbox.

This would have been nice to know before I wasted like 3 hours on it :(

So I switched to the Default KDE theme *yuk* and it all works fine now (even using OSE version).
_________________

Dell XPS M1370 (MXG071) | Dell 2707WFP | IBM Model M (1391401) | Logitech MX320
Linux 2.6.24-tuxonice-r9 #1 SMP PREEMPT x86_64 Intel(R) Core(TM)2 Extreme CPU X7900 @ 2.80GHz GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Thu Mar 20, 2008 1:06 pm    Post subject: Reply with quote

now THAT is odd... although I might've switched themes in between... i never would've thought THAT would've solved it o_O?
well, thanks for pointing that part out :).
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum