I also considered this. CPU/memory etc. utilization for GUI programs is
not a very unreliable indicator. Most elegant solution would be to send
the user an email like "please login or your session will be closed at
18:00 tomorrow" (possibly in combination with some ~/dontkillme file).
It may also teach users to pre-emptively close unused sessions to avoid
unwanted emails. I did not implement it for sessions (no pressing need),
but something similar works quite well for kernel updates here.
--
With Best Regards,
Marat Khalili
_______________________________________________
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user