I'm having problems with using esd with multiple users. The first
person to login in the morning can use esd fine, however it won't work
for the second. I'm having to reset the daemon to get it working again
for then next user. This is running in an internet cafe with eight
different logins.
Any ideas?
>>In rc.local I added:
>>
>>LYD=`get_cfg LYD`
>>if [ "${LYD}" = "Y" ]; then
>> echo "Running Sound Server..."
>> /bin/esd -nobeeps -tcp -as 2 -public -port 5001 &
>> /usr/bin/aumix -v 100
>> /usr/bin/aumix -w 100
>>fi
>>
>>Then I copied the aumix and esd binaries from our server and into the
>>correct directories:
>>
>>#cp /usr/bin/esd /opt/ltsp/i386/bin/esd
>>#cp /usr/bin/aumix /opt/ltsp/i386/usr/bin/aumix
>>
>>(I am sure that esd could reside in /opt/ltsp/i386/usr/bin if you'd
>>like it to.)
>>
>>Also, you'll have to copy the libraries those programs need. To find
>>out which those are, run:
>>
>>#ldd `which aumix`
>>#ldd `which esd`
>>
>>Be sure to copy the libraries to the corresponding places in the
>>/opt/ltsp/i386/ directory. Example:
>>
>>On my system ldd `which aumix` yields (amongst others):
>>libgpm.so.1 => /usr/lib/libgpm.so.1 (0x4001a000)
>>libncurses.so.5 => /lib/libncurses.so.5 (0x40021000)
>>
>>So I copied /usr/lib/libgpm.so.1 to /opt/ltsp/i386/usr/lib and
>>/lib/libncurses.so.5 to opt/ltsp/i386/lib.
>>
>>(I also installed sox and play and their libraries, but I don't think
>>that's necessary.)
>>
>>Boot and logon the thin client. Set the environment variable ESPEAKER
>>like this in an xterm:
>>
>>$ESPEAKER=<hostname>:5001
>>$export ESPEAKER
>>
>><hostname> should be either the hostname of your thin client or its
>>IP-adress. You'll probably want to add this to your .bashrc or
>>perhaps .xinitrc. Also, to make it generic for all your thin clients
>>do some voodo with `who am i` and an regexp to get the thin client IP
>>or hostname. I'm sorry that I don't have that right now, but I
>>haven't done it yet :(
>>
>>Now, run a (sound) program that supports esd and it should be working
>>fine. If your program doesn't support esd, then run it with esddsp in
>>front like:
>>
>>$esddsp mpg123 mycoolsong.mp3
>>
>>WARNING: Volume may be very high!
>>
>>Caveats:
--
Rob Davis, at home, on the Linux Box...
_____________________________________________________________________
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.openprojects.net