Am Sonntag, 5. Oktober 2003 02:54 schrieb [EMAIL PROTECTED]:
> It's NOT ltsp's fault.  IT's  GDM that is buggy and doesn't kill
> processes when the user disconnects.
>

Perhaps following script is a workaround - it kills all applications after the 
user loged out.

Create following file: /usr/bin/suicide: (chmod 755)

#!/bin/sh
#Suicide!
#this is GPL software, read the license at www.gnu.org
#by Carlos Urbieta Cabrera
#a change suggested by John et al
if [ $USER != root ]; then
  kill -9 `ps aux | grep $USER | awk '{print $2}'`
fi

Add following line with suicide in the file /etc/X11/xdm/Xreset (that's in 
SuSE in other distris it might be similar):

...
#
case "$DISPLAY" in
    :0|:0.0)
        # Only for display :0  we have to reset the owner ship and
        # permissions of the /dev/xconsole FIFO and the current
        # virtual console /dev/tty0.

        ${XDMDIR}/TakeDevices

        # Shut down xconsole started in Xsetup for display :0
        /sbin/killproc    $xconsole
        /usr/bin/suicide
        ;;
    *)
esac


-- 
Viele Grüße                           (o_               (o_   
Dieter                                //>   (o_   (o_   //\   
http://www.linux-in-der-schule.de     V_)_  (/)_  (\)_  V_/_ 

     
       
  
     



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_____________________________________________________________________
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