[K12OSN] rDesktop sound issues
Gideon Romm
ltsp at symbio-technologies.com
Fri Sep 23 13:58:16 UTC 2005
Burt, if you want sound through rdesktop, you will need to sacrifice
sound through Linux. It is one or the other. Here's why:
As you surmised, rdesktop thru esd does not work well. rdesktop needs
to write directly to /dev/dsp in order for sound to work properly. The
only way to do this, is to run rdesktop off the thin client AND not have
a sound daemon of any kind running of the thin client at the same time.
This is because any sound daemon (such as esd/nasd) will take control
of /dev/dsp and not allow rdesktop to write to it.
So, If you want sound from Windows on the thin client, you should do
something like this:
SCREEN_02 = "rdesktop -r sound:local 192.168.0.253"
SOUND = Y
SOUND_DAEMON = "rdp"
and on the WTS, uncheck "Disallow Audio mapping"
Now, you will have Windows sound on screen 2, but no linux sound.
Side note: SOUND_DAEMON = "rdp" will produce a warning when booting the
thin client that "rdp" is not a recognized daemon. This trick is used
to have the thin client load the sound modules, but not a daemon. If
SOUND_DAEMON is omitted, esd will run by default.
Cheers,
-Gadi
On Fri, 2005-09-23 at 01:07 -0700, Burt Adjoodani wrote:
> I have upgraded to ltsp 4.0 with the latest K12LTSP
> and am having a hard time with rdesktop and sound.
>
> Seems I also get slow sound issues through an X
> session.
>
> I ran knoppix directly from one of the diskless
> stations and the rdesktop session to a windows 2003
> terminal server (here after called w2k03) with sound
> sounded perfect!
>
> I had to do a an esd wrapper thing and rdesktop rdp5
> config, and change the w2k03 server to even get sound
> on an x session.
>
> SO I am on the opinion that :
>
> 1) linux x session
> &
> 2) rdesktop ltsp to w2k03 server
>
> piped through esd doesn't work.
> UNLESS some guru has a fix.
>
> But since knoppix works then maybe if I can get a
> local session of rdesktop "local application"
> directly from the diskless box to the w2k03 to work.
>
> I think I would also need to run sound locally too.
>
> SO big question how do I run sound and rdesktop
> locally? (not through ltsp session).
>
> I have been messing with ssh configs and have had
> sucess with uptime and other small apps.
>
> But this seems a LOT harder.
>
> I really don't want everybody to boot to a knoppix cd
> just to run decent sound and rdesktop from the w2k03
> server locally.
>
> btw the rest of ltsp 4.0 is just AWESOME!
>
>
> Burt
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
>
More information about the K12OSN
mailing list