[FreeNX-kNX] nxrun.exe failed to work with nx 1.5

rejoice rejoice at 163.com
Wed Jan 10 02:14:38 UTC 2007


i am trying to make nxrun work,but it fails.The server i used is nx1.5+freenx 0.4. The server is running on redhat9. And the nxrun is running on window xp. When i use commercial client of 1.5 version, no errors happend.
i have modify node.conf by enable BACKEND_1_5_0 support.also, in nxnode,i look for clientproto checking and uncheck it.but it makes no difference.
Following is the output when i enter the command line:
nxrun.exe  rrr.nxs  -u hrj -p 123456  -l cide
 
.... ......
INFO: Starting session.
I> Starting session.
S> localhost.localdomain-1008-DBBBBD41F24548BE09FB6D205EB625F6
DEBUG: create proxy connection.
DEBUG: NXProxy: initializing...
DEBUG: NXProxy: creating new process.
DEBUG: NXProxy: new process created.
DEBUG: NXProxy: set flags for redirection.
DEBUG: NXProxy: set default parameter 'NX_ProxyName'.
DEBUG: NXProcess: argument '-S' added.
DEBUG: NXProxy: parameter 'NX_ProxyLogPath' is empty.
DEBUG: NXProtocol: parameter 'NX_ProxySessionId' is empty.
DEBUG: NXProxy: set default parameter 'NX_ProxyLogPath'.
DEBUG: NXProxy: initializing options.
DEBUG: NXProxy: parameter 'NX_ProxyRoot' is empty.
DEBUG: NXProxy: set default parameter 'NX_ProxyRoot'.
DEBUG: NXProtocol: creating options for proxy connection.
DEBUG: NXProtocol: set option 'session' to 'rrr.nxs'.
DEBUG: NXProtocol: set option 'cookie' to '2289c8c6ce3e58bee9d8b41ed21ba984'.
DEBUG: NXProtocol: set option 'root' to 'c:\\.nx'.
DEBUG: NXProtocol: set option 'id' to 'localhost.localdomain-1008-DBBBBD41F2454
BE09FB6D205EB625F6'.
DEBUG: NXProtocol: set option 'listen' to '33057:1008'.
DEBUG: NXProtocol: options for proxy = 'nx,session=rrr.nxs,cookie=2289c8c6ce3e5
bee9d8b41ed21ba984,root=c:\\.nx,id=localhost.localdomain-1008-DBBBBD41F24548BE0
FB6D205EB625F6,listen=33057:1008'.
DEBUG: NXProcess: argument 'nx,session=rrr.nxs,cookie=2289c8c6ce3e58bee9d8b41ed
1ba984,root=c:\\.nx,id=localhost.localdomain-1008-DBBBBD41F24548BE09FB6D205EB62
F6,listen=33057:1008' added.
DEBUG: NXProxy: add parameter 'NX_ProxyDisplay'.
DEBUG: NXProcess: argument '-D' added.
DEBUG: NXProcess: argument ':0' added.
DEBUG: NXProxy: buffer cleared.
DEBUG: NXProxy: starting...
DEBUG: NXProxy: using library path 'C:\Program Files\Mozilla Firefox\NX Client
or Windows/lib'.
DEBUG: NXProxy: using library path 'C:\Program Files\Mozilla Firefox\NX Client
or Windows/lib:'.
DEBUG: new library path: C:\Program Files\Mozilla Firefox\NX Client for Windows
lib:
DEBUG: Info: Process is C:\Program Files\Mozilla Firefox\NX Client for Windows/
in\nxproxy.exe -S nx,session=rrr.nxs,cookie=2289c8c6ce3e58bee9d8b41ed21ba984,ro
t=c:\\.nx,id=localhost.localdomain-1008-DBBBBD41F24548BE09FB6D205EB625F6,listen
33057:1008 -D :0
DEBUG: NXProxy: connecting...
DEBUG: Read: NX> 1002 Commit
NX> 105 NX> 1006 Session status: running
/usr/bin/nxserver: line 1041: 14373 Terminated              ( sleep $AGENT_STAR
UP_TIMEOUT; exit 1 )
bye
DEBUG: NXProtocol: parsed line has code '1002' and string 'Commit'.
DEBUG: NXProtocol: skip NX code '1002'
DEBUG: NXProtocol: parsed line has code '105' and string 'NX> 1006 Session stat
s: running'.
DEBUG: NXProtocol: line does not contain token NX.
DEBUG: NXProtocol: line is: /usr/bin/nxserver: line 1041: 14373 Terminated
        ( sleep $AGENT_STARTUP_TIMEOUT; exit 1 )
