<div><div> </div><div>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.</div><div>It is impossible to find a pattern - this happens in the absence of actions and (or) when working in any program.</div></div><div> </div><div><div><div>Decision:</div><div>Experimentally, I found out the reason for the loss of the display in the x-session.</div><div> </div><div>Increasing the poll up to 3 seconds in the file /opt/x2gothinclient/chroot/usr/sbin/x2gothinclientd in the block:</div><div>Elsif ($ pid == 0) - line 87</div><div> </div><div>Replace: while (sleep 1) -line 96</div><div>On:         while (sleep 3)</div><div> </div><div>Solved the problem.</div></div></div>