[pulseaudio-discuss] [PATCH v2] core-util: Fail if XDG_RUNTIME_DIR belongs to someone else

Glenn Golden gdg at zplane.com
Mon Sep 8 05:17:15 PDT 2014


Tanu,

This isn't directly releated to this thread, but something that David mentioned
here worries me vis a vis our ongoing discssions about "which server are we
talking to?":

David Henningsson <david.henningsson at canonical.com> [2014-09-08 13:32:45 +0200]:
>
> Usually, PA will use the PULSE_SERVER X11 property instead of using
> XDG_RUNTIME_DIR, so this environment variable does not matter.
> 

This X11 PULSE_SERVER property hasn't been mentined before in our discussions
on the Travis Bickle question.  It seems to add a new wrinkle.  How does this
property fit in to the big picture of server determination?  From what David
said above, it sounds like the PULSE_SERVER property has priority over the
XDG_RUNTIME_DIR envar...(????)

Also: In an earlier post you obliquely referred to envar PULSE_RUNTIME_PATH:

>
> # ...but setting PULSE_RUNTIME_PATH achieves pretty much the same thing.
>

That envar isn't mentioned in the ENVIRONMENT section of pulseaudio.1 at all.
>From it's name I can of course guess its semantics, but the point is... Wow,
this is getting awfully complicated!! Is there a whitepaper or anything of
that sort which lays out all the determining factors behind server association?


More information about the pulseaudio-discuss mailing list