I created a secondary user login for my system, but sound playback does not work? What do you have to change to give user access to sound?
I created a secondary user login for my system, but sound playback does not work? What do you have to change to give user access to sound?
Add the user to the audio group:
This is considered frowned upon in modern Ubuntu and has implications on user switching. The correct way this should be handled is by the seat manager service setting the correct ACLs on the audio devices for your logged in user.
The issue is detailed in this (outdated) article on Ubuntu's website: The Audio Group.
This article is outdated in the sense that it talks about ConsoleKit while in modern Ubuntu (bionic and later) managing access to seat devices is controlled by systemd-logind.
Here is a good article that summarizes how Linux has historically and currently manages device access by users and the reasons for things being as they are.