30 | | * If you get a message saying '''"!VirtualBox kernel driver not accessible, permission problem"''' when starting !VirtualBox right after installation, make sure that your user account is listed in the `vboxusers` group. The installation takes care creating that group, but you will need to manually add all users to it that should be allowed to run !VirtualBox. As root, for each such user, run `usermod -G vboxusers -a <userid>`. If any of the affected users are currently logged in, they need to log out for the changes to take effect. In case any user already attempted to start !VirtualBox before logging out (which launches the VBoxSVC service process with incorrect permissions), that user additionally needs to run `VirtualBox shutdown` from the command line to terminate the service. This solves the permission problems. (Alternatively, a reboot will help as well.) |
| 30 | * 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. |
| 31 | {{{ |
| 32 | # groups <login name> |
| 33 | [Shows a list of groups for that login name] |
| 34 | # useradd <login name> -g <first group in list> -G <second group>,<third group>,...,vboxusers |
| 35 | }}} |
| 36 | These changes will only take effect after the users have logged out and back in again. |