[X2go-dev] remote proxy closed the connection

Gerry Reno greno at verizon.net
Fri Feb 4 22:14:28 CET 2011


On 02/02/2011 09:48 PM, Gerry Reno wrote:
> On 02/02/2011 09:35 PM, Gerry Reno wrote:
>   
>> I'm seeing the following errors trying to connect to a new machine
>> running server version 3.0.99 using the browser client:
>>
>> Feb  3 02:20:33 newmachine su[16393]: pam_unix(su:session): session
>> opened for user ubuntu by (uid=0)
>> Feb  3 02:20:33 newmachine sudo:   ubuntu : TTY=unknown ; PWD=/ ;
>> USER=root ; COMMAND=/usr/bin/touch /root/firstlogin_done
>> Feb  3 02:20:33 newmachine sshd[16319]: Accepted publickey for ubuntu
>> from XXX.XXX.XXX.XXX port 51610 ssh2
>> Feb  3 02:20:33 newmachine sshd[16319]: pam_unix(sshd:session): session
>> opened for user ubuntu by (uid=0)
>> Feb  3 02:20:33 newmachine sshd[16320]: Accepted publickey for ubuntu
>> from XXX.XXX.XXX.XXX port 51609 ssh2
>> Feb  3 02:20:33 newmachine sshd[16320]: pam_unix(sshd:session): session
>> opened for user ubuntu by (uid=0)
>> Feb  3 02:20:33 newmachine sshd[16441]: error: bind: Address already in use
>> Feb  3 02:20:33 newmachine sshd[16441]: error:
>> channel_setup_fwd_listener: cannot listen to port: 30008
>> Feb  3 02:20:33 newmachine sshd[16234]: pam_unix(sshd:session): session
>> closed for user ubuntu
>> Feb  3 02:20:33 newmachine su[16393]: pam_unix(su:session): session
>> closed for user ubuntu
>> Feb  3 02:20:33 newmachine sshd[16524]: error: connect_to localhost port
>> 30007: failed.
>> Feb  3 02:20:33 newmachine sshd[16232]: pam_unix(sshd:session): session
>> closed for user ubuntu
>> Feb  3 02:20:33 newmachine sshd[29561]: channel 2: open failed: connect
>> failed: Connection refused
>> Feb  3 02:20:33 newmachine sudo:   ubuntu : TTY=unknown ;
>> PWD=/home/ubuntu ; USER=root ; COMMAND=/usr/bin/touch /root/firstlogin_done
>> Feb  3 02:20:33 newmachine sudo:   ubuntu : TTY=unknown ;
>> PWD=/home/ubuntu ; USER=root ; COMMAND=/usr/bin/touch /root/firstlogin_done
>> Feb  3 02:20:33 newmachine sshd[16233]: pam_unix(sshd:session): session
>> closed for user ubuntu
>>
>>
>> The client reports:
>>     Resuming
>>     Aborting
>>     Error message appears:
>>
>>     The remote proxy closed the connection while negotiating
>>     the session. This may be due to the wrong authentication
>>     credentials passed to the server.
>>
>>     Finished
>>
>> I ran a check for sessions and there is only one existing session.
>>
>> I've triple-checked the credentials and logged in on command line using
>> them.
>>
>>   
>>     
> Here's what we have for x2go processes:
>
> ubuntu    3219     1  0 Feb02 ?        00:00:50 /usr/lib/x2go/x2goagent
> -dpi 96 -D -auth /home/ubuntu/.Xauthority -geometry 1005x552+113+232
> -name X2GO-ubuntu-51-1296672519_stDGNOME_dp24 :51
> ubuntu    3690     1  0 Feb02 ?        00:00:00 /bin/bash
> /usr/bin/x2goruncommand 51 3219 ubuntu-51-1296672519_stDGNOME_dp24 30008
> gnome-session nosnd D
> root     15119     1  0 Feb02 ?        00:00:04 /usr/bin/perl
> /usr/sbin/x2gocleansessions
>
> So there is an existing session.  I got detached from it when the
> browser crashed.
>
> It seems as though the client should either automatically attach to the
> session or present the user with the list of sessions to take some action.
>
>
> Regards,
> Gerry
>
>
>   


Has anyone found out how to prevent this "remote proxy closed the
connection" error from happening when a session becomes detached and a
user tries to resume the session?

We are seeing this problem quite often and every once in a while you can
get it to resume but mostly this session is unrecoverable and must be
manually terminated - which is creating much sysadmin work.


Regards,
Gerry





More information about the x2go-dev mailing list