DEBUG: NXProtocol: line does not contain token NX.
DEBUG: NXProtocol: line is: bye
INFO: Initializing X protocol compression.
I> Initializing X protocol compression.
DEBUG: Read:
NXPROXY - Version 1.4.0
Copyright (C) 2001, 2004 NoMachine.
See http://www.nomachine.com/ for more information.
Info: Proxy running in client mode with pid '3532'.
Info: Waiting for connection from any host on port '33057'.
DEBUG: NXProtocol:
DEBUG: NXProtocol: NXPROXY - Version 1.4.0
DEBUG: NXProtocol:
DEBUG: NXProtocol: Copyright (C) 2001, 2004 NoMachine.
DEBUG: NXProtocol: See http://www.nomachine.com/ for more information.
DEBUG: NXProtocol:
DEBUG: NXProtocol: Proxy running in client mode with pid '3532'.
DEBUG: NXProtocol: Waiting for connection from any host on port '33057'.
DEBUG: Read: Bye
NX> 999 Bye
DEBUG: NXProtocol: line does not contain token NX.
DEBUG: NXProtocol: line is: Bye
DEBUG: NXProtocol: parsed line has code '999' and string 'Bye'.
INFO: NXProtocol: connection closed.
DEBUG: NXProtocol: searching for error...
DEBUG: NXProtocol: parsed line has code '203' and string 'NXSSH running with pi
: 2172'.
DEBUG: NXProtocol: parsed line has code '285' and string 'Enabling check on swi
ch command'.
DEBUG: NXProtocol: parsed line has code '200' and string 'Connected to address:
172.19.148.117 on port: 22'.
DEBUG: NXProtocol: parsed line has code '202' and string 'Authenticating user:
x'.
DEBUG: NXProtocol: parsed line has code '208' and string 'Using auth method: pu
lickey'.
DEBUG: NXProtocol: parsed line has code '105' and string 'hello NXCLIENT - Vers
on 1.4.0'.
DEBUG: NXProtocol: parsed line has code '134' and string 'Accepted protocol: 1.
.0'.
DEBUG: NXProtocol: parsed line has code '105' and string 'SET SHELL_MODE SHELL'
DEBUG: NXProtocol: parsed line has code '105' and string 'login'.
DEBUG: NXProtocol: parsed line has code '101' and string 'User: hrj'.
DEBUG: NXProtocol: parsed line has code '102' and string 'Password: '.
DEBUG: NXProtocol: parsed line has code '103' and string 'Welcome to: localhost
localdomain user: hrj'.
DEBUG: NXProtocol: parsed line has code '105' and string 'startsession --sessio
="rrr.nxs" --cookie="******" --type="unix-kde" --cache="8m" --link="lan" --geom
try="fullscreen" --encryption="1" --cache="1" --nodelay="1" --stream="1" --medi
="0" --samba="0" --images="32m" '.
DEBUG: NXProtocol: line does not contain token NX.
DEBUG: NXProtocol: line is:
DEBUG: NXProtocol: parsed line has code '1000' and string 'NXNODE - Version 1.4
0-44 OS (GPL)'.
DEBUG: NXProtocol: parsed line has code '700' and string 'Session id: localhost
localdomain-1008-DBBBBD41F24548BE09FB6D205EB625F6'.
DEBUG: NXProtocol: parsed line has code '705' and string 'Session display: 1008
.
DEBUG: NXProtocol: parsed line has code '703' and string 'Session type: unix-kd
'.
DEBUG: NXProtocol: parsed line has code '701' and string 'Proxy cookie: 2289c8c
ce3e58bee9d8b41ed21ba984'.
DEBUG: NXProtocol: parsed line has code '702' and string 'Proxy IP: 127.0.0.1'.
DEBUG: NXProtocol: parsed line has code '706' and string 'Agent cookie: 2289c8c
ce3e58bee9d8b41ed21ba984'.
DEBUG: NXProtocol: parsed line has code '704' and string 'Session cache: unix-k
e'.
DEBUG: NXProtocol: parsed line has code '707' and string 'SSL tunneling: 1'.
DEBUG: NXProtocol: parsed line has code '710' and string 'Session status: runni
g'.
DEBUG: NXProtocol: parsed line has code '1002' and string 'Commit'.
DEBUG: NXProtocol: parsed line has code '105' and string 'NX> 1006 Session stat
s: running'.
DEBUG: NXProtocol: line does not contain token NX.
DEBUG: NXProtocol: line is: /usr/bin/nxserver: line 1041: 14373 Terminated
        ( sleep $AGENT_STARTUP_TIMEOUT; exit 1 )
