Your message dated Sun, 24 May 2009 22:02:53 +0100
with message-id <20090524210253.ga1...@night.luon.net>
and subject line Re: Bug#513673: /usr/bin/start-pulseaudio-x11 fails to work 
since pactl cannot locate the server...
has caused the Debian Bug report #513673,
regarding /usr/bin/start-pulseaudio-x11 fails to work since pactl cannot locate 
the server...
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
513673: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513673
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: pulseaudio
Version: 0.9.13-2
Severity: important

(this refers to the version of pulseaudio in experimental)

The script /usr/bin/start-pulseaudio-x11 is designed to start PulseAudio under 
an X
session, and is invoked with an xdg startup item among other things.  This, 
sadly,
doesn't actually work as desired:

The script starts the pulseaudio server with 'pulseaudio --start', then checks 
if
$DISPLAY is set.  When it is the following is invoked:

    /usr/bin/pactl load-module module-x11-publish "display=$DISPLAY"

Unfortunately, pactl cannot locate the pulseaudio server: it tries 
/tmp/pulse-daniel
and the system-wide instance, but not the ~/.pulse/<hostid>:runtime link.

This means that the x11 publishing module is not loaded successfully, which the
script ignores.  The same is true of the X session manager item that is loaded 
next.


I was able to address this by editing /etc/pulse/default.pa to set the 
following:

.nofail
load-module module-x11-xsmp
load-module module-x11-publish
.fail

That unconditionally tries to load the relevant modules, which fixes the 
problem:

pulseaudio --start now loads module-x11-publish
module-x11-publish adds properties to the X root window with the hostid server 
address
pactl uses those properties to issue the command to the server


I don't know if the fault like in pactl (which, frankly, I think it does) or in 
the 
system configuration, but either way it doesn't work correctly at present, 
resulting
in the script failing to register as an X11 PulseAudio server correctly.

Regards,
        Daniel

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pulseaudio depends on:
ii  adduser                       3.110      add and remove users and groups
ii  consolekit                    0.2.10-5   framework for defining and trackin
ii  libasound2                    1.0.18-1   shared library for ALSA applicatio
ii  libasyncns0                   0.3-1      Asyncronous name service query lib
ii  libbluetooth2                 3.36-1     Library to use the BlueZ Linux Blu
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  libcap1                       1:1.10-14  support for getting/setting POSIX.
ii  libdbus-1-3                   1.2.1-5    simple interprocess messaging syst
ii  libflac8                      1.2.1-1.2  Free Lossless Audio Codec - runtim
ii  libgdbm3                      1.8.3-4    GNU dbm database routines (runtime
ii  libltdl3                      1.5.26-4   A system independent dlopen wrappe
ii  libogg0                       1.1.3-4    Ogg Bitstream Library
ii  liboil0.3                     0.3.15-1   Library of Optimized Inner Loops
ii  libpolkit-dbus2               0.9-2      library for accessing PolicyKit vi
ii  libpolkit2                    0.9-2      library for accessing PolicyKit
ii  libpulsecore8                 0.9.13-2   PulseAudio sound server core
ii  libsamplerate0                0.1.4-1    audio rate conversion library
ii  libsndfile1                   1.0.17-4   Library for reading/writing audio 
ii  libspeexdsp1                  1.2~rc1-1  The Speex extended runtime library
ii  libwrap0                      7.6.q-16   Wietse Venema's TCP wrappers libra
ii  lsb-base                      3.2-20     Linux Standard Base 3.2 init scrip

Versions of packages pulseaudio recommends:
ii  gstreamer0.10-pulseaudio      0.9.7-2    GStreamer plugin for PulseAudio
ii  libasound2-plugins            1.0.18-2   ALSA library additional plugins
ii  padevchooser                  0.9.3-2    PulseAudio Device Chooser
ii  paprefs                       0.9.6-2    PulseAudio Preferences
ii  pulseaudio-esound-compat      0.9.13-2   PulseAudio ESD compatibility layer
ii  pulseaudio-module-hal         0.9.13-2   HAL device detection module for Pu
ii  pulseaudio-module-x11         0.9.13-2   X11 module for PulseAudio sound se

Versions of packages pulseaudio suggests:
ii  paman                         0.9.4-1    PulseAudio Manager
ii  pavucontrol                   0.9.7-1    PulseAudio Volume Control
ii  pavumeter                     0.9.3-1    PulseAudio Volume Meter
ii  pulseaudio-utils              0.9.13-2   Command line tools for the PulseAu

-- no debconf information



--- End Message ---
--- Begin Message ---
On Sat, Jan 31, 2009 at 07:29:19PM +1100, Daniel Pittman wrote:
> Package: pulseaudio
> Version: 0.9.13-2
> Severity: important
> 
> (this refers to the version of pulseaudio in experimental)
> 
> The script /usr/bin/start-pulseaudio-x11 is designed to start PulseAudio
> under an X session, and is invoked with an xdg startup item among other
> things.  This, sadly, doesn't actually work as desired:
> 
> The script starts the pulseaudio server with 'pulseaudio --start', then
> checks if $DISPLAY is set.  When it is the following is invoked:
> 
>     /usr/bin/pactl load-module module-x11-publish "display=$DISPLAY"
> 
> Unfortunately, pactl cannot locate the pulseaudio server: it tries
> /tmp/pulse-daniel and the system-wide instance, but not the
> ~/.pulse/<hostid>:runtime link.

Afaik this is fixed, closing the bug. If it still happens in current pulseaudio
versions then please re-open.

  Sjoerd
-- 
"There are three principal ways to lose money: wine, women, and engineers.
While the first two are more pleasant, the third is by far the more certain."
                -- Baron Rothschild, ca. 1800


--- End Message ---
_______________________________________________
Pkg-pulseaudio-devel mailing list
Pkg-pulseaudio-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-pulseaudio-devel

Reply via email to