I am trying to get sound working on an LTSP installation using Debian unstable 
& Gnome 2.4.  My problem is that I cannot pass the LD_PRELOAD environment 
variable  to the Gnome GUI.

Note: Sound works correctly if I launch the application from an Xterm window, 
where LD_PRELOAD is not null.

I know that the following script is called from gdm when the user logs in:

        /etc/X11/gdm/Sessions/Gnome

In that script I placed my call to ". /etc/sysprofile" which in turn calls 
"/etc/sysprofile.d/ltsp-sound.bash".

At the end of "/etc/X11/gdm/Sessions/Gnome" is a call to the binary 
executable:

        exec /usr/bin/gnome-session --purge-delay=15000

It appears that this executable discards the LD_PRELOAD environment variable.  
Am I right?  Has anyone else encountered this problem? Is there a workaround?

Thanks

JDR

-- 
=============================================================
John D. Robertson, Computer / Engineering Consultant
Robertson & Robertson Consultants, Inc.
3637 West Georgia Rd.
Pelzer, SC  29669

Phone: (864) 243-2436
  Fax: (864) 243-3023
Email: [EMAIL PROTECTED]
  WWW: http://www.rrci.com



-------------------------------------------------------
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8

_____________________________________________________________________
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