Linux Lite Forums

Full Version: Enabling USB ports in Oracle Virtualbox versions 4 & 5
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[size=1em]Whenever I've set-up Oracle Virtualbox to test guest operating systems, there seems to be a problem with enabling the computer's USB 2.0 (in VBox version 4) or  USB  3.0 ports (version 5), so that the attached devices communicate with the guest OS.  I found a neat remedy at http://askubuntu.com/questions/25596/how...virtualbox  that I'd like to share, which worked for me...
[/size]
[size=1em]
Essentially you need to be in a vboxusers group. Open the terminal and type in the following: 
[/size]
Code:
sudo usermod -a -G vboxusers <username> 
[size=1em]

(I think -a -G can alternatively be typed as -aG though I haven't tried this)[/size][size=1em]
You need to reboot or logout/login for group membership to take effect.
[/size]
[size=1em][/size]
When you have shutdown your virtual OS, go to Settings, within Oracle VM VirtualBox Manager, then down to USB, select this, and then click on the blue icon of a USB plug with a green cross on it on the right hand side of this window. Attach various USB devices and click the green cross each time, so that the devices appear in a list under USB Device Filters (with a tick next to each one). Don't forget to click 'OK button' at the bottom-right so that the changes take effect.
[size=1em]

[/size][size=1em]
Regards
Mike[/size]
Quote:https://www.linuxliteos.com/manual/tutorials.html#vbox/

Thanks Jerry - I didn't see that alternative way of installing vboxuser.
Oh well, I guess I've shown another method here, using the terminal, so folks have a choice...

Mike