On 2015-01-22, Helmut Lichtenberg wrote: > Jakub Stoppa schrieb am 22.01.2015 17:30: >> Another question, where do I put logout scripts? > > If you use bash aus your user's shell read 'man bash': > > /etc/bash.bash.logout > The systemwide login shell cleanup file, executed when a login shell exits > ~/.bash_logout > The individual login shell cleanup file, executed when a login shell exits
That's only for running bash as your login shell, LDM doesn't necessarily call bash as a login shell. You can run LDM hooks on logout in /usr/share/ldm/rc.d/KXX-* (where XX is a number between 00 and 99), but the ssh tunnel to the server may not be available at that point. There are numerous hooks run at various phases in /usr/share/ldm/rc.d/, /usr/share/ltsp/screen-session.d and /usr/share/ltsp/xinitrc.d/ ... but it is admittedly underdocumented and a bit of a maze of options... live well, vagrant
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet
_____________________________________________________________________ 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