Is there an equivelent to Xsession.d for logout?

john lists.john at
Wed Jan 21 21:57:55 UTC 2009

Thanks for the idea Joshua, that didn't work for me. Did you have to
rebuild your image first?

Can any developer shed some light on this? I have seen this feature
requested many times. If there is a way to do this I'd really
appreciate somebody piping up. If there isn't a way to do this I'd
like to make it a feature request!



On Sat, Jan 17, 2009 at 4:05 PM, Joshua Higgins
<joshiggins at> wrote:
> This might not be what your looking for, but whilst trying to get LDM to run
> a command before shutdown, I got it to run a command after each log off.
> Add your script in /opt/ltsp/i386/usr/share/ldm/rc.d/ and name it K##-script
> and it will run when the user logs off. This seems a little flakey on my
> system though, and I don't know which user the script is run as /
> environment variables that are set.
> It seems that this is not documented anywhere?
> 2009/1/17 john <lists.john at>
>> Hi all,
>> I use some scripts called from /etc/X11/Xsession.d to handle chores
>> when users log in. I'd like to be able to do some clean up when they
>> log off. Is there a place I can
>> call a log off script from that will run for all of my LTSP clients?
>> Thanks!
>> John
>> --
>> edubuntu-devel mailing list
>> edubuntu-devel at
>> Modify settings or unsubscribe at:
> --
> joshua higgins

More information about the edubuntu-devel mailing list