On 10/20/22 04:48, lejeczek via users wrote:
How, if possible at all, to get audio/sound work when you switched to
a
different user?
I'm thinking here of 'sudo' & 'su' but would be happy of any
other way
to run GUI apps with user ID different from currently "normally" logged in.
If you actually do a graphical switch user from the login screen, then
audio will work. Doing it with sudo or su is more difficult, but might
work. You have to set the environment variables so that the audio
server can be found and you might have to also set permissions on the pipes.