I have user1 and user2.
If I login to user1 or user2 then
mplayer -ao alsa file
audio works as expected.
But, if I login to user1, then
su -l user2 mplayer -ao alsa file
audio wouldn't work because user2 does not have the required permissions to access /dev/snd/*
IIUC, systemd sets access permissions to user sessions. That's why audio worked when user2 had its own session.
Any idea how to fix this?
Last edited by Old user, new ID (2012-11-21 21:07:53)
Is user2 included in audio group?
Edit: After reading twice my questions seems inconvinent.
Last edited by diex (2012-11-21 21:39:45)
halat gibi bileğinle, yayla gibi yüreğinle ...