<DIV >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.</DIV>
<DIV>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.</DIV>
<DIV>Following is the output when i enter the command line:</DIV>
<DIV>nxrun.exe  rrr.nxs  -u hrj -p 123456  -l cide</DIV>
<DIV> </DIV>
<DIV>.... ......</DIV>
<DIV>INFO: Starting session.<BR>I> Starting session.<BR>S> localhost.localdomain-1008-DBBBBD41F24548BE09FB6D205EB625F6<BR>DEBUG: create proxy connection.<BR>DEBUG: NXProxy: initializing...<BR>DEBUG: NXProxy: creating new process.<BR>DEBUG: NXProxy: new process created.<BR>DEBUG: NXProxy: set flags for redirection.<BR>DEBUG: NXProxy: set default parameter 'NX_ProxyName'.<BR>DEBUG: NXProcess: argument '-S' added.<BR>DEBUG: NXProxy: parameter 'NX_ProxyLogPath' is empty.<BR>DEBUG: NXProtocol: parameter 'NX_ProxySessionId' is empty.<BR>DEBUG: NXProxy: set default parameter 'NX_ProxyLogPath'.<BR>DEBUG: NXProxy: initializing options.<BR>DEBUG: NXProxy: parameter 'NX_ProxyRoot' is empty.<BR>DEBUG: NXProxy: set default parameter 'NX_ProxyRoot'.<BR>DEBUG: NXProtocol: creating options for proxy connection.<BR>DEBUG: NXProtocol: set option 'session' to 'rrr.nxs'.<BR>DEBUG: NXProtocol: set option 'cookie' to '2289c8c6ce3e58bee9d8b41ed21ba984'.<BR>DEBUG: NXProtocol: set option 'root' to 'c:\\.nx'.<BR>DEBUG: NXProtocol: set option 'id' to 'localhost.localdomain-1008-DBBBBD41F2454<BR>BE09FB6D205EB625F6'.<BR>DEBUG: NXProtocol: set option 'listen' to '33057:1008'.<BR>DEBUG: NXProtocol: options for proxy = 'nx,session=rrr.nxs,cookie=2289c8c6ce3e5<BR>bee9d8b41ed21ba984,root=c:\\.nx,id=localhost.localdomain-1008-DBBBBD41F24548BE0<BR>FB6D205EB625F6,listen=33057:1008'.<BR>DEBUG: NXProcess: argument 'nx,session=rrr.nxs,cookie=2289c8c6ce3e58bee9d8b41ed<BR>1ba984,root=c:\\.nx,id=localhost.localdomain-1008-DBBBBD41F24548BE09FB6D205EB62<BR>F6,listen=33057:1008' added.<BR>DEBUG: NXProxy: add parameter 'NX_ProxyDisplay'.<BR>DEBUG: NXProcess: argument '-D' added.<BR>DEBUG: NXProcess: argument ':0' added.<BR>DEBUG: NXProxy: buffer cleared.<BR>DEBUG: NXProxy: starting...<BR>DEBUG: NXProxy: using library path 'C:\Program Files\Mozilla Firefox\NX Client<BR>or Windows/lib'.<BR>DEBUG: NXProxy: using library path 'C:\Program Files\Mozilla Firefox\NX Client<BR>or Windows/lib:'.<BR>DEBUG: new library path: C:\Program Files\Mozilla Firefox\NX Client for Windows<BR>lib:<BR>DEBUG: Info: Process is C:\Program Files\Mozilla Firefox\NX Client for Windows/<BR>in\nxproxy.exe -S nx,session=rrr.nxs,cookie=2289c8c6ce3e58bee9d8b41ed21ba984,ro<BR>t=c:\\.nx,id=localhost.localdomain-1008-DBBBBD41F24548BE09FB6D205EB625F6,listen<BR>33057:1008 -D :0<BR>DEBUG: NXProxy: connecting...<BR>DEBUG: Read: NX> 1002 Commit<BR>NX> 105 NX> 1006 Session status: running<BR>/usr/bin/nxserver: line 1041: 14373 Terminated              ( sleep $AGENT_STAR<BR>UP_TIMEOUT; exit 1 )<BR>bye</DIV>
<DIV>DEBUG: NXProtocol: parsed line has code '1002' and string 'Commit'.<BR>DEBUG: NXProtocol: skip NX code '1002'<BR>DEBUG: NXProtocol: parsed line has code '105' and string 'NX> 1006 Session stat<BR>s: running'.<BR>DEBUG: NXProtocol: line does not contain token NX.<BR>DEBUG: NXProtocol: line is: /usr/bin/nxserver: line 1041: 14373 Terminated<BR>        ( sleep $AGENT_STARTUP_TIMEOUT; exit 1 )<BR>DEBUG: NXProtocol: line does not contain token NX.<BR>DEBUG: NXProtocol: line is: bye<BR>INFO: Initializing X protocol compression.<BR>I> Initializing X protocol compression.<BR>DEBUG: Read:<BR>NXPROXY - Version 1.4.0</DIV>
<DIV>Copyright (C) 2001, 2004 NoMachine.<BR>See <A href="http://www.nomachine.com/">http://www.nomachine.com/</A> for more information.</DIV>
<DIV>Info: Proxy running in client mode with pid '3532'.<BR>Info: Waiting for connection from any host on port '33057'.</DIV>
<DIV>DEBUG: NXProtocol:<BR>DEBUG: NXProtocol: NXPROXY - Version 1.4.0<BR>DEBUG: NXProtocol:<BR>DEBUG: NXProtocol: Copyright (C) 2001, 2004 NoMachine.<BR>DEBUG: NXProtocol: See <A href="http://www.nomachine.com/">http://www.nomachine.com/</A> for more information.<BR>DEBUG: NXProtocol:<BR>DEBUG: NXProtocol: Proxy running in client mode with pid '3532'.<BR>DEBUG: NXProtocol: Waiting for connection from any host on port '33057'.<BR>DEBUG: Read: Bye<BR>NX> 999 Bye</DIV>
<DIV>DEBUG: NXProtocol: line does not contain token NX.<BR>DEBUG: NXProtocol: line is: Bye<BR>DEBUG: NXProtocol: parsed line has code '999' and string 'Bye'.<BR>INFO: NXProtocol: connection closed.<BR>DEBUG: NXProtocol: searching for error...<BR>DEBUG: NXProtocol: parsed line has code '203' and string 'NXSSH running with pi<BR>: 2172'.<BR>DEBUG: NXProtocol: parsed line has code '285' and string 'Enabling check on swi<BR>ch command'.<BR>DEBUG: NXProtocol: parsed line has code '200' and string 'Connected to address:<BR>172.19.148.117 on port: 22'.<BR>DEBUG: NXProtocol: parsed line has code '202' and string 'Authenticating user:<BR>x'.<BR>DEBUG: NXProtocol: parsed line has code '208' and string 'Using auth method: pu<BR>lickey'.<BR>DEBUG: NXProtocol: parsed line has code '105' and string 'hello NXCLIENT - Vers<BR>on 1.4.0'.<BR>DEBUG: NXProtocol: parsed line has code '134' and string 'Accepted protocol: 1.<BR>.0'.<BR>DEBUG: NXProtocol: parsed line has code '105' and string 'SET SHELL_MODE SHELL'</DIV>
<DIV>DEBUG: NXProtocol: parsed line has code '105' and string 'login'.<BR>DEBUG: NXProtocol: parsed line has code '101' and string 'User: hrj'.<BR>DEBUG: NXProtocol: parsed line has code '102' and string 'Password: '.<BR>DEBUG: NXProtocol: parsed line has code '103' and string 'Welcome to: localhost<BR>localdomain user: hrj'.<BR>DEBUG: NXProtocol: parsed line has code '105' and string 'startsession --sessio<BR>="rrr.nxs" --cookie="******" --type="unix-kde" --cache="8m" --link="lan" --geom<BR>try="fullscreen" --encryption="1" --cache="1" --nodelay="1" --stream="1" --medi<BR>="0" --samba="0" --images="32m" '.<BR>DEBUG: NXProtocol: line does not contain token NX.<BR>DEBUG: NXProtocol: line is:<BR>DEBUG: NXProtocol: parsed line has code '1000' and string 'NXNODE - Version 1.4<BR>0-44 OS (GPL)'.<BR>DEBUG: NXProtocol: parsed line has code '700' and string 'Session id: localhost<BR>localdomain-1008-DBBBBD41F24548BE09FB6D205EB625F6'.<BR>DEBUG: NXProtocol: parsed line has code '705' and string 'Session display: 1008<BR>.<BR>DEBUG: NXProtocol: parsed line has code '703' and string 'Session type: unix-kd<BR>'.<BR>DEBUG: NXProtocol: parsed line has code '701' and string 'Proxy cookie: 2289c8c<BR>ce3e58bee9d8b41ed21ba984'.<BR>DEBUG: NXProtocol: parsed line has code '702' and string 'Proxy IP: 127.0.0.1'.<BR>DEBUG: NXProtocol: parsed line has code '706' and string 'Agent cookie: 2289c8c<BR>ce3e58bee9d8b41ed21ba984'.<BR>DEBUG: NXProtocol: parsed line has code '704' and string 'Session cache: unix-k<BR>e'.<BR>DEBUG: NXProtocol: parsed line has code '707' and string 'SSL tunneling: 1'.<BR>DEBUG: NXProtocol: parsed line has code '710' and string 'Session status: runni<BR>g'.<BR>DEBUG: NXProtocol: parsed line has code '1002' and string 'Commit'.<BR>DEBUG: NXProtocol: parsed line has code '105' and string 'NX> 1006 Session stat<BR>s: running'.<BR>DEBUG: NXProtocol: line does not contain token NX.<BR>DEBUG: NXProtocol: line is: /usr/bin/nxserver: line 1041: 14373 Terminated<BR>        ( sleep $AGENT_STARTUP_TIMEOUT; exit 1 )<BR>DEBUG: NXProtocol: line does not contain token NX.<BR>DEBUG: NXProtocol: line is: bye<BR>DEBUG: NXProtocol: line does not contain token NX.<BR>DEBUG: NXProtocol: line is: Bye<BR>DEBUG: NXProtocol: parsed line has code '999' and string 'Bye'.<BR>DEBUG: NXProtocol: error not found.<BR>DEBUG: NXProtocol: Sending Switch...<BR>DEBUG: Write: NX> 299 Switching connection to: 127.0.0.1:33057 cookie: 2289c8c6<BR>e3e58bee9d8b41ed21ba984</DIV>
<DIV>DEBUG: Read: NX> 285 Identified host: 127.0.0.1 port: 33057<BR>NX> 285 Identified cookie: 2289c8c6ce3e58bee9d8b41ed21ba984</DIV>
<DIV>NX> 291 Connecting to: 127.0.0.1:33057</DIV>
<DIV>DEBUG: NXProtocol: parsed line has code '285' and string 'Identified host: 127.<BR>.0.1 port: 33057'.<BR>DEBUG: NXProtocol: skip NX code '285'<BR>DEBUG: NXProtocol: parsed line has code '285' and string 'Identified cookie: 22<BR>9c8c6ce3e58bee9d8b41ed21ba984'.<BR>DEBUG: NXProtocol: skip NX code '285'<BR>DEBUG: NXProtocol: line does not contain token NX.<BR>DEBUG: NXProtocol: line is:<BR>DEBUG: NXProtocol: parsed line has code '291' and string 'Connecting to: 127.0.<BR>.1:33057'.<BR>DEBUG: NXProtocol: skip NX code '291'<BR>DEBUG: NXProtocol: searching for error...<BR>DEBUG: NXProtocol: parsed line has code '203' and string 'NXSSH running with pi<BR>: 2172'.<BR>DEBUG: NXProtocol: parsed line has code '285' and string 'Enabling check on swi<BR>ch command'.<BR>DEBUG: NXProtocol: parsed line has code '200' and string 'Connected to address:<BR>172.19.148.117 on port: 22'.<BR>DEBUG: NXProtocol: parsed line has code '202' and string 'Authenticating user:<BR>x'.<BR>DEBUG: NXProtocol: parsed line has code '208' and string 'Using auth method: pu<BR>lickey'.<BR>DEBUG: NXProtocol: parsed line has code '105' and string 'hello NXCLIENT - Vers<BR>on 1.4.0'.<BR>DEBUG: NXProtocol: parsed line has code '134' and string 'Accepted protocol: 1.<BR>.0'.<BR>DEBUG: NXProtocol: parsed line has code '105' and string 'SET SHELL_MODE SHELL'</DIV>
<DIV>DEBUG: NXProtocol: parsed line has code '105' and string 'login'.<BR>DEBUG: NXProtocol: parsed line has code '101' and string 'User: hrj'.<BR>DEBUG: NXProtocol: parsed line has code '102' and string 'Password: '.<BR>DEBUG: NXProtocol: parsed line has code '103' and string 'Welcome to: localhost<BR>localdomain user: hrj'.<BR>DEBUG: NXProtocol: parsed line has code '105' and string 'startsession --sessio<BR>="rrr.nxs" --cookie="******" --type="unix-kde" --cache="8m" --link="lan" --geom<BR>try="fullscreen" --encryption="1" --cache="1" --nodelay="1" --stream="1" --medi<BR>="0" --samba="0" --images="32m" '.<BR>DEBUG: NXProtocol: line does not contain token NX.<BR>DEBUG: NXProtocol: line is:<BR>DEBUG: NXProtocol: parsed line has code '1000' and string 'NXNODE - Version 1.4<BR>0-44 OS (GPL)'.<BR>DEBUG: NXProtocol: parsed line has code '700' and string 'Session id: localhost<BR>localdomain-1008-DBBBBD41F24548BE09FB6D205EB625F6'.<BR>DEBUG: NXProtocol: parsed line has code '705' and string 'Session display: 1008<BR>.<BR>DEBUG: NXProtocol: parsed line has code '703' and string 'Session type: unix-kd<BR>'.<BR>DEBUG: NXProtocol: parsed line has code '701' and string 'Proxy cookie: 2289c8c<BR>ce3e58bee9d8b41ed21ba984'.<BR>DEBUG: NXProtocol: parsed line has code '702' and string 'Proxy IP: 127.0.0.1'.<BR>DEBUG: NXProtocol: parsed line has code '706' and string 'Agent cookie: 2289c8c<BR>ce3e58bee9d8b41ed21ba984'.<BR>DEBUG: NXProtocol: parsed line has code '704' and string 'Session cache: unix-k<BR>e'.<BR>DEBUG: NXProtocol: parsed line has code '707' and string 'SSL tunneling: 1'.<BR>DEBUG: NXProtocol: parsed line has code '710' and string 'Session status: runni<BR>g'.<BR>DEBUG: NXProtocol: parsed line has code '1002' and string 'Commit'.<BR>DEBUG: NXProtocol: parsed line has code '105' and string 'NX> 1006 Session stat<BR>s: running'.<BR>DEBUG: NXProtocol: line does not contain token NX.<BR>DEBUG: NXProtocol: line is: /usr/bin/nxserver: line 1041: 14373 Terminated<BR>        ( sleep $AGENT_STARTUP_TIMEOUT; exit 1 )<BR>DEBUG: NXProtocol: line does not contain token NX.<BR>DEBUG: NXProtocol: line is: bye<BR>DEBUG: NXProtocol: line does not contain token NX.<BR>DEBUG: NXProtocol: line is: Bye<BR>DEBUG: NXProtocol: parsed line has code '999' and string 'Bye'.<BR>DEBUG: NXProtocol: parsed line has code '285' and string 'Identified host: 127.<BR>.0.1 port: 33057'.<BR>DEBUG: NXProtocol: parsed line has code '285' and string 'Identified cookie: 22<BR>9c8c6ce3e58bee9d8b41ed21ba984'.<BR>DEBUG: NXProtocol: line does not contain token NX.<BR>DEBUG: NXProtocol: line is:<BR>DEBUG: NXProtocol: parsed line has code '291' and string 'Connecting to: 127.0.<BR>.1:33057'.<BR>DEBUG: NXProtocol: error not found.<BR>DEBUG: NXProtocol: Sending Switch...<BR>DEBUG: Write: NX> 299 Switching connection to: 127.0.0.1:33057 cookie: 2289c8c6<BR>e3e58bee9d8b41ed21ba984</DIV>
<DIV>DEBUG: Read: Info: Accepted connection from '127.0.0.1' on port '3375'.<BR>Info: Connection with remote proxy established.<BR>Warning: Connected to remote NXPROXY version 1.5.0 with local version 1.4.0.<BR>Warning: Consider checking <A href="http://www.nomachine.com/">http://www.nomachine.com/</A> for updates.<BR>Info: Handshaking with remote proxy ':5008' completed.<BR>Info: Synchronizing local and remote caches.<BR>Info: Not using NX delta compression.<BR>Info: Using lan link parameters 16384/80/16/8192.<BR>Info: Using pack method '16m-jpeg-9' with session 'unix-kde'.<BR>Info: Not using ZLIB stream compression.<BR>Info: Not using remote ZLIB stream compression.<BR>Info: Not using persistent cache.<BR>Info: Using remote server connected on port '33057'.<BR>Info: Starting X protocol compression.</DIV>
<DIV>DEBUG: NXProtocol: Accepted connection from '127.0.0.1' on port '3375'.<BR>DEBUG: NXProtocol: Connection with remote proxy established.<BR>DEBUG: NXProtocol: Warning: Connected to remote NXPROXY version 1.5.0 with loca<BR> version 1.4.0.<BR>DEBUG: NXProtocol: Warning: Consider checking <A href="http://www.nomachine.com/">http://www.nomachine.com/</A> for upd<BR>tes.<BR>DEBUG: NXProtocol: Handshaking with remote proxy ':5008' completed.<BR>DEBUG: NXProtocol: Synchronizing local and remote caches.<BR>DEBUG: NXProtocol: Not using NX delta compression.<BR>DEBUG: NXProtocol: Using lan link parameters 16384/80/16/8192.<BR>DEBUG: NXProtocol: Using pack method '16m-jpeg-9' with session 'unix-kde'.<BR>DEBUG: NXProtocol: Not using ZLIB stream compression.<BR>DEBUG: NXProtocol: Not using remote ZLIB stream compression.<BR>DEBUG: NXProtocol: Not using persistent cache.<BR>DEBUG: NXProtocol: Using remote server connected on port '33057'.<BR>DEBUG: NXProtocol: Starting X protocol compression.<BR>DEBUG: Read: NX> 285 Sending authentication cookie: 2289C8C6CE3E58BEE9D8B41ED21<BR>A984<BR>NX> 285 Switching descriptors: 4 and: 5 to: 7</DIV>
<DIV>NX> 287 Redirected I/O to channel descriptors</DIV>
<DIV>DEBUG: NXProtocol: parsed line has code '285' and string 'Sending authenticatio<BR> cookie: 2289C8C6CE3E58BEE9D8B41ED21BA984'.<BR>DEBUG: NXProtocol: skip NX code '285'<BR>DEBUG: NXProtocol: parsed line has code '285' and string 'Switching descriptors<BR> 4 and: 5 to: 7'.<BR>DEBUG: NXProtocol: skip NX code '285'<BR>DEBUG: NXProtocol: line does not contain token NX.<BR>DEBUG: NXProtocol: line is:<BR>DEBUG: NXProtocol: parsed line has code '287' and string 'Redirected I/O to cha<BR>nel descriptors'.<BR>DEBUG: NXProtocol: skip NX code '287'<BR>INFO: Negotiating link parameters.<BR>I> Negotiating link parameters.<BR>DEBUG: Read: Error: Connection to ':0' failed. Error is 111 'Connection refused<BR>.</DIV>
<DIV>ERROR: NXProtocol: proxy error 'Connection to ':0' failed. Error is 111 'Connec<BR>ion refused'.' found.<BR>Connection to ':0' failed. Error is 111 'Connection refused'.<BR>ERROR: Connection to ':0' failed. Error is 111 'Connection refused'.<BR>E> Connection to ':0' failed. Error is 111 'Connection refused'.<BR>INFO: Error occurred. For more info check 'c:\.nx\temp/1992\sshlog'.<BR>I> Error occurred. For more info check 'c:\.nx\temp/1992\sshlog'.<BR>DEBUG: NXConnection's destructor called.<BR>DEBUG: cleaning up NXConnection.<BR>DEBUG: deleting Server Connection<BR>DEBUG: NXConnection clean.</DIV>
<DIV> </DIV>
<DIV>Following is the content of 'c:\.nx\temp/1992\sshlog':</DIV>
<DIV> </DIV>
<DIV>NX> 203 NXSSH running with pid: 2172<BR>NX> 285 Enabling check on switch command<BR>NX> 200 Connected to address: 172.19.148.117 on port: 22<BR>NX> 202 Authenticating user: nx<BR>NX> 208 Using auth method: publickey<BR>HELLO NXSERVER - Version 1.4.0-44 OS (GPL)<BR>NX> 105 hello NXCLIENT - Version 1.4.0<BR>NX> 134 Accepted protocol: 1.4.0<BR>NX> 105 SET SHELL_MODE SHELL<BR>NX> 105 login<BR>NX> 101 User: hrj<BR>NX> 102 Password: <BR>NX> 103 Welcome to: localhost.localdomain user: hrj<BR>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" </DIV>
<DIV>NX> 1000 NXNODE - Version 1.4.0-44 OS (GPL)<BR>NX> 700 Session id: localhost.localdomain-1008-DBBBBD41F24548BE09FB6D205EB625F6<BR>NX> 705 Session display: 1008<BR>NX> 703 Session type: unix-kde<BR>NX> 701 Proxy cookie: 2289c8c6ce3e58bee9d8b41ed21ba984<BR>NX> 702 Proxy IP: 127.0.0.1<BR>NX> 706 Agent cookie: 2289c8c6ce3e58bee9d8b41ed21ba984<BR>NX> 704 Session cache: unix-kde<BR>NX> 707 SSL tunneling: 1<BR>NX> 710 Session status: running<BR>NX> 1002 Commit<BR>NX> 105 NX> 1006 Session status: running<BR>/usr/bin/nxserver: line 1041: 14373 Terminated              ( sleep $AGENT_STARTUP_TIMEOUT; exit 1 )<BR>bye<BR>Bye<BR>NX> 999 Bye<BR>NX> 285 Identified host: 127.0.0.1 port: 33057<BR>NX> 285 Identified cookie: 2289c8c6ce3e58bee9d8b41ed21ba984</DIV>
<DIV>NX> 291 Connecting to: 127.0.0.1:33057<BR>NX> 285 Sending authentication cookie: 2289C8C6CE3E58BEE9D8B41ED21BA984<BR>NX> 285 Switching descriptors: 4 and: 5 to: 7</DIV>
<DIV>NX> 287 Redirected I/O to channel descriptors<BR></DIV>
<DIV>can anyone offer some help? i have got stuck in this problem for a few days.</DIV><br><!-- footer --><br><hr>
<a style="font-size:12px;line-height:15px; color:#000; text-decoration:none" href="http://www.126.com/">想免费获得高速稳定的3G邮箱吗? <span style="font-family:Tahoma; text-decoration:underline; color:blue">www.126.com</span> </a>