What OS are you on? I was having a very similar problem on OpenSuSE. Have you tried running "x2goclient --debug"


Paul

On Mon, Dec 11, 2017 at 1:58 PM, Andrew Munn <andrew@nmedia.net> wrote:
I keep getting this message from my x2goclient

"The remote proxy closed the connection while negotiating
the session. This may be due to the wrong authentication
credentials passed to the server."

I am shown the usual "Select session:" dialog box with columns display,
status, command.  And also the normal buttons suspend, terminate, new,
resume, cancel.

There is 1 session listed.  I double click on it and get the error.  But
the password is correct. I can ssh into the session with no problems.  I
think this error occurs because I recently deleted x2go related directorys
in /tmp or ~/ on the client machine.  Is that possible?  And if so could
we make the error message more helpful?

I have uninstalled and re-installed x2goclient including the ~/.x2go* dirs
and it does not fix the problem.

I'm seeing this in /var/log/secure:
Dec 11 12:56:47 herc sshd[60805]: error: connect_to localhost port 59700: failed.
Dec 11 12:56:47 herc sshd[60805]: channel_by_id: 0: bad id: channelfree
Dec 11 12:56:47 herc sshd[60805]: Disconnecting: Received ieof for nonexistent channel 0.
Dec 11 12:56:47 herc sshd[60799]: pam_unix(sshd:session): session closed for user andrew

I have these running on the server.

$ ps aux|grep x2go|grep andrew
andrew   27835  0.5  0.2 558036 278540 ?       S    Nov18 165:20 /usr/lib64/nx/../x2go/bin/x2goagent -extension XFIXES -nolisten tcp -nolisten tcp -dpi 96 -D -auth /home/andrew/.Xauthority -geometry 1280x1024 -name X2GO-andrew-51-1511062472_stDMATE_dp24 :51
andrew   27995  0.0  0.0 113132  1528 ?        Ss   Nov18   0:00 /bin/bash /usr/bin/x2goruncommand 51 27835 andrew-51-1511062472_stDMATE_dp24 59701 mate-session nosnd D

Should I be killing one or both of them to fix this?
Thanks

_______________________________________________
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user