DEBUG: NXProtocol: line does not contain token NX.
DEBUG: NXProtocol: line is: bye
DEBUG: NXProtocol: line does not contain token NX.
DEBUG: NXProtocol: line is: Bye
DEBUG: NXProtocol: parsed line has code '999' and string 'Bye'.
DEBUG: NXProtocol: error not found.
DEBUG: NXProtocol: Sending Switch...
DEBUG: Write: NX> 299 Switching connection to: 127.0.0.1:33057 cookie: 2289c8c6
e3e58bee9d8b41ed21ba984
DEBUG: Read: NX> 285 Identified host: 127.0.0.1 port: 33057
NX> 285 Identified cookie: 2289c8c6ce3e58bee9d8b41ed21ba984
NX> 291 Connecting to: 127.0.0.1:33057
DEBUG: NXProtocol: parsed line has code '285' and string 'Identified host: 127.
.0.1 port: 33057'.
DEBUG: NXProtocol: skip NX code '285'
DEBUG: NXProtocol: parsed line has code '285' and string 'Identified cookie: 22
9c8c6ce3e58bee9d8b41ed21ba984'.
DEBUG: NXProtocol: skip NX code '285'
DEBUG: NXProtocol: line does not contain token NX.
DEBUG: NXProtocol: line is:
DEBUG: NXProtocol: parsed line has code '291' and string 'Connecting to: 127.0.
.1:33057'.
DEBUG: NXProtocol: skip NX code '291'
DEBUG: NXProtocol: searching for error...
DEBUG: NXProtocol: parsed line has code '203' and string 'NXSSH running with pi
: 2172'.
DEBUG: NXProtocol: parsed line has code '285' and string 'Enabling check on swi
ch command'.
DEBUG: NXProtocol: parsed line has code '200' and string 'Connected to address:
172.19.148.117 on port: 22'.
DEBUG: NXProtocol: parsed line has code '202' and string 'Authenticating user:
x'.
DEBUG: NXProtocol: parsed line has code '208' and string 'Using auth method: pu
lickey'.
DEBUG: NXProtocol: parsed line has code '105' and string 'hello NXCLIENT - Vers
on 1.4.0'.
DEBUG: NXProtocol: parsed line has code '134' and string 'Accepted protocol: 1.
.0'.
DEBUG: NXProtocol: parsed line has code '105' and string 'SET SHELL_MODE SHELL'
DEBUG: NXProtocol: parsed line has code '105' and string 'login'.
DEBUG: NXProtocol: parsed line has code '101' and string 'User: hrj'.
DEBUG: NXProtocol: parsed line has code '102' and string 'Password: '.
DEBUG: NXProtocol: parsed line has code '103' and string 'Welcome to: localhost
localdomain user: hrj'.
DEBUG: NXProtocol: parsed line has code '105' and string 'startsession --sessio
="rrr.nxs" --cookie="******" --type="unix-kde" --cache="8m" --link="lan" --geom
try="fullscreen" --encryption="1" --cache="1" --nodelay="1" --stream="1" --medi
="0" --samba="0" --images="32m" '.
DEBUG: NXProtocol: line does not contain token NX.
DEBUG: NXProtocol: line is:
DEBUG: NXProtocol: parsed line has code '1000' and string 'NXNODE - Version 1.4
0-44 OS (GPL)'.
DEBUG: NXProtocol: parsed line has code '700' and string 'Session id: localhost
localdomain-1008-DBBBBD41F24548BE09FB6D205EB625F6'.
DEBUG: NXProtocol: parsed line has code '705' and string 'Session display: 1008
.
DEBUG: NXProtocol: parsed line has code '703' and string 'Session type: unix-kd
'.
DEBUG: NXProtocol: parsed line has code '701' and string 'Proxy cookie: 2289c8c
ce3e58bee9d8b41ed21ba984'.
DEBUG: NXProtocol: parsed line has code '702' and string 'Proxy IP: 127.0.0.1'.
DEBUG: NXProtocol: parsed line has code '706' and string 'Agent cookie: 2289c8c
ce3e58bee9d8b41ed21ba984'.
DEBUG: NXProtocol: parsed line has code '704' and string 'Session cache: unix-k
e'.
DEBUG: NXProtocol: parsed line has code '707' and string 'SSL tunneling: 1'.
DEBUG: NXProtocol: parsed line has code '710' and string 'Session status: runni
g'.
DEBUG: NXProtocol: parsed line has code '1002' and string 'Commit'.
DEBUG: NXProtocol: parsed line has code '105' and string 'NX> 1006 Session stat
s: running'.
DEBUG: NXProtocol: line does not contain token NX.
DEBUG: NXProtocol: line is: /usr/bin/nxserver: line 1041: 14373 Terminated
        ( sleep $AGENT_STARTUP_TIMEOUT; exit 1 )
