<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:tanuk@iki.fi" title="Tanu Kaskinen <tanuk@iki.fi>"> <span class="fn">Tanu Kaskinen</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Documentation: section on module-native-protocol-unix should explain how cookie file is found"
href="https://bugs.freedesktop.org/show_bug.cgi?id=75298">bug 75298</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Documentation: section on module-native-protocol-unix should explain how cookie file is found"
href="https://bugs.freedesktop.org/show_bug.cgi?id=75298#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Documentation: section on module-native-protocol-unix should explain how cookie file is found"
href="https://bugs.freedesktop.org/show_bug.cgi?id=75298">bug 75298</a>
from <span class="vcard"><a class="email" href="mailto:tanuk@iki.fi" title="Tanu Kaskinen <tanuk@iki.fi>"> <span class="fn">Tanu Kaskinen</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=75298#c0">comment #0</a>)
<span class="quote">> There is a docs section for the module-native-protocol-unix module:
>
> <a href="http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/">http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/</a>
> Modules/#index22h3
>
> It documents an auth cookie process which is apparently a file based
> authentication (it doesn't mention really what a cookie is for pulseaudio:
> it is some file with randomly generated stuff serving as a temporary login
> key file thing I suppose? It may be obvious to some, but to newcomers it
> could be helpful adding a line or two of explanation for that).</span >
Thanks for the suggestion, I now added a short explanation of the cookie file.
I'll close this bug, please reopen if you think the explanation should be more
elaborate.
<span class="quote">> It says the default location is ~/.pulse-cookie and there is an auth-cookie
> option to specify another location. Now, my default.pa doesn't use that
> option, so I naturally assumed it was in ~/.pulse-cookie. However, there is
> no such file.
>
> What happened? Apparently (I got this from some guy on IRC), pulseaudio uses
> some environment vars to determine it ends up in /run/user/1000 or something?</span >
It doesn't end up in the runtime directory (/run/user/1000), it ends up in the
configuration directory (~/.config/pulse) and the default file name is now
"cookie".</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>