Lucas wrote:
> Hello,
> I need to have sound on the client using LTSP 4.2 with KDE 3.5
>
> My OS is Debian 4.0
>
> I installed three scripts:
>
> 1) ltsp-sound-1.0-0.2 for redirect audio stream to the terminal
>
> 2) LTSP-esd-alsa_1.0.0-2 for use ALSA drivers
>
> 3) I put soundstart.sh script in $home/.kde/env how described in the wiki
>
> When the client boots, it downloads the kernel and shows some 
> information like "running sound server" and "accepting connection on 
> port 16001"
>
> After this it starts KDM and, after login, KDE.
>
> If I open a shell window and run esdplay, sound is present.
>
> But now I want sound in KDE, like "welcome" sound.
>
> I verified the OSS-> esd redirecton but it doesn't work (I don't have 
> the LD_PRELOAD set on the client, the command echo $LD_PRELOAD returns a 
> blank line and
>
> I am not able to set it because the command export LD_PRELOAD in scripts 
> doesn't work)
>
> But I have the doubt that esd server is in conflict with ALSA.
>
> How can I configure the system and KDE to solve the problem (using alsa) ?
>
> Thank in advance
>
> Lucas
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _____________________________________________________________________
> 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
>
>
>   
I've double checked this all and I've found (not deeply) what is 
happening here.

The problem is with the LD_PRELOAD environment variable. By some reason, 
it now does not work as it used to do. It probably relates to security 
problems, since attacking LD_PRELOAD can give you absolute control of a 
system.

The main fact is that a user can change LD_PRELOAD by hand, but it does 
not work when run from a script.

I'll check around to see if that is a configurable behaviour. If not, 
the whole KDE sound system will stop working for LTSP.

Noel
er Envite

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_____________________________________________________________________
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