<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Documentation: section on module-native-protocol-unix should explain how cookie file is found"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=75298">75298</a>
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>lennart@poettering.net
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Documentation: section on module-native-protocol-unix should explain how cookie file is found
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jonasthiem@googlemail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>misc
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>PulseAudio
          </td>
        </tr></table>
      <p>
        <div>
        <pre>There is a docs section for the module-native-protocol-unix module:

<a href="http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#index22h3">http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#index22h3</a>

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).

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?

I'm not really objecting to that process itself, but it would be really helpful
if this was actually documented in the section I linked. If it is already
documented elsewhere, please add a helpful reference to the section I linked so
people can find out where their auth cookie file is actually located, and why.</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>