<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#c15">Comment # 15</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>You were right, Tanu. The error is due to the fact that pulseaudio didn't know
which display to use. The following two lines in .xinitrc work fine:

pactl upload-sample /usr/share/sounds/freedesktop/stereo/bell.oga x11-bell
pactl load-module module-x11-bell sample=x11-bell display=:0.0

It is pretty clear that the method of having the following lines

### Load something into the sample cache
load-sample-lazy x11-bell /usr/share/sounds/freedesktop/stereo/bell.oga
### Load X11 bell module
load-module module-x11-bell sample=x11-bell

uncommented in /etc/pulse/default.pa was supposed to work, since those lines
are provided by pulseaudio. Either pulseaudio should be modified so that
uncommenting those lines does work, or else those lines should be changed or
removed. Adding display=:0.0 to the arguments of module-x11-bell would work for
the vast majority of cases.</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>