x2go session: window freezes by inactivity
Asked Answered
A

4

5

Good evening,

currently, I am working on a x2go-session which freezes after a certain amount of time. Only new starting then will help. My home laptop is a Mac OS Mojave 10.14.6 and I am connecting on a linux. My colleagues (probably all linux users) solved the problem by disabling the screensaver (settings and so on...) but for me it is not working.

Does anybody have the same issue? Any idea or solutions? I need to "keep the window" active to keep my calculations going (from the x2go session I connect via ssh to another server; that connection will close if the window freezes)

Thanks in advance, Elmo

Adriell answered 27/7, 2021 at 20:49 Comment(0)
O
3

Disable the screensaver, or ssh into the machine and kill the active screensaver process.

Find the screensaver PID with ps -aux | grep screensaver (second number of the row with 'xfce4-screensaver'), kill it with sudo kill -9 screensaverPID.

Odoacer answered 8/12, 2022 at 21:54 Comment(0)
S
2

On the server, in /etc/ssh/sshd_config try setting

TCPKeepAlive yes

ClientAliveInterval 30

I tried everything else I could find, screensaver settings, power options settings, etc. Nothing worked until I did this.

Smear answered 17/8, 2021 at 0:13 Comment(3)
Unfortunately, this did not work for me (on Ubuntu 20.04 + XFCE).Uptake
@Uptake did you find a solution to this? I also have this issue on Ubuntu 20.04 + XFCE.Gopherwood
@Gopherwood no...Uptake
N
2

Disabling screensaver on ubuntu 22.04 xfce4 didn't solve the problem. Removing xfce4-screensaver did: sudo apt-get remove xfce4-screensaver.
I also disabled display power management: Application > Settings > Power Manager > Display > Display power management

Nathanson answered 17/2, 2023 at 14:16 Comment(0)
Q
0

This method worked for me as it is stated earlier:

On the server, in /etc/ssh/sshd_config try setting (activate them):

TCPKeepAlive yes ClientAliveInterval 30
  • My client system: Mac os Ventura

  • The server that I was connecting: Ubuntu 20, XFCE

Also, it'd be harmless to deactivate the screen saver:

sudo apt-get remove xfce4-screensaver

Quarterback answered 14/7, 2023 at 12:40 Comment(1)
the readability would be improved by use code formatting ` ` `Composition

© 2022 - 2024 — McMap. All rights reserved.