[pulseaudio-discuss] Using PULSE_SINK and PULSE_SOURCE

Alexander Todorov atodorov at otb.bg
Wed Sep 15 10:40:03 PDT 2010


Colin Guthrie wrote:
>> So my question is:
>> 1) How can I configure different sound cards to be used by different users? The
>> envs above look like the correct answer.
> 
> No, I think you're on the wrong track here.
> 
> You should really be looking at udev permissions and ACLs. These are
> much lower level than PulseAudio but PA will honour the details given to it.
> 
> Ultimately, in order for a user to be allowed to use a sound card, they
> must have r/w permission on the relevant device nodes in /dev/snd/. This
> is generally acheived by a bit of software called Console Kit that
> "registers" user logins and such like. Only one user at a time can be
> "Active" on any given seat. With two seats two users can be active.
> 

All users are in the audio group so r+w permissions are OK. I agree that I need
to explore ConsoleKit. Do you have any useful pointers for setting CK ACL's
otherwise I'll go read the docs.

Thanks,
Alexander.



More information about the pulseaudio-discuss mailing list