On Tuesday 17 Jun 2008, Chris Roberts wrote:
> N.B. This thread relates to sound via a standard LTSP session, i.e. we are
> not using an rdesktop screen script.
>
> Since our upgrade to LTSP5, sound from our rdesktop sessions has stopped
> working.  Worse, it bombs users out of their Windows session with the
> error:
>
>   rdesktop: pcm_params.c:2351: sndrv_pcm_hw_params: Assertion `err >= 0' \
>     failed.
>   Aborted
>
> Under 4.2 it was working beautifully simply by prefixing rdesktop with
> esddsp, e.g...
>
>   $ esddsp rdesktop -r sound:local 192.168.0.1
>
> ... but removing esddsp or replacing with padsp causes exactly the same
> error message.  I suspect with alsa the esddsp/padsp fix is no longer
> required, but why does it not work?
>
> I have even tried pointing padsp at the client pulseaudio device...
>
>   $ padsp -d -s 192.168.0.41:4713 -n rdesktop rdesktop -r sound:local \
>     192.168.0.1
>
> Does anyone have a view on this?  Does anyone have sound in LTSP5 from a
> Windows terminal server, and if so how?
>
> Thanks!

With #ltsp help, I have identified that this problem is not unique to 
rdesktop, but general to padsp.  If, for example I run...

  $ padsp speaker-test

It fails just the same as above.  Indeed, if I specify oss as the local sound 
driver...

  $ padsp rdesktop -r sound:local:oss SERVERIP

...sound works fine, but if leave "oss" out, or specify "alsa", then it bombs 
out.

Clearly alsa is the problem, and yet I know alsa is installed and working, 
because that's what's set in my KDE control panel, and my sound is working 
just fine in Linux.

I am thoroughly confused and hopeful that this will all make sense to someone, 
if not to me.

Thanks.

-- 
Chris Roberts

LTSP Version    : 5.1.3-1
Distribution    : Debian Etch
Windows Manager : KDE 3.5

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_____________________________________________________________________
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