Dear All:

I may have found some solutions for the Pulseaudio problems on Debian 7 
LTSP clients.  Several people on this list have posted about this with 
their solutions.  I found this to be very helpful and thanks to all that 
have posted here!

The main problem seems to be Pulseaudio is started in system mode and 
can easily crash or lock up in the default configuration.    The first 
part of the possible fix I am using comes from this list in a transcript 
of an IRC conversation with "Ford_Prefect".  It suggests the problem 
lies in a module that isn't loaded by default (module-suspend-on-idle).  
In the chroot, I edited this file:

/usr/share/ltsp/ltsp-init-common

I added the line:

-L module-suspend-on-idle \

directly before the "-n &" line.  This seemed to help a lot!

I have some 64 bit clients (running Debian AMD64) that were not starting 
Pulseaudio.  I don't know if this is a timing bug or if 32 bit clients 
don't have this problem.  After using strace on the pulseaudio startup 
code in this same file, I found out that Pulseaudio startup seems to 
crash when it tries to open "/var/lib/pulse".  My fix was to put these 
two lines:

/bin/rm -rf /var/lib/pulse

sleep 2

into the ltsp-init-common file right before the line  that sets the 
"PULSE_DETECT" variable.  This seems to have fixed the problem.  On 
startup, Pulseaudio recreates this directory if it doesn't exist.

These two patches seem to have helped my Debian 7 LTSP clients.

Thanks,

Tom Wallis
Wichita State University
Department of Mathematics, Statistics and Physics


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to