<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<div style="16px" text-align="left">Hello,<br></div><div style="16px" text-align="left"><br></div><div style="16px" text-align="left">I am unable to connect to the x2goserver. I have 3 almost same servers with Ubuntu 16.04, on two of them x2goserver is working, but on the third not. Version of the x2goserver packge is 4.1.0.3. I've tried all solutions I found. Here is the error message from the server (I replaced the IP address with X.X.X.X):<br></div><div style="16px" text-align="left"><br></div><div style="16px">#> cat session-C-mbendzela-59-1556531225_stDXFCE_dp24.log<br></div><div style="16px"><br></div><div style="16px">running as X2Go Agent<br></div><div style="16px"><br></div><div style="16px">running as X2Go Agent<br></div><div style="16px"><br></div><div style="16px">running as X2Go Agent<br></div><div style="16px"><br></div><div style="16px">running as X2Go Agent<br></div><div style="16px"><br></div><div style="16px">running as X2Go Agent<br></div><div style="16px"><br></div><div style="16px">running as X2Go Agent<br></div><div style="16px"><br></div><div style="16px">running as X2Go Agent<br></div><div style="16px"><br></div><div style="16px">running as X2Go Agent<br></div><div style="16px"><br></div><div style="16px">NXAGENT - Version 3.5.99.20<br></div><div style="16px"><br></div><div style="16px">Copyright (c) 2001, 2011 NoMachine (<a href="http://www.nomachine.com">http://www.nomachine.com</a>)<br></div><div style="16px">Copyright (c) 2008-2014 Oleksandr Shneyder <<a href="mailto:o.shneyder@phoca-gmbh.de">o.shneyder@phoca-gmbh.de</a>><br></div><div style="16px">Copyright (c) 2011-2016 Mike Gabriel <<a href="mailto:mike.gabriel@das-netzwerkteam.de">mike.gabriel@das-netzwerkteam.de</a>><br></div><div style="16px">Copyright (c) 2014-2016 Ulrich Sibiller <<a href="mailto:uli42@gmx.de">uli42@gmx.de</a>><br></div><div style="16px">Copyright (c) 2014-2016 Mihai Moldovan <<a href="mailto:ionic@ionic.de">ionic@ionic.de</a>><br></div><div style="16px">Copyright (c) 2015-2016 Qindel Group (<a href="http://www.qindel.com">http://www.qindel.com</a>)<br></div><div style="16px">See <a href="https://github.com/ArcticaProject/nx-libs">https://github.com/ArcticaProject/nx-libs</a> for more information.<br></div><div style="16px"><br></div><div style="16px">Info: Agent running with pid '1602'.<br></div><div style="16px">Session: Starting session at 'Mon Apr 29 11:47:06 2019'.<br></div><div style="16px">Info: Proxy running in client mode with pid '1602'.<br></div><div style="16px">Info: Using errors file '/tmp/.x2go-mbendzela/session-C-mbendzela-59-1556531225_stDXFCE_dp24.log'.<br></div><div style="16px">Info: Using stats file '/home/mbendzela/.x2go/C-mbendzela-59-1556531225_stDXFCE_dp24/C-mbendzela-59-1556531225_stDXFCE_dp24/stats'.<br></div><div style="16px">Loop: WARNING! Unrecognized session type 'unix-kde-depth_24'. Assuming agent session.<br></div><div style="16px">Warning: Unrecognized session type 'unix-kde-depth_24'. Assuming agent session.<br></div><div style="16px">Info: Waiting for connection from 'localhost' on socket 'tcp:*:30028'.<br></div><div style="16px">Loop: WARNING! Refusing connection from 'X.X.X.X' on port '30028'.<br></div><div style="16px">Warning: Refusing connection from 'X.X.X.X'.<br></div><div style="16px">Loop: PANIC! Connection with remote host 'localhost' could not be established.<br></div><div style="16px">Error: Connection with remote host 'localhost' could not be established.<br></div><div style="16px">Error: Aborting session with 'Unable to open display 'nx/nx,options=/home/mbendzela/.x2go/C-mbendzela-59-1556531225_stDXFCE_dp24/options:59''.<br></div><div style="16px">Session: Aborting session at 'Mon Apr 29 11:47:56 2019'.<br></div><div style="16px">Session: Session aborted at 'Mon Apr 29 11:47:56 2019'.<br></div><div style="16px" text-align="left"><br></div><div style="16px" text-align="left"><br></div><div style="16px" text-align="left">Here is the error message from the X2goclient:<br></div><div style="16px" text-align="left"><br></div><div style="16px">Loop: PANIC! The remote NX proxy closed the connection.<br></div><div style="16px">Error: The remote NX proxy closed the connection.<br></div><div style="16px">Loop: PANIC! Failure negotiating the session in stage '7'.<br></div><div style="16px">Error: Failure negotiating the session in stage '7'.<br></div><div style="16px">Loop: PANIC! Wrong version or invalid session authentication cookie.<br></div><div style="16px">Error: Wrong version or invalid session authentication cookie.<br></div><div style="16px">Session: Terminating session at 'Mon Apr 29 12:37:58 2019'.<br></div><div style="16px">Session: Session terminated at 'Mon Apr 29 12:37:58 2019'.<br></div><div style="16px"><br></div><div style="16px" text-align="left"><br></div><div style="16px" text-align="left">When I connect to the server trough ssh with the -AX parameters (ssh -AX X.X.X.X), run command "x2goagent :10 &!" and then I run "/bin/bash /usr/bin/x2goruncommand 10 $(pgrep x2goagent|head -1) test 45342 xfce4-session nosnd R", it will start.<br></div> </body>
</html>