[Pkg-ltsp-devel] Bug#537526: ltsp-client: remote sound using pulseaudio broken

Vagrant Cascadian vagrant at freegeek.org
Wed Jul 22 16:07:26 UTC 2009


On Sun, Jul 19, 2009 at 01:29:29AM -0700, Vagrant Cascadian wrote:
> the ltsp-client init scripts fail to start pulseaudio when run on squeeze. with
> the same versions of ltsp, it works fine on lenny. either something is broken
> in pulseaudio, or possibly one of the commandline options was dropped, causing
> the pulseaudio binary to fail to start...

this seems to be (at least partially) the same issue that fedora was facing:

  https://bugzilla.redhat.com/show_bug.cgi?id=486525 

pulseaudio apparently attempts to grab 64MB of ram, and fails if there's not
enough. adding "disable-shm = yes" and "shm-size-bytes 1048576" to the
/etc/pulse/daemon.conf appears to fix that.

additionally, newer versions of pulseaudio need write access to /var/lib/pulse,
which isn't writeable by default (it's not even present). should be easy enough
to add, either at boot time or in an ltsp-build-client plugin.

and if that wasn't enough, it appears that pulseaudio reads
/etc/default/system.pa, which attempts to load module-hal-detect by default and
other modules.  well, that causes it to fail to start. removing system.pa seems
to resolve the issue. not really sure how to cleanly handle that.

live well,
  vagrant





More information about the Pkg-ltsp-devel mailing list