On Thu, Jul 15, 2021 at 9:33 AM <ovt@zaokknm.ru> wrote:
On x2gothinclients, the x session crashes randomly. Unexpectedly, a screen crashes on tty1, from which it is impossible to access the x-session x2gothinclient. In this case, the session on the server exists and you can connect via x2gosharingdesktop. It is impossible to find a pattern - this happens in the absence of actions and (or) when working in any program.
Decision: Experimentally, I found out the reason for the loss of the display in the x-session.
Increasing the poll up to 3 seconds in the file /opt/x2gothinclient/chroot/usr/sbin/x2gothinclientd in the block: Elsif ($ pid == 0) - line 87
Replace: while (sleep 1) -line 96 On: while (sleep 3)
Solved the problem.
I don't know that part of x2go. What is polled there? Why does INCREASING the delay help?
Uli