[X2Go-Dev] Clean processes after x2goterminate-session

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Wed Aug 11 11:57:42 CEST 2021


On  Di 10 Aug 2021 18:10:41 CEST, Ulrich Sibiller 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?

Mike
-- 

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: Digitale PGP-Signatur
URL: <https://lists.x2go.org/pipermail/x2go-dev/attachments/20210811/e5b5aba2/attachment.sig>


More information about the x2go-dev mailing list