[pulseaudio-tickets] [Bug 75006] neither XDG_CONFIG_HOME or PULSE_COOKIE is respected

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 11 20:22:50 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=75006

--- Comment #18 from Michael DePaulo <mikedep333 at gmail.com> ---
@Tanu, please hold off on committing the 9 patches for now.

Currently we (x2goclient master branch) are telling pulseaudio win32 to load a
config.pa script with the following lines (the only thing that ever varies is
the port):
load-module module-native-protocol-tcp port=4713 auth-cookie=\.pulse-cookie
load-module module-esound-protocol-tcp port=4714
load-module module-waveout

And we have %USERPROFILE% set to a value such as:
C:\Users\MIKE~1.DEP\X2GO~1\pulse

We have neither XDG_CONFIG_HOME or PULSE_COOKIE set.

With 5.0-121-g38c5d without the 9 patches applied, the following intended
cookie is used, and X2Go Client works with PulseAudio:
C:\Users\mike.DEPAULO\.x2go\pulse\.pulse-cookie
debug log: http://pastebin.com/ptFAwJQ6

When I apply all 9 patches (5.0-121-g38c5d-dirty), that cookie is not used.
Instead, the following cookie is created (and presumably used):
C:\Users\mike.DEPAULO\.x2go\pulse\.config\pulse
debug log: http://pastebin.com/Y2Ke2rk7
Since we copy the other cookie to the X2Go Server, audio does not work.

I will try to fix this compatibility issue by defining %PULSE_COOKIE% and/or
%XDG_CONFIG_HOME% in the x2goclient master branch code that launches (and sets
the environment for) pulseaudio.exe. I'll let you know how it goes.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20140612/2d87416f/attachment.html>


More information about the pulseaudio-bugs mailing list