<div dir="ltr">There is also the issue that and x2go login sets "linger" mode:<div><br></div><div>loginctl enable-linger</div><div><br></div><div>If this is needed (linger needs to be enabled), it would be good if x2go did a:</div><div><br></div><div>loginctl disable-linger</div><div><br></div><div>on log out.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 11 Aug 2021 at 21:02, Ulrich Sibiller <<a href="mailto:uli42@gmx.de">uli42@gmx.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Aug 11, 2021 at 11:57 AM Mike Gabriel<br>
<<a href="mailto:mike.gabriel@das-netzwerkteam.de" target="_blank">mike.gabriel@das-netzwerkteam.de</a>> wrote:<br>
> > Probably it would be best to use dbus for session termination if it<br>
> > is running.<br>
><br>
> This could be one puzzle piece, indeed. Basically, we can kill<br>
> x2goruncommand and then the session manager would automatically go<br>
> into logout.<br>
><br>
> However, esp. the GTK desktops (MATE, XFCE, etc.) leave many stray<br>
> processes around (e.g. gvfsd, colord, etc.). For these friends, some<br>
> more intelligence is required. Might have that in the X2Go Server<br>
> renicer code already, because Lee at those early times worked on code<br>
> that detects the complete process tree of a running desktop session.<br>
><br>
> Nowadays, one could argue that cgroups are another and better<br>
> alternative. But cgroups are not available on non-Linux, so maybe a<br>
> kernel-agnostic approach is a more favourable way to go?<br>
<br>
Yes, I absolutely vote for cgroups. Other systems probably have<br>
similar approaches but for Linux cgroups is the way to go, IMO.<br>
<br>
Uli<br>
_______________________________________________<br>
x2go-dev mailing list<br>
<a href="mailto:x2go-dev@lists.x2go.org" target="_blank">x2go-dev@lists.x2go.org</a><br>
<a href="https://lists.x2go.org/listinfo/x2go-dev" rel="noreferrer" target="_blank">https://lists.x2go.org/listinfo/x2go-dev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Norman Gaywood, Computer Systems Officer</div><div>School of Science and Technology<br>University of New England</div><div>Armidale NSW 2351, Australia<br><br><a href="mailto:ngaywood@une.edu.au" target="_blank">ngaywood@une.edu.au</a> <a href="http://turing.une.edu.au/~ngaywood" target="_blank">http://turing.une.edu.au/~ngaywood</a></div><div>Phone: +61 (0)2 6773 2412 Mobile: +61 (0)4 7862 0062<br><br>Please avoid sending me Word or Power Point attachments.<br>See <a href="http://www.gnu.org/philosophy/no-word-attachments.html" target="_blank">http://www.gnu.org/philosophy/no-word-attachments.html</a><br></div></div></div>