Wednesday, January 11, 2012

Oracle failed to access the USB subsystem

when you are running Oracle virtualbox at a Linux host you can have some issues when you are trying to start a virtual machine for the first time. It can give you a warning that something is wrong with the connection from the guest to the hosts USB subsystem.

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)

to resolve this you can quickly add your username to the group by using the usermod command or edit the file /etc/group where you resolve it by using vi. A important thing to note is that you have to logout and login again to make sure the changes are picked up correctly. Only closing virtualbox and starting it again is not enough to make sure the changes are reflected in the application.

No comments: