On Wed, Aug 11, 2021 at 11:57 AM Mike Gabriel <mike.gabr...@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@lists.x2go.org https://lists.x2go.org/listinfo/x2go-dev