Help!

virtualbox permissions

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Linux Fanatics RSS
Next:  Palin interviews  
Author Message
FishyMike



Joined: Dec 14, 2005
Posts: 290



PostPosted: Fri Sep 12, 2008 11:15 am    Post subject: virtualbox permissions

is there anyone that can help me with this permission thingy?

each time i start program im supposed to do this.

VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup' as root.
VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).

AND
after i do the above i am supposed to do this.

The VirtualBox kernel driver is not accessible to the current user. Make sure that the user has write permissions for /dev/vboxdrv by adding them to the vboxusers groups. You will need to logout for the change to take effect..
VBox status code: -1909 (VERR_VM_DRIVER_NOT_ACCESSIBLE).

the trouble that i am facing is that i dont know how to give this program its permissions that it is needing. can anyone help
Back to top
AIM Address
ernie



Joined: Dec 16, 2002
Posts: 166



PostPosted: Fri Sep 12, 2008 11:51 am    Post subject: Re: virtualbox permissions [Login to view extended thread Info.]

Try adding the module name to /etc/modprobe.preload. Enter one module name per line.

This file (modprobe.preload) is used to load modules at system boot time under kernel 2.6.

HTH,
Back to top
silmaril8n



Joined: Jan 29, 2004
Posts: 1743

Location: Phoenix, AZ

PostPosted: Fri Sep 12, 2008 11:57 am    Post subject: Re: virtualbox permissions [Login to view extended thread Info.]

Maybe I'm just not reading your post correctly, but did you add your user to the vboxusers group?
Back to top
AIM Address
FishyMike



Joined: Dec 14, 2005
Posts: 290



PostPosted: Fri Sep 12, 2008 3:19 pm    Post subject: Re: virtualbox permissions [Login to view extended thread Info.]

adding to vboxuser group is what im trying to do. i dont know how

all i know how to do is turn on machine check email or browse web then turn machine off.
if there is not a step by step procedure to follow then im lost.
Back to top
AIM Address
ernie



Joined: Dec 16, 2002
Posts: 166



PostPosted: Sat Sep 13, 2008 1:05 am    Post subject: [Login to view extended thread Info.]

The easy way (in KDE) is to run kuser, then in the groups tab, select the vboxuser group, and make sure your user name has a check mark in the list of group members. If you do not use KDE as your DeskTop environment, you can read the information from the Virtual Box FAQ below:
Quote:
If you get a message saying "VirtualBox kernel driver not accessible, permission problem" when starting VirtualBox immediately after installation, make sure that your user account is a member of the vboxusers group. This group is created when VirtualBox is installed, but you will need to manually add all users to it who are to be allowed to run VirtualBox. The documentation accompanying your Linux distribution should provide information about how to do this. If not, the following should also work on most Linux systems. These commands should be run as the Administrator user from the command line.

# groups <login name>
[Shows a list of groups for that login name]
# useradd <login name> -g <first group in list> -G <second group>,<third group>,...,vboxusers

These changes will only take effect after the users have logged out and back in again.


HTH,
Back to top
FishyMike



Joined: Dec 14, 2005
Posts: 290



PostPosted: Sun Sep 14, 2008 11:25 pm    Post subject: [Login to view extended thread Info.]

thank you mr.ernie.
Back to top
AIM Address
ernie



Joined: Dec 16, 2002
Posts: 166



PostPosted: Mon Sep 15, 2008 12:31 am    Post subject: [Login to view extended thread Info.]

Happy to be of help ;0
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Linux Fanatics All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
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