[pulseaudio-discuss] Using PULSE_SINK and PULSE_SOURCE

Colin Guthrie gmane at colin.guthr.ie
Thu Sep 16 03:13:37 PDT 2010


'Twas brillig, and Alexander Todorov at 16/09/10 10:17 did gyre and gimble:
> Colin Guthrie wrote:
>> From the consolekit package these folders/file should be interesting:
>>
>> /etc/ConsoleKit/run-seat.d
>> /etc/ConsoleKit/run-session.d
>> /etc/ConsoleKit/seats.d
>> /etc/ConsoleKit/seats.d/00-primary.seat
>> /usr/lib/ConsoleKit/run-seat.d
>> /usr/lib/ConsoleKit/run-session.d
>>
>>
>>
>> So you would likely define your seats in the /etc/ConsoleKit/seats.d
>> folder by putting a file in there - e.g. "01-secondary.seat" or
>> something similar. What goes in that file I don't know.
>>
> 
> This is not ready yet. If you're interested see:
> https://bugs.freedesktop.org/show_bug.cgi?id=19333
> https://bugzilla.gnome.org/show_bug.cgi?id=536355
> 
> Because of that I'm using older GDM compiled on a new distro which has PA.
> Anyway, thanks for the hints, I'll follow up when I have made progress.

As a way to "hack" it for the time being, this may work for you.

This will only work if the same two users always login on the same seat?
e.g. Bob always sits at seat one and Mary always sits at seat two.

If that works, you can disable the udev rule that writes ACLs on the
sound nodes and instead write a static rule that makes the specific
device nodes owned by the specific users.

Once the above bugs are fixed, you can remove this hack and define the
seat properly :)

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mandriva Linux Contributor [http://www.mandriva.com/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]




More information about the pulseaudio-discuss mailing list