PDA

View Full Version : [ubuntu] Systemwide pulseaudio daemon on multiseat system



guus123
March 28th, 2009, 06:47 AM
Hi everybody.

We (my wife and I) have a multiseat system and therefore chose to use a single pulseaudio daemon instead of one per logged in user. We are sitting next to each other, between the surround speakers and there's no point in having separate sound.

Starting the sound deamon at system startup is no problem. What I'm missing though is a good way to NOT start a separate pulseaudio during login.

The first one of us that uses sound will grab the device so the other two daemons (systemwide and other user) are cut off. What I want is to avoid starting the user daemons and have the configuration point to the "Default" default server (Pulseaudio applet).

I'm quite sure I'm missing something obvious so I hope somebody can point it out to me.


TIA, Guus

barshociaj
April 30th, 2009, 08:07 PM
I only need these to get what you are asking for:

/etc/pulse/daemon.conf:

daemonize = yes
system-instance = yes


/etc/default/pulseaudio:

PULSEAUDIO_SYSTEM_START=1

Despot
August 3rd, 2009, 10:55 PM
This probably won't affect the majority of users, but I found that to make this change, you must ensure that the users that need access to the sound system must be part of the "pulse" and "pulse-access" groups. Membership in these groups does not appear to be necessary when PulseAudio is run in per-user mode.

skliarie
August 5th, 2009, 05:10 PM
Instead of creating ad-hoc solution for the audio on multiseat systems, the solution should be flexible enough so it can serve thin X-servers with audio cards as well.

X11 Audio [X11 Audio Extension (http://www.chaoticmind.net/~hcb/murx/xaudio/) appears to be fitting for a general solution for audio on multiseat systems.

skliarie
August 5th, 2009, 05:25 PM
Hmm, looks like the X11 Audio is not welcome in ubuntu:
http://brainstorm.ubuntu.com/idea/14814/

So, what solution does pulseaudio provides us?

jd'
May 25th, 2010, 02:00 PM
I've set up something rather neat on several jaunty boxes :
http://disjunkt.com/jd/2010/en/multiseat-linux/multiseat-linux-system-wide-pulseaudio-for-routing-sounds-109/
one of them even routes the sound on different channels according to the seat used ...
no more fight for the sound !