No sound for non-root user

Discussions related to using VirtualBox on Linux hosts.

No sound for non-root user

Postby OverJerry » 8. Mar 2020, 09:27

I am using kali linux,but when i try to install win7 on my kali linux.
If I logged in as root,everything is okay,it has sound and i can use USB easily.
But when i was using a non-root user,if i don't use sudo to start virtualbox,i can't use USB from the host.But if i use sudo,i can use USB from the host,but i can't hear any sound,and i can't input any sound too.
How can i fix it?
OverJerry
 
Posts: 1
Joined: 8. Mar 2020, 09:22

Re: No sound for non-root user

Postby scottgus1 » 8. Mar 2020, 15:33

Re USB usage, each user account has to be part of the 'vboxusers' group. From the manual https://www.virtualbox.org/manual/ch03.html#usb-support:
On supported Linux hosts, Oracle VM VirtualBox accesses USB devices through special files in the file system. When Oracle VM VirtualBox is installed, these are made available to all users in the vboxusers system group. In order to be able to access USB from guest systems, make sure that you are a member of this group.


I have no idea about the sound problem, though.
Human government is like that crazy uncle who hides a quarter in his fist behind his back, then asks you to guess which fist the quarter is in...
No matter which side you choose, Left or Right, both Sides are empty.
scottgus1
Volunteer
 
Posts: 7020
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 21 guests