[pulseaudio-discuss] System wide simultaneously multi user audio not working

Markus markus at eserver.homelinux.org
Tue Mar 19 00:40:33 UTC 2019

Hi Pulseaudio-list

I would like to simultaniously use the same audio device from two
simultaniously logged in users on the same machine by using the system
wide setup. I know about the security shortcomings.

After configuring, the process list shows that the pulseaudio process
only runs system wide as "pulse" user now. And the users don't spawn
their own process. So it looks fine and the audio works. The volume
status is shared too :-)

But as soon as I switch to another x11 console with a different user,
then the audio from the other console stops working, even despite using
this system wide setup.

Question: Is there anything more I can do? For example from a
ConsoleKit/systemd/hal/udev perspecitve?

I need the x11 sessions so not prevent the other sessions to play audio.
because I assume, the pulseaudio server should be ready to use for all
of the users...

The users are in the pulse-access group as needed. As a test, I also
tried to put the users into the audio group, although I thought it
should not be necessary. Didn't work.

Linux intel 4.18.0-16-generic
Ubuntu 18.10
pulseaudio 12.2

Pulseaudio is started by:
/usr/bin/pulseaudio --daemonize=no --system --disallow-exit
--disallow-module-loading --realtime --log-target=journal

I would be glad for any tips. I tried for hours and hours...
I slowly starting considering buying a second computer for background
playback stuff and mix the streams by hardware...


More information about the pulseaudio-discuss mailing list