[pulseaudio-discuss] how to Start a pulseaudio application as a daemon with systemd

Alex ARNAUD alexarnaud at hypra.fr
Tue May 8 18:46:21 UTC 2018


Le 08/05/2018 à 19:50, Christophe Lohr a écrit :
> Hi,

Hi Christophe,

> If I understand well, the pulseaudio client library doesn't find how to
> reach the pulseaudio server, isn't it?
> How to fix this?

As I understand is: if you've no user session launched with X11 
PulseAudio can't start because D-BUS services require to be 
authenticated. One of the way to authenticate with D-BUS is to use the 
X11 cookie.

> Shall I start a pulseaudio server dedicated to the foobar user (the one
> who start my foobar daemon)?
> Or a "system" pulseaudio server?

Indeed, you should run PulseAudio system-wide.

Best regards,
Alex.


More information about the pulseaudio-discuss mailing list