DEBUG: NXProtocol: line does not contain token NX.
DEBUG: NXProtocol: line is: bye
DEBUG: NXProtocol: line does not contain token NX.
DEBUG: NXProtocol: line is: Bye
DEBUG: NXProtocol: parsed line has code '999' and string 'Bye'.
DEBUG: NXProtocol: parsed line has code '285' and string 'Identified host: 127.
.0.1 port: 33057'.
DEBUG: NXProtocol: parsed line has code '285' and string 'Identified cookie: 22
9c8c6ce3e58bee9d8b41ed21ba984'.
DEBUG: NXProtocol: line does not contain token NX.
DEBUG: NXProtocol: line is:
DEBUG: NXProtocol: parsed line has code '291' and string 'Connecting to: 127.0.
.1:33057'.
DEBUG: NXProtocol: error not found.
DEBUG: NXProtocol: Sending Switch...
DEBUG: Write: NX> 299 Switching connection to: 127.0.0.1:33057 cookie: 2289c8c6
e3e58bee9d8b41ed21ba984
DEBUG: Read: Info: Accepted connection from '127.0.0.1' on port '3375'.
Info: Connection with remote proxy established.
Warning: Connected to remote NXPROXY version 1.5.0 with local version 1.4.0.
Warning: Consider checking http://www.nomachine.com/ for updates.
Info: Handshaking with remote proxy ':5008' completed.
Info: Synchronizing local and remote caches.
Info: Not using NX delta compression.
Info: Using lan link parameters 16384/80/16/8192.
Info: Using pack method '16m-jpeg-9' with session 'unix-kde'.
Info: Not using ZLIB stream compression.
Info: Not using remote ZLIB stream compression.
Info: Not using persistent cache.
Info: Using remote server connected on port '33057'.
Info: Starting X protocol compression.
DEBUG: NXProtocol: Accepted connection from '127.0.0.1' on port '3375'.
DEBUG: NXProtocol: Connection with remote proxy established.
DEBUG: NXProtocol: Warning: Connected to remote NXPROXY version 1.5.0 with loca
 version 1.4.0.
