user not added added to vboxusers group

Discussions related to using VirtualBox on Linux hosts.
Post Reply
DeGarcen
Posts: 92
Joined: 20. Mar 2009, 14:27

user not added added to vboxusers group

Post by DeGarcen »

Downloaded and installed package, on Ubuntu 19.10: virtualbox-6.1_6.1.4-136177_Ubuntu_eoan_amd64.deb

My user was not added to vboxusers group, son can't attach USB devices to guest. None is present.

Fixed with this:

Code: Select all

sudo adduser $USER vboxusers
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: user not added added to vboxusers group

Post by scottgus1 »

The manual states here: https://www.virtualbox.org/manual/ch02. ... -vboxusers
The Linux installers create the system user group vboxusers during installation. Any system user who is going to use USB devices from Oracle VM VirtualBox guests must be a member of that group. A user can be made a member of the group vboxusers either by using the desktop user and group tools, or with the following command:

sudo usermod -a -G vboxusers username
The virtualbox installer makes the group. You have to add yourself to it manually. That you needed to do it manually shows that Virtualbox is working as designed.
DeGarcen
Posts: 92
Joined: 20. Mar 2009, 14:27

Re: user not added added to vboxusers group

Post by DeGarcen »

Ok I guess it's fine then. Thanks for the link, I wasn't aware of that.
Last edited by mpack on 31. Mar 2020, 14:31, edited 1 time in total.
Reason: Deleted verbatim quote of previous post.
Post Reply