[X2go-dev] BUG?: plugin stuck in auth rejection

Gerry Reno greno at verizon.net
Fri Jul 9 18:44:57 CEST 2010


On 07/09/2010 12:33 PM, Gerry Reno wrote:
> On 07/09/2010 12:11 PM, Gerry Reno wrote:
>> On 07/09/2010 03:52 AM, John A. Sullivan III wrote:
>>> <snip>
>>> I really don't know what is going wrong but what happens if you try
>>> logging on via ssh? Does it give you any more understandable error
>>> message? - John
>>>
>>
>> Hi John,
>>
>>   Yes, I tried that and using ssh I can always log in just fine, no 
>> errors.
>>
>> I've uninstalled and reinstalled the plugin - no change, still same 
>> problem.
>>
>> Something has the plugin thoroughly confused.
>>
>>
>> In trying to connect to 192.168.1.46, "Show details" shows this:
>>
>> Info: Proxy running in client mode with pid '17787'.
>> Session: Starting session at 'Fri Jul  9 12:07:49 2010'.
>> Info: Connecting to remote host 'localhost:30002'.
>> Info: Connection to remote proxy 'localhost:30002' established.
>> Error: The remote NX proxy closed the connection.
>> Error: Failure negotiating the session in stage '7'.
>> Error: Wrong version or invalid session authentication cookie.
>> Session: Terminating session at 'Fri Jul  9 12:07:49 2010'.
>> Session: Session terminated at 'Fri Jul  9 12:07:49 2010'.
>> Connection timeout, aborting
>>
>> I don't see that IP address anywhere in the detail listing.  Is that 
>> normal?
>>
>>
>> Gerry
>>
>
> In looking at one of the logs:
> ======================================
> /usr/bin/x2goagent: line 1: -e: command not found
>
> NXAGENT - Version 3.4.0
>
> Copyright (C) 2001, 2007 NoMachine.
> See http://www.nomachine.com/ for more information.
>
> Info: Agent running with pid '20759'.
> Session: Starting session at 'Fri Jul  9 12:17:44 2010'.
> Info: Proxy running in server mode with pid '20759'.
> Info: Waiting for connection from 'localhost' on port '30001'.
> Info: Accepted connection from '127.0.0.1'.
> Error: The remote NX proxy closed the connection.
> Error: Failure negotiating the session in stage '7'.
> Error: Aborting session with 'X2goagent: Unable to open display 
> 'nx/nx,options=/home/greno/.x2go/C-greno-50-1278692263_stDGNOME_dp24/options:50''. 
>
> Session: Aborting session at 'Fri Jul  9 12:17:44 2010'.
> Session: Session aborted at 'Fri Jul  9 12:17:44 2010'.
> ======================================
>
>
> Here is the server.x2go file:
> ======================================
> session=Remote Session
> server=192.168.1.46
> user=greno
> sshport=22
> command=GNOME
> rootless=false
> dpi=96
> kbdlayout=us
> kbdtype=pc105/us
> speed=lan
> compression=16m-png-jpeg
> quality=9
> sound=true
> exportfs=true
> showtoolbar=true
> showstatusbar=true
> ======================================
>
> I've done a 'xhost +' in a user terminal window on the 192.168.1.46 
> machine several times but it doesn't seem to help.
>
>
> Gerry
>
Here is what I find in /usr/bin/x2goagent:
-e #!/bin/bash
     X2GO_LIBS=/usr/lib/x2go LD_LIBRARY_PATH=/usr/lib/x2go exec 
/usr/lib/x2go/x2goagent $@

Now does that look right?

Last night I installed x2goserver-one on my localhost in order to do 
some quick local tests.  Perhaps this file got written like this from 
the install?

Gerry






More information about the x2go-dev mailing list