Re: Run commands at logout of Gnome Session

Alkis Georgopoulos <[email protected]> Wed, 20 Mar 2019 20:05:40 +0200
Newsgroups gmane.linux.terminal-server.general
Message-ID <[email protected]>
In the following message:
https://sourceforge.net/p/ltsp/mailman/message/27814821/

I describe how to create guest accounts, by deleting all files under 
/home/username on login.

Change it a bit to only delete ~/.cache.

Στις 20/3/19 6:50 μ.μ., ο Vinícius Ferrão via Ltsp-discuss έγραψε:
> Hello,
> 
> I’ve a problem with users filling it’s home directory due to the .cache directory, and then being blocked by quota problems.
> 
> I was thinking in some handle to rm -rf ~/.cache after every logout in GNOME of a given user.
> 
> But in LTSP theres no /etc/gdm/PostSession/Default file.
> 
> There’s any way to handle this? I’m aware that LTSP does not use GDM, so it’s why the file does not exists.
> 
> Thanks,
> 


_____________________________________________________________________
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