I have been having intermittent problems with getting into x2go on RH6 machine. Recently, after update of x2go server and client, I am not having any success in connecting. I saw the same message before but I was able to connect after I tried multiple times (usually success rate about 10%).
The message is -
X2Go - 52
The connection with the remove server was shut down. Please check the state of your network connections.
I updated x2go server with version 4.1.0.0 using yum
Updated x2goserver-4.1.0.0-0.0x2go1.1.git20180302.1517.main.el6.x86_64 @x2go-release-epel
Update 4.1.0.2-0.0x2go1.1.git20180801.1642.main.el6.x86_64 @x2go-release-epel
Updated x2goserver-common-4.1.0.0-0.0x2go1.1.git20180302.1517.main.el6.x86_64 @x2go-release-epel
Update 4.1.0.2-0.0x2go1.1.git20180801.1642.main.el6.x86_64 @x2go-release-epel
Updated x2goserver-extensions-4.1.0.0-0.0x2go1.1.git20180302.1517.main.el6.x86_64 @x2go-release-epel
Update 4.1.0.2-0.0x2go1.1.git20180801.1642.main.el6.x86_64 @x2go-release-epel
Updated x2goserver-x2goagent-4.1.0.0-0.0x2go1.1.git20180302.1517.main.el6.x86_64 @x2go-release-epel
Update 4.1.0.2-0.0x2go1.1.git20180801.1642.main.el6.x86_64 @x2go-release-epel
Updated x2goserver-xsession-4.1.0.0-0.0x2go1.1.git20180302.1517.main.el6.x86_64 @x2go-release-epel
Update 4.1.0.2-0.0x2go1.1.git20180801.1642.main.el6.x86_64 @x2go-release-epel
The client is running on Windows 10. Version is 4.1.2.0.
The windows pop up for 1 or 2 seconds before closing with the error message. In my home directory, I see a dumped core.* and .xsessions error
> more .xsession-x2go-pleth01.plethrontech.com-errors
XSession-x2go: X session started for eminami at Thu Aug 23 12:39:34 EDT 2018
** (gnome-session:12939): WARNING **: Cannot open display:
In my /var/log/messages -
Aug 23 12:39:31 pleth01 /usr/bin/x2gostartagent: successfully started X2Go Agent session with ID eminami-52-1535042370_stDGNOME_dp32
Aug 23 12:39:34 pleth01 /usr/bin/x2goserver-run-extensions: /usr/lib64/x2go/extensions/pre-runcommand.d/005_GNOME-monitors-xml-ignore (x2goserver-run-extensions) for session eminami-52-1535042370_stDGNOME_dp32 returned a non-zero exit code, continuing...
Aug 23 12:39:34 pleth01 /usr/bin/x2goruncommand: launching session with Xsession-x2go mechanism, using STARTUP="/usr/bin/gnome-session"
Aug 23 12:39:34 pleth01 /usr/bin/x2goruncommand: dbus wrapper available as /bin/dbus-run-session
Aug 23 12:39:37 pleth01 /usr/bin/x2gosetkeyboard: Setting X keyboard according to /home/eminami/.x2go/C-eminami-52-1535042370_stDGNOME_dp32/keyboard
Aug 23 12:39:39 pleth01 abrt[12896]: Saved core dump of pid 12432 (/usr/bin/nxagent) to /var/spool/abrt/ccpp-2018-08-23-12:39:38-12432 (11898880 bytes)
Aug 23 12:39:39 pleth01 abrtd: Directory 'ccpp-2018-08-23-12:39:38-12432' creation detected
Aug 23 12:39:39 pleth01 abrtd: Package 'nxagent' isn't signed with proper key
Aug 23 12:39:39 pleth01 abrtd: 'post-create' on '/var/spool/abrt/ccpp-2018-08-23-12:39:38-12432' exited with 1
Aug 23 12:39:39 pleth01 abrtd: Deleting problem directory '/var/spool/abrt/ccpp-2018-08-23-12:39:38-12432'
The Linux server (remote headless server) -