You are not logged in.

#1 2012-11-21 21:07:14

Old user, new ID
Registered: 2012-09-18
Posts: 13

systemd sessions, alsa and su


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)


#2 2012-11-21 21:28:27

From: Istanbul
Registered: 2010-09-22
Posts: 15

Re: systemd sessions, alsa and su

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 ...


Board footer

Powered by FluxBB