<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Race condition involving module-x11-bell and socket activation"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93109#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Race condition involving module-x11-bell and socket activation"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93109">bug 93109</a>
from <span class="vcard"><a class="email" href="mailto:ewtoombs@uwaterloo.ca" title="Eric Toombs <ewtoombs@uwaterloo.ca>"> <span class="fn">Eric Toombs</span></a>
</span></b>
<pre>(In reply to Tanu Kaskinen from <a href="show_bug.cgi?id=93109#c5">comment #5</a>)
<span class="quote">> If pulseaudio is managed by systemd, others shouldn't try to start it.
>
> If you need to load module-x11-bell automatically when the X session starts,
> it should be sufficient to just load the module with pactl. The socket
> activation should ensure that pactl will be able talk to the server even if
> it's not running.</span >
I just tried that. I put this line
pactl load-module module-x11-bell sample=x11-bell
in my .xinitrc. It didn't work. The error messages about the socket are gone
now, though. Now, the first error is this:
Nov 26 15:07:27 lazarus pulseaudio[544]: E: [pulseaudio] x11wrap.c:
XOpenDisplay() failed
Nov 26 15:07:27 lazarus pulseaudio[544]: E: [pulseaudio] module.c: Failed to
load module "module-x11-bell" (argument: "sample=x11-bell"): initialization
failed.
Nov 26 15:07:27 lazarus slim[438]: Failure: Module initialization failed
I'm attaching the rest of the startup log.</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>