[X2Go-User] x2go disconnect timeout
Ulrich Sibiller
uli42 at gmx.de
Mon Feb 6 21:18:22 CET 2023
Hello Hanno,
X11 does not have a reconnect feature for clients. When the X server
dies, they die, too. So I am not really sure what you are describing
by "reconnect". In case you close your laptop the network connection
will go down. The x2goagent will notice after some time that the other
side (the laptop) is not answering/sending data anymore and will
detect a DISPLAY failure (since the remote X server is not available
anymore) and suspend the session.
If you have configured sleep=0 then your applications (meaning
Xclients running on the server side, connecting to the x2goagent) will
not notice any change as the x2goagent is still there, otherwise they
will be slowed down until x2goagent is woken up again by an x2goclient
that wants to connect.
I am not aware of an auto connect mechanism once the network is back
but on the other hand I am not deeply involved with the internals of
x2goclient and/or x2goserver.
Uli
On Mon, Feb 6, 2023 at 5:33 PM Hanno Foest <hurga-x2go at tigress.com> wrote:
>
> Hello,
>
> I'm running a few always connected GUI applications on a server in an
> x2go session. This usually works fine, especially when I manually
> disconnect x2goclient after work (I have set X2GO_NXOPTIONS="sleep=0" in
> x2goagent.options).
>
> But when the x2go connection fails unexpectedly, e.g. because of network
> issues, or because I suspend my laptop without disconnecting x2go first,
> my GUI applications get stalled until they disconnect most of the time.
> After 2 minutes or somesuch they reconnect and keep running. I guess
> this is because the x2go server session waits for the x2go client to
> come back, and only disconnects (and keeps running in the disconnected
> state) after some timeout.
>
> I would like to know if this timeout can be configured somewhere. I
> would prefer to have to reconnect my client more often, instead of
> having the mentioned GUI applications reconnect.
>
> Thanks in advance.
>
> Hanno
> _______________________________________________
> x2go-user mailing list
> x2go-user at lists.x2go.org
> https://lists.x2go.org/listinfo/x2go-user
More information about the x2go-user
mailing list