[FreeNX-kNX] didn't provide a valid cookie??

sean seandarcy2 at gmail.com
Sun Oct 30 19:22:29 UTC 2005


Thorsten Sandfuchs wrote:
> On Fri, Oct 28, 2005 at 07:04:11PM -0400, sean wrote:
> 
>>Thorsten Sandfuchs wrote:
>>nxserver (gateway) is i386 on Fedora Core 4, updated.
>>It has:
> 
> 
> are these selfcompiled or packed? (Which src?)
> 

Self-compiled -sort of. I used the fc4 src.rpm and changed 
it for the recent updates. Then rebuilt.

>>Anything else that would help?
> 
> 
> runlog and sshlog from the _client_ site: ~/.nx/temp/<pidofclient>/
> (directory may vanish, if client is closed)
> 

I've atttached runlog - since it's prettty big, but here 
line  188 and on  ( notice the error on line 191 ) :

[Sat Oct 29 12:21:26 2005]: Received line from nxssh process 
[NX> 1002 Commit
] with code [1002]
[Sat Oct 29 12:21:26 2005]: Received code[1002]
[Sat Oct 29 12:21:26 2005]: Received line from nxssh process 
[/usr/bin/nxserver: line 880: 20592 Terminated 
     ( sleep $AGENT_STARTUP_TIMEOUT; exit 1 )
] with code [-1]
[Sat Oct 29 12:21:26 2005]: Received code[-1]
[Sat Oct 29 12:21:26 2005]: Received line from nxssh process 
[NX> 105 NX> 1006 Session status: running
] with code [105]
[Sat Oct 29 12:21:26 2005]: Received code[105]
[Sat Oct 29 12:21:26 2005]: Received line from nxssh process 
[bye
] with code [-1]
[Sat Oct 29 12:21:26 2005]: Received code[-1]
[Sat Oct 29 12:21:26 2005]: Received line from nxssh process 
[Bye
] with code [-1]
[Sat Oct 29 12:21:26 2005]: Received code[-1]
[Sat Oct 29 12:21:26 2005]: Received line from nxssh process 
[NX> 999 Bye
] with code [999]
[Sat Oct 29 12:21:26 2005]: Received code[999]
[Sat Oct 29 12:21:26 2005]: LoginDialog: setEnvironmentForProxy
[Sat Oct 29 12:21:26 2005]: 
LoginDialog::ShowConnectionStatus code=[245] 
str=[Negotiating link parameters] error=[0]
[Sat Oct 29 12:21:26 2005]: Writing: 
'nx,cookie=f3e0055b031253f23392887dbb0e0f7b,root=/root/.nx,session=session,id=gateway-1001-C3514C7132C232E25D0FC571D6754982:1001
' to 
'/root/.nx/S-gateway-1001-C3514C7132C232E25D0FC571D6754982/options'
[Sat Oct 29 12:21:26 2005]: 
file='/root/.nx/S-gateway-1001-C3514C7132C232E25D0FC571D6754982/options'
[Sat Oct 29 12:21:26 2005]: NXFileMonitor: opened file: 
[/root/.nx/S-gateway-1001-C3514C7132C232E25D0FC571D6754982/session]
[Sat Oct 29 12:21:26 2005]: 
NXProxyProtocol::receiveData('NXPROXY - Version 1.5.0')
[Sat Oct 29 12:21:26 2005]: NXProxyProtocol::receiveData('')
[Sat Oct 29 12:21:26 2005]: 
NXProxyProtocol::receiveData('Copyright (C) 2001, 2005 
NoMachine.')
[Sat Oct 29 12:21:26 2005]: 
NXProxyProtocol::receiveData('See http://www.nomachine.com/ 
for more information.')
[Sat Oct 29 12:21:26 2005]: NXProxyProtocol::receiveData('')
[Sat Oct 29 12:21:26 2005]: 
NXProxyProtocol::receiveData('Info: Proxy running in client 
mode with pid '7747'.')
[Sat Oct 29 12:21:27 2005]: NXProxyProtocol: SlotnxproxyTimeout
[Sat Oct 29 12:21:28 2005]: NXProxyProtocol: SlotnxproxyTimeout
[.............]
[Sat Oct 29 12:22:22 2005]: NXProxyProtocol: SlotnxproxyTimeout
[Sat Oct 29 12:22:23 2005]: Received SIGCHILD
[Sat Oct 29 12:22:23 2005]: NXProxyProtocol: SlotnxproxyTimeout
[Sat Oct 29 12:22:23 2005]: 
NXProxyProtocol::receiveData('Error: Failure negotiating the 
session in stage '7'.')
[Sat Oct 29 12:22:23 2005]: Session Failed: 'Error: Failure 
negotiating the session in stage '7'.'
[Sat Oct 29 12:22:23 2005]: LoginDialog: SlotProxyError
[Sat Oct 29 12:22:23 2005]: printFatalError [Session 
'transfer at linuxbox' failed]
[Sat Oct 29 12:22:23 2005]: KillAllComponents 0x86515d8
[Sat Oct 29 12:22:23 2005]: LoginDialog: stopAllTimers
[Sat Oct 29 12:22:23 2005]: LoginDialog: stopProgressTimer
[Sat Oct 29 12:22:23 2005]: LoginDialog::killAllComponents() 
stopping NXProtoSSH
[Sat Oct 29 12:22:23 2005]: LoginDialog::killAllComponents() 
stopping NXssh
[Sat Oct 29 12:22:23 2005]: LoginDialog::killAllComponents() 
stopping NXProtoProxy
[Sat Oct 29 12:22:23 2005]: NXProxyProtocol: StopConnection
[Sat Oct 29 12:22:23 2005]: NXProxyProtocol: StopTimeout
[Sat Oct 29 12:22:23 2005]: end of killAllComponents
[Sat Oct 29 12:22:23 2005]: 
LoginDialog::ShowConnectionStatus code=[266] str=[Session 
'transfer at linuxbox' failed] error=[1]
[Sat Oct 29 12:22:23 2005]: LoginDialog: isReconnecting() [0]
[Sat Oct 29 12:22:23 2005]: Logfile path 
[/root/.nx/S-gateway-1001-C3514C7132C232E25D0FC571D6754982/session] 
exists.


Here's sshlog:

NX> 203 NXSSH running with pid: 7747
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 200 Connected to address: xxx.yyy.zzz.206 on port: 22
Warning: Permanently added the RSA host key for IP address 
'xxx.yyy.zzz.206' to the list of known hosts.
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 1.4.0-44 OS (GPL)
NX> 105 hello NXCLIENT - Version 1.5.0
NX> 134 Accepted protocol: 1.5.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: transfer
NX> 102 Password:
NX> 103 Welcome to: gateway user: transfer
NX> 105 listsession --user="transfer" 
--status="suspended,running" 
--geometry="1280x1024x24+render" --type="unix-gnome"
NX> 127 Sessions list of user 'transfer' for reconnect:

Display Type             Session ID 
Options  Depth Screen         Status      Session Name
------- ---------------- -------------------------------- 
-------- ----- -------------- ----------- 
------------------------------


NX> 148 Server capacity: not reached for user: transfer
NX> 105 startsession --session="transfer at linuxbox" 
--type="unix-gnome" --cache="4M" --images="32M" 
--cookie="******" --link="adsl" --kbtype="pc105/us" 
--nodelay="1" --encryption="1" 
--backingstore="when_requested" --geometry="800x600+240+186" 
--media="0" --agent_server="" --agent_user="" 
agent_password="******""  --screeninfo="800x600x24+render"

NX> 1000 NXNODE - Version 1.4.0-44 OS (GPL)
NX> 700 Session id: 
gateway-1001-C3514C7132C232E25D0FC571D6754982
NX> 705 Session display: 1001
NX> 703 Session type: unix-gnome
NX> 701 Proxy cookie: f3e0055b031253f23392887dbb0e0f7b
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: f3e0055b031253f23392887dbb0e0f7b
NX> 704 Session cache: unix-gnome
NX> 707 SSL tunneling: 1
NX> 710 Session status: running
NX> 1002 Commit
/usr/bin/nxserver: line 880: 20592 Terminated              ( 
sleep $AGENT_STARTUP_TIMEOUT; exit 1 )
NX> 105 NX> 1006 Session status: running
bye
Bye
NX> 999 Bye
NX> 285 Identified internal connection
NX> 285 Using default mode encrypted
NX> 285 Identified options: 
nx,options=/root/.nx/S-gateway-1001-C3514C7132C232E25D0FC571D6754982/options:1001
NX> 285 Switching descriptors: 4 and: 5 to: 8

NX> 287 Redirected I/O to channel descriptors
NX> 504 Session startup failed.
NX> 1004 Error: nxagent failed to start with: NXAGENT: Fatal 
IO error on display 
"nx/nx,options=/home/transfer/.nx/C-gateway-1001-C3514C7132C232E25D0FC571D6754982/options:1001".
NX> 1001 Bye.

> and session-log (~/.nx/F-C-....-XXXXX) and /var/log/nxserver.log from _server_
> site.
> 

The nxserver.log is in the prior message ( this is long 
enough already ).

> (Be shure not to uncover any private passwd-related data)
> 
> Didn't the -fp switch work?
> 

What -fp switch?  I can't find a reference to it.

> sincerly,
> 				/fux

I really appreciate all this help

sean
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: runlog
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20051030/45272fcc/attachment.ksh>


More information about the FreeNX-kNX mailing list