Thank you for the feedback.
I'm using X2Go in combination with a load balancer, which gives me information about the session processes (CPU used, memory, pids, etc). I can easily combine the information from x2golistsessions_root and the load balancer to determine if sessions are executing work in the background and thus avoid killing them.
Thank you and have a good day.
-----Original Message----- From: Robert Dinse [mailto:nanook@eskimo.com] Sent: Monday, August 21, 2017 10:52 AM To: Stefan Baur <X2Go-ML-1@baur-itcs.de> Cc: Ivan Gomez <igomez@zencos.com>; x2go-user@lists.x2go.org Subject: Re: [X2Go-User] Timeout user sessions
Until and unless someone invents psychic software...
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Mon, 21 Aug 2017, Stefan Baur wrote:
Date: Mon, 21 Aug 2017 16:20:34 +0200 From: Stefan Baur <X2Go-ML-1@baur-itcs.de> To: Ivan Gomez <igomez@zencos.com>, "x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org> Subject: Re: [X2Go-User] Timeout user sessions
Am 21.08.2017 um 16:05 schrieb Ivan Gomez:
Thank you for your feedback Stefan.
I understand your concern about terminating sessions when people are running tasks through screen or tmux. I would add a check to avoid killing these type of sessions.
No, you misunderstood what I said. Some people use X2Go sessions for having GUI apps run "detached" just like people use screen or tmux for running console apps "detached".
There is no easy way to determine whether a session is suspended because a user just forgot about it, or whether they intentionally disconnected from it, expecting the apps to continue to run.
-Stefan
-- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243