[K12OSN] RDP Client

Toshio Kuratomi a.badger at gmail.com
Wed Sep 13 21:09:25 UTC 2006


On Wed, 2006-09-13 at 14:57 -0400, Gideon Romm wrote:
> Hi, guys.  I just wanted to chime in on a few points, in case they are
> of any use.
> 
> 1.  The whole trick of using a dummy sound daemon is really to *make
> sure* that "esd" running on the client does not take control and keep
> control over /dev/dsp.  In update4 to LTSP (which may or may not have
> been folded into k12LTSP), I added the "-as 1" flag to esd in the
> rc.sound file, so that every 1 second, the daemon releases its control
> over the sound device.  In theory (since I have not thoroughly tested
> it), this should mean that even if esd is running, /dev/dsp will not be
> usurped by the daemon, so sound from rdesktop would work (ie without
> SOUND_DAEMON=rdp).  If someone wants to test the theory, it might save
> some headaches with symlinks and such.  Be sure to check the line in
> rc.sound for esd to see if it has that "-as 1" flag:  
> grep esd /opt/ltsp/i386/etc/rc.sound
> 
Doesn't look like it made it in:
  K12LTSP release 5.0.0-0d

/opt/ltsp/i386/etc/rc.sound:
  export ESD_SPAWN_OPTIONS="-public"
  /bin/esd -nobeeps -tcp -port 16001 &

> 2.  If you want Linux sound *and* Windows sound, I have had some limited
> testing success with launching rdesktop from the Linux server wrapped in
> esddsp:  esddsp rdesktop .....
> I don't know how well this works with lots of simultaneous users, but it
> tested ok for limited use.

> 3.  Another thing I did in LTSP update 4 was to neuter "esd"'s locking
> mechanisms, which were preventing second users of a single terminal to
> get sound.  So, I believe, if that has been folded into K12LTSP, flags
> like "-public" to esd have been rendered superfluous.
> 
Very cool.  One note -- last time I looked, esd had some silly logic
where having and empty ESD_SPAWN_OPTIONS led to esd using "-terminate"
as a default so we probably want to continue filling that envvar.

Also, GNOME and Fedora are evaluating pulseaudio as a replacement for
esd so we might have to work out if any tricks are needed to make that
work.

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/k12osn/attachments/20060913/1615c53c/attachment.sig>


More information about the K12OSN mailing list