How to add users to vboxusers

Categories:  linux
Labels:  virtualization

So I want to use my flashdrive in Windows XP, which I am currently running in Virtualbox, but when I open up the settings to enable usb usage, I get an error:

Failed to access the USB subsystem.
VirtualBox is not currently allowed to access USB devices. 
You can change this by adding your user to the 'vboxusers' group. 
Please see the user manual for a more detailed explanation

Result Code: 
NS_ERROR_FAILURE (0x00004005)
IHost {30678943-32df-4830-b413-931b25ac86a0}
IMachine {22781af3-1c96-4126-9edf-67a020e0e858}

Does anyone know how to fix this!? Please help! :S

3 Answers

You should be able to use this command in terminal type:

$ sudo usermod -a -G vboxusers $USER

After that, check that you are in the vboxusers group with this command, make sure that vboxusers is in the shown list:

$ groups $USER
  • id That will give you:

uid=1000([username]) gid=1000([username]) groups=1000([username]), 10(wheel),18(dialout),497(plugdev)

If vboxusers is missing in that then add:

$ sudo usermod -a -G vboxusers [username]

This should resolve

  • This works for me and my problem solved with VirtualBox
$ sudo usermod -a -G vboxsf your_user_name
Related Posts:

Social Profiles

This web accept cryptocoin donations
BTC address, LTC, ETH, DASH, Uphold:
Why donations?