DEBUG: NXProtocol: Warning: Consider checking http://www.nomachine.com/ for upd
tes.
DEBUG: NXProtocol: Handshaking with remote proxy ':5008' completed.
DEBUG: NXProtocol: Synchronizing local and remote caches.
DEBUG: NXProtocol: Not using NX delta compression.
DEBUG: NXProtocol: Using lan link parameters 16384/80/16/8192.
DEBUG: NXProtocol: Using pack method '16m-jpeg-9' with session 'unix-kde'.
DEBUG: NXProtocol: Not using ZLIB stream compression.
DEBUG: NXProtocol: Not using remote ZLIB stream compression.
DEBUG: NXProtocol: Not using persistent cache.
DEBUG: NXProtocol: Using remote server connected on port '33057'.
DEBUG: NXProtocol: Starting X protocol compression.
DEBUG: Read: NX> 285 Sending authentication cookie: 2289C8C6CE3E58BEE9D8B41ED21
A984
NX> 285 Switching descriptors: 4 and: 5 to: 7
NX> 287 Redirected I/O to channel descriptors
DEBUG: NXProtocol: parsed line has code '285' and string 'Sending authenticatio
 cookie: 2289C8C6CE3E58BEE9D8B41ED21BA984'.
DEBUG: NXProtocol: skip NX code '285'
DEBUG: NXProtocol: parsed line has code '285' and string 'Switching descriptors
 4 and: 5 to: 7'.
DEBUG: NXProtocol: skip NX code '285'
DEBUG: NXProtocol: line does not contain token NX.
DEBUG: NXProtocol: line is:
DEBUG: NXProtocol: parsed line has code '287' and string 'Redirected I/O to cha
nel descriptors'.
DEBUG: NXProtocol: skip NX code '287'
INFO: Negotiating link parameters.
I> Negotiating link parameters.
DEBUG: Read: Error: Connection to ':0' failed. Error is 111 'Connection refused
.
ERROR: NXProtocol: proxy error 'Connection to ':0' failed. Error is 111 'Connec
ion refused'.' found.
Connection to ':0' failed. Error is 111 'Connection refused'.
ERROR: Connection to ':0' failed. Error is 111 'Connection refused'.
E> Connection to ':0' failed. Error is 111 'Connection refused'.
INFO: Error occurred. For more info check 'c:\.nx\temp/1992\sshlog'.
I> Error occurred. For more info check 'c:\.nx\temp/1992\sshlog'.
DEBUG: NXConnection's destructor called.
DEBUG: cleaning up NXConnection.
DEBUG: deleting Server Connection
DEBUG: NXConnection clean.
 
Following is the content of 'c:\.nx\temp/1992\sshlog':
 
NX> 203 NXSSH running with pid: 2172
NX> 285 Enabling check on switch command
NX> 200 Connected to address: 172.19.148.117 on port: 22
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.4.0
NX> 134 Accepted protocol: 1.4.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 login
NX> 101 User: hrj
NX> 102 Password: 
NX> 103 Welcome to: localhost.localdomain user: hrj
NX> 105 startsession --session="rrr.nxs" --cookie="******" --type="unix-kde" --cache="8m" --link="lan" --geometry="fullscreen" --encryption="1" --cache="1" --nodelay="1" --stream="1" --media="0" --samba="0" --images="32m" 
NX> 1000 NXNODE - Version 1.4.0-44 OS (GPL)
NX> 700 Session id: localhost.localdomain-1008-DBBBBD41F24548BE09FB6D205EB625F6
NX> 705 Session display: 1008
NX> 703 Session type: unix-kde
NX> 701 Proxy cookie: 2289c8c6ce3e58bee9d8b41ed21ba984
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: 2289c8c6ce3e58bee9d8b41ed21ba984
NX> 704 Session cache: unix-kde
NX> 707 SSL tunneling: 1
NX> 710 Session status: running
NX> 1002 Commit
NX> 105 NX> 1006 Session status: running
/usr/bin/nxserver: line 1041: 14373 Terminated              ( sleep $AGENT_STARTUP_TIMEOUT; exit 1 )
bye
Bye
NX> 999 Bye
NX> 285 Identified host: 127.0.0.1 port: 33057
NX> 285 Identified cookie: 2289c8c6ce3e58bee9d8b41ed21ba984
NX> 291 Connecting to: 127.0.0.1:33057
NX> 285 Sending authentication cookie: 2289C8C6CE3E58BEE9D8B41ED21BA984
NX> 285 Switching descriptors: 4 and: 5 to: 7
NX> 287 Redirected I/O to channel descriptors

can anyone offer some help? i have got stuck in this problem for a few days.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20070110/15abfc29/attachment.html>


More information about the FreeNX-kNX mailing list