I just killed the x2goagent process on the server and everything works 
now.  Probably that error message could be improved so it's not indicating 
an authentication problem.

On Mon, 11 Dec 2017, Paul Borowicz wrote:

> If you deleted the temp folders you can't reconnect to the session. I usually 
> do a 'pkill -u <user>' to cleanup anything running under that user, and 
> create a new session.
> My understanding is there is no way to recreate those tmp files that define 
> your session.
> 
> Paul
> 
> On Mon, Dec 11, 2017 at 2:27 PM, Andrew Munn <and...@nmedia.net> wrote:
>       Paul,
>       client: Debian 4.9.0-4-amd64 SMP Debian 4.9.51-1
>       server: CentOS Linux 3.10.0-514.26.2.el7.x86_64
> 
> 
>       On Mon, 11 Dec 2017, Paul Borowicz wrote:
> 
>       > 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 <and...@nmedia.net> 
> wrote:
>       >?? ? ?Ikeep 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."
>       >
>       >?? ? ?Iam 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?
>       >
>       >?? ? ?Ihave 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
>       >
>       >?? ? ?Ihave 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
>       >
>       >
>       >
>       >
> 
> 
> 
> 
_______________________________________________
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Reply via email to