Hi John, What kind of "cleanup" do you mean?
Maybe you're looking for this: https://help.ubuntu.com/community/UbuntuLTSP/GnomeWatchdog Cheers, Jordan/Lns john wrote: > Hi all, > > Surely somebody on the dev list must have an answer or at least a > pointer. How does X do cleanup when the user logs off? Could a script > be called from there? Or from the ssh process the user logs in under? > I really want to figure this out, I hope somebody can help. > > Thanks! > > John > > On Wed, Jan 21, 2009 at 1:57 PM, john <lists.j...@gmail.com> wrote: > >> 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! >> >> Thanks! >> >> John >> >> On Sat, Jan 17, 2009 at 4:05 PM, Joshua Higgins >> <joshigg...@googlemail.com> 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.j...@gmail.com> >>> >>>> 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@lists.ubuntu.com >>>> Modify settings or unsubscribe at: >>>> https://lists.ubuntu.com/mailman/listinfo/edubuntu-devel >>>> >>> >>> -- >>> joshua higgins >>> >>>>>>>>> ------ >>>>>>>>> > > -- Jordan Erickson Owner, Logical Networking Solutions http://www.logicalnetworking.net 707-636-5678 Latest LNS Blogs - http://blogs.logicalnetworking.net Koobface' Virus Spreading Through Facebook Microsoft launched public test version of the new Windows 7 Intel and HP team up to roll out Green PCs for the enterprise -- edubuntu-devel mailing list edubuntu-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-devel