View previous topic :: View next topic |
Author |
Message |
draino n00b
Joined: 03 Dec 2007 Posts: 22 Location: Perth WA, Australia
|
Posted: Wed Mar 19, 2008 9:56 am Post subject: [solved] VirtualBox requires root privilages!? |
|
|
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):
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 |
|
|
mdeininger Veteran
Joined: 15 Jun 2005 Posts: 1740 Location: Emerald Isles, observing Dublin's docklands
|
Posted: Wed Mar 19, 2008 11:42 am Post subject: |
|
|
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 |
|
|
draino n00b
Joined: 03 Dec 2007 Posts: 22 Location: Perth WA, Australia
|
Posted: Wed Mar 19, 2008 12:00 pm Post subject: |
|
|
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 |
|
|
mdeininger Veteran
Joined: 15 Jun 2005 Posts: 1740 Location: Emerald Isles, observing Dublin's docklands
|
Posted: Wed Mar 19, 2008 10:02 pm Post subject: |
|
|
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 _________________ "Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland
( Twitter | Blog | GitHub ) |
|
Back to top |
|
|
draino n00b
Joined: 03 Dec 2007 Posts: 22 Location: Perth WA, Australia
|
Posted: Thu Mar 20, 2008 6:17 am Post subject: |
|
|
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 |
|
|
mdeininger Veteran
Joined: 15 Jun 2005 Posts: 1740 Location: Emerald Isles, observing Dublin's docklands
|
Posted: Thu Mar 20, 2008 1:06 pm Post subject: |
|
|
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 |
|
|
|