Re: Run commands at logout of Gnome Session

Dashamir Hoxha <[email protected]> Wed, 20 Mar 2019 22:10:06 +0100
Newsgroups gmane.linux.terminal-server.general
Message-ID <CAMucfLwuk6Cou3mviHFTkoXfTZXQwo03vZC1k21CRQFyaU+S=g@mail.gmail.com>
On Wed, 20 Mar 2019, 18:26 Vinícius Ferrão via Ltsp-discuss, <
[email protected]> wrote:

> 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.
>

Another option might be to use a cron job, for example nightly.


> 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
>

_____________________________________________________________________
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