[X2Go-Dev] Clean processes after x2goterminate-session

Norman Gaywood ngaywood at une.edu.au
Thu Aug 12 04:00:14 CEST 2021


There is also the issue that and x2go login sets "linger" mode:

loginctl enable-linger

If this is needed (linger needs to be enabled), it would be good if x2go
did a:

loginctl disable-linger

on log out.

On Wed, 11 Aug 2021 at 21:02, Ulrich Sibiller <uli42 at gmx.de> wrote:

> On Wed, Aug 11, 2021 at 11:57 AM Mike Gabriel
> <mike.gabriel at das-netzwerkteam.de> wrote:
> > > Probably it would be best to use dbus for session termination if it
> > > is running.
> >
> > This could be one puzzle piece, indeed. Basically, we can kill
> > x2goruncommand and then the session manager would automatically go
> > into logout.
> >
> > However, esp. the GTK desktops (MATE, XFCE, etc.) leave many stray
> > processes around (e.g. gvfsd, colord, etc.). For these friends, some
> > more intelligence is required. Might have that in the X2Go Server
> > renicer code already, because Lee at those early times worked on code
> > that detects the complete process tree of a running desktop session.
> >
> > Nowadays, one could argue that cgroups are another and better
> > alternative. But cgroups are not available on non-Linux, so maybe a
> > kernel-agnostic approach is a more favourable way to go?
>
> Yes, I absolutely vote for cgroups. Other systems probably have
> similar approaches but for Linux cgroups is the way to go, IMO.
>
> Uli
> _______________________________________________
> x2go-dev mailing list
> x2go-dev at lists.x2go.org
> https://lists.x2go.org/listinfo/x2go-dev
>


-- 
Norman Gaywood, Computer Systems Officer
School of Science and Technology
University of New England
Armidale NSW 2351, Australia

ngaywood at une.edu.au  http://turing.une.edu.au/~ngaywood
Phone: +61 (0)2 6773 2412  Mobile: +61 (0)4 7862 0062

Please avoid sending me Word or Power Point attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x2go.org/pipermail/x2go-dev/attachments/20210812/ff3e66bf/attachment.htm>


More information about the x2go-dev mailing list