[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ltsp-discuss
Subject:    Re: [Ltsp-discuss] Run commands at logout of Gnome Session
From:       Dashamir Hoxha <dashohoxha () gmail ! com>
Date:       2019-03-20 21:10:06
Message-ID: CAMucfLwuk6Cou3mviHFTkoXfTZXQwo03vZC1k21CRQFyaU+S=g () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Wed, 20 Mar 2019, 18:26 Vinícius Ferrão via Ltsp-discuss, <
ltsp-discuss@lists.sourceforge.net> 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
>

[Attachment #5 (text/html)]

<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On \
Wed, 20 Mar 2019, 18:26 Vinícius Ferrão via Ltsp-discuss, &lt;<a \
href="mailto:ltsp-discuss@lists.sourceforge.net">ltsp-discuss@lists.sourceforge.net</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br> <br>
I've a problem with users filling it's home directory due to the .cache directory, \
and then being blocked by quota problems.<br> <br>
I was thinking in some handle to rm -rf ~/.cache after every logout in GNOME of a \
given user.<br> <br>
But in LTSP theres no /etc/gdm/PostSession/Default file.<br>
<br>
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.<br></blockquote></div></div><div dir="auto"><br></div><div \
dir="auto">Another option might be to use a cron job, for example nightly.</div><div \
dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> <br>
Thanks,<br>
<br>
<br>
_____________________________________________________________________<br>
Ltsp-discuss mailing list.     To un-subscribe, or change prefs, goto:<br>
         <a href="https://lists.sourceforge.net/lists/listinfo/ltsp-discuss" \
rel="noreferrer noreferrer" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/ltsp-discuss</a><br> For \
additional LTSP help,     try #ltsp channel on <a href="http://irc.freenode.net" \
rel="noreferrer noreferrer" target="_blank">irc.freenode.net</a><br> \
</blockquote></div></div></div>





_____________________________________________________________________
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic