On Thu, 30 Jan 2003, leung said:

> Hi Peter,
>
> Currently I am using icewm as I am running
> my whole lab which consists of several Linux servers for
> web, router, ltsp server and about 26 terminals on
> a 10M bit network, icewm or something lighter is my only
> choice.
>
> Can you be a bit more specific so that I can include
> the "suicide" script in the shutting down process.

Since I'm using xdm, I put the call in /etc/X11/xdm/Xreset, which gets run
when the user logs out of the window mgr (KDE in my case, but it would
work the saem for xdm / gnome or xdm / icewm, etc.

At the end of /etc/X11/xdm/Xreset, I disabled the exec call to sessreg, so
that execution would return to the Xreset script after the call, then
added the call to the suicide script after that:

=================================================================
# Reset utmp, wtmp, and lastlog entries.
#
# exec ${BINDIR}/sessreg -l $LINE -h $LOCATION -d $USER
${BINDIR}/sessreg -l $LINE -h $LOCATION -d $USER
exec /usr/local/sbin/suicide
$xmessage -timeout 10 -default okay -center "$0: sessreg failed."
exit 1
=================================================================

Seems to work ok

----------------------------------------------------------------
John Karns                                        [EMAIL PROTECTED]



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_____________________________________________________________________
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