<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1" />
<title>Stops at negotiating link parameters</title>
</head>
<body>
Hi all,
As a linux newbie I was pleasantly surprised to see that I could manage my home machine from my isdn-ed laptop at work with something approaching native speed. However, all of a sudden it's all gone pear shaped, for some reason I can't fathom.
What happened is that after some networking problem (someone unplugged the hub...) that caused a working nx session to fail, I can no longer create a new one. On my local laptop (Suse Linux 9.3 with NoMachine client NXCLIENT - 1.4.0-91) I start the client, which goes through:
connecting -> connected -> authenticating -> authenticated -> negotiating link parameters -> "could not yet establish a connection" and eventually times out unless I hit Yes in the dialog box.
On the server (SLES9 + NXSERVER - Version 1.4.0-04-CVS OS (GPL)) I've tried the following:
- kill all previous sessions
- restart nxserver
On the client I've tried the following:
- kill all processes with nx in 'em
- restart
- zap the local .nx folder
- create new profile
On the server's log file I'm seeing:
-- NX SERVER START: -c /usr/bin/nxserver
HELLO NXSERVER - Version 1.4.0-04-CVS 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 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: bert
NX> 102 Password:
NX> 103 Welcome to: s1 user: bert
NX> 105 listsession --user="bert" --status="Suspended","Running" --geometry="1680x1050x24+render" --type="unix-kde"
NX> 127 Sessions list of user 'bert' for reconnect:
Display Type Session ID Options Depth Screen Status Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
NX> 148 Server capacity: not reached for user: bert
NX> 105 startsession --session="s1" --type="unix-kde" --cache="8M" --images="32M" --cookie="1e6728bb6e7498b7498f84abd4403458" --link="isdn" --kbtype="pc102/us" --nodelay="1" --backingstore="never" --geometry="1680x1001" --media="0" --agent_server="" --agent_user="" --agent_password="" --screeninfo="1680x1001x24+render"
NX> 1000 NXNODE - Version 1.4.0-04-CVS OS (GPL)
NX> 700 Session id: s1-1001-3591C31DF330B5F1309259F68006E5F0
NX> 705 Session display: 1001
NX> 703 Session type: unix-kde
NX> 701 Proxy cookie: 96220b5ae0ef50d0df09ad1b9e438f0a
NX> 702 Proxy IP: xxx.xxx.224.18
NX> 706 Agent cookie: 1e6728bb6e7498b7498f84abd4403000
NX> 704 Session cache: unix-kde
NX> 707 SSL tunneling: 0
NX> 710 Session status: running
NX> 1002 Commit
NX> 1006 Session status: running
NX> 105 bye
Bye
NX> 999 Bye
NX> 1001 Bye.
NX> 105 NX> 1004 Error:
Session 's1-1001-3591C31DF330B5F1309259F68006E5F0' has failed after reaching usable state.
NX> 504 Session startup failed.
NX> 1001 Bye.
On the client's runlog file I'm seeing:
[Thu Jun 30 10:34:28 2005]: Initializing the login dialog.
[Thu Jun 30 10:35:30 2005]: Going to get the X authorization cookie on display.
[Thu Jun 30 10:35:30 2005]: Trying the XAUTHORITY environment variable with value [].
[Thu Jun 30 10:35:30 2005]: Trying the default value [/home/bert/.Xauthority].
[Thu Jun 30 10:35:30 2005]: Running command [/usr/X11R6/bin/xauth -f /home/bert/.Xauthority nextract - :0.0 | cut -f 9 -d ' ' 1>/home/bert/.nx/temp/9357/authlog 2>/dev/null].
[Thu Jun 30 10:35:30 2005]: Got or created the X authorization cookie [1e6728bb6e7498b7498f84abd4403000].
[Thu Jun 30 10:35:31 2005]: SpawnProcess method has returned [1]
[Thu Jun 30 10:35:31 2005]: Process [nxssh] running with pid [0x24cd]
[Thu Jun 30 10:35:31 2005]: Received line from nxssh process [NX> 203 NXSSH running with pid: 9421
] with code [203]
[Thu Jun 30 10:35:31 2005]: Received line from nxssh process [NX> 285 Enabling skip of SSH config files
] with code [285]
[Thu Jun 30 10:35:31 2005]: Received line from nxssh process [NX> 200 Connected to address: xxx.xxx.11.212 on port: 22
] with code [200]
[Thu Jun 30 10:35:31 2005]: Received line from nxssh process [NX> 202 Authenticating user: nx
] with code [202]
[Thu Jun 30 10:35:31 2005]: Received line from nxssh process [NX> 208 Using auth method: publickey
] with code [208]
[Thu Jun 30 10:35:33 2005]: Received line from nxssh process [HELLO NXSERVER - Version 1.4.0-04-CVS OS (GPL)
] with code [1000]
[Thu Jun 30 10:35:33 2005]: Session type passed to LoginDialog::createStartSessionString is []
[Thu Jun 30 10:35:33 2005]: Session name passed to LoginDialog::createStartSessionString is []
[Thu Jun 30 10:35:33 2005]: LAYOUT=us
[Thu Jun 30 10:35:33 2005]: Keyboard parameters are [&kbtype=pc102/us]
[Thu Jun 30 10:35:33 2005]: Parameters passed to NX server [session=s1&type=unix-kde&cache=8M&images=32M&cookie=1e6728bb6e7498b7498f84abd4403458&link=isdn&kbtype=pc102/us&nodelay=1&backingstore=never&geometry=1680x1001&media=0&agent_server=&agent_user=&agent_password=]
[Thu Jun 30 10:35:33 2005]: Received line from nxssh process [NX> 105 ] with code [105]
[Thu Jun 30 10:35:33 2005]: Received line from nxssh process [hello NXCLIENT - Version 1.4.0
] with code [-1]
[Thu Jun 30 10:35:33 2005]: Received line from nxssh process [NX> 134 Accepted protocol: 1.4.0
] with code [134]
[Thu Jun 30 10:35:33 2005]: Received line from nxssh process [NX> 105 SET SHELL_MODE SHELL
] with code [105]
[Thu Jun 30 10:35:33 2005]: Received line from nxssh process [NX> 105 SET AUTH_MODE PASSWORD
] with code [105]
[Thu Jun 30 10:35:33 2005]: Received line from nxssh process [NX> 105 login
] with code [105]
[Thu Jun 30 10:35:33 2005]: Received line from nxssh process [NX> 101 User: ] with code [101]
[Thu Jun 30 10:35:33 2005]: Received line from nxssh process [bert
] with code [-1]
[Thu Jun 30 10:35:33 2005]: Received line from nxssh process [NX> 102 Password:
] with code [102]
[Thu Jun 30 10:35:33 2005]: Received line from nxssh process [NX> 103 Welcome to: s1 user: bert
] with code [103]
[Thu Jun 30 10:35:33 2005]: Received line from nxssh process [NX> 105 ] with code [105]
[Thu Jun 30 10:35:34 2005]: Received line from nxssh process [listsession --user="bert" --status="Suspended","Running" --geometry="1680x1050x24+render" --type="unix-kde"
] with code [-1]
[Thu Jun 30 10:35:34 2005]: Received line from nxssh process [NX> 127 Sessions list of user 'bert' for reconnect:
] with code [127]
[Thu Jun 30 10:35:34 2005]: Received line from nxssh process [
] with code [-1]
[Thu Jun 30 10:35:34 2005]: Received line from nxssh process [Display Type Session ID Options Depth Screen Status Session Name
] with code [-1]
[Thu Jun 30 10:35:34 2005]: Received line from nxssh process [ ------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
] with code [-1]
[Thu Jun 30 10:35:34 2005]: Received line from nxssh process [
] with code [-1]
[Thu Jun 30 10:35:34 2005]: Received line from nxssh process [
] with code [-1]
[Thu Jun 30 10:35:34 2005]: Received line from nxssh process [NX> 148 Server capacity: not reached for user: bert
] with code [148]
[Thu Jun 30 10:35:34 2005]: Session type passed to LoginDialog::createStartSessionString is []
[Thu Jun 30 10:35:34 2005]: Session name passed to LoginDialog::createStartSessionString is []
[Thu Jun 30 10:35:34 2005]: LAYOUT=us
[Thu Jun 30 10:35:34 2005]: Keyboard parameters are [&kbtype=pc102/us]
[Thu Jun 30 10:35:34 2005]: Parameters passed to NX server [session=s1&type=unix-kde&cache=8M&images=32M&cookie=1e6728bb6e7498b7498f84abd4403000&link=isdn&kbtype=pc102/us&nodelay=1&backingstore=never&geometry=1680x1001&media=0&agent_server=&agent_user=&agent_password=]
[Thu Jun 30 10:35:34 2005]: Start automatically the session with the parameters [startsession --session="s1" --type="unix-kde" --cache="8M" --images="32M" --cookie="1e6728bb6e7498b7498f84abd4403000" --link="isdn" --kbtype="pc102/us" --nodelay="1" --backingstore="never" --geometry="1680x1001" --media="0" --agent_server="" --agent_user="" --agent_password="" --screeninfo="1680x1001x24+render"
]
[Thu Jun 30 10:35:34 2005]: Received line from nxssh process [NX> 105 ] with code [105]
[Thu Jun 30 10:35:35 2005]: Received line from nxssh process [startsession --session="s1" --type="unix-kde" --cache="8M" --images="32M" --cookie="1e6728bb6e7498b7498f84abd4403000" --link="isdn" --kbtype="pc102/us" --nodelay="1" --backingstore="never" --geometry="1680x1001" --media="0" --agent_server="" --agent_user="" --agent_password="" --screeninfo="1680x1001x24+render"
] with code [-1]
[Thu Jun 30 10:35:35 2005]: Received line from nxssh process [
] with code [-1]
[Thu Jun 30 10:35:35 2005]: Received line from nxssh process [NX> 1000 NXNODE - Version 1.4.0-04-CVS OS (GPL)
] with code [1000]
[Thu Jun 30 10:35:36 2005]: Received line from nxssh process [NX> 700 Session id: s1-1001-1A77A5BC251C9006C102889A945AE6D6
] with code [700]
[Thu Jun 30 10:35:36 2005]: Received line from nxssh process [NX> 705 Session display: 1001
] with code [705]
[Thu Jun 30 10:35:36 2005]: Received line from nxssh process [NX> 703 Session type: unix-kde
] with code [703]
[Thu Jun 30 10:35:36 2005]: Received line from nxssh process [NX> 701 Proxy cookie: 234e9fedce3907236f7012c2f0a1231b
] with code [701]
[Thu Jun 30 10:35:36 2005]: Received line from nxssh process [NX> 702 Proxy IP: xxx.xxx.224.18
] with code [702]
[Thu Jun 30 10:35:36 2005]: Received line from nxssh process [NX> 706 Agent cookie: 1e6728bb6e7498b7498f84abd4403458
] with code [706]
[Thu Jun 30 10:35:36 2005]: Received line from nxssh process [NX> 704 Session cache: unix-kde
] with code [704]
[Thu Jun 30 10:35:36 2005]: Received line from nxssh process [NX> 707 SSL tunneling: 0
] with code [707]
[Thu Jun 30 10:35:37 2005]: Received line from nxssh process [NX> 710 Session status: running
] with code [710]
[Thu Jun 30 10:35:37 2005]: Received line from nxssh process [NX> 1002 Commit
] with code [1002]
[Thu Jun 30 10:35:37 2005]: Received line from nxssh process [NX> 1006 Session status: running
] with code [1006]
[Thu Jun 30 10:35:37 2005]: Received line from nxssh process [NX> 105 ] with code [105]
[Thu Jun 30 10:35:37 2005]: Received line from nxssh process [bye
] with code [-1]
[Thu Jun 30 10:35:37 2005]: Received line from nxssh process [NX> 1001 Bye.
] with code [1001]
[Thu Jun 30 10:35:37 2005]: Received line from nxssh process [NX> 105 Bye
] with code [105]
[Thu Jun 30 10:35:37 2005]: Received line from nxssh process [NX> 999 Bye
] with code [999]
[Thu Jun 30 10:35:37 2005]: Received code [999]
[Thu Jun 30 10:35:37 2005]: XSetSelectionOwner with time elapsed [0]
[Thu Jun 30 10:35:37 2005]: Going to start the NX proxy process.
[Thu Jun 30 10:35:37 2005]: SpawnProcess method has returned [1]
[Thu Jun 30 10:35:37 2005]: Process [nxproxy] running with pid [0x24d3]
[Thu Jun 30 10:35:56 2005]: Received SIGCHILD
[Thu Jun 30 10:35:57 2005]: Try to stop the process [nxproxy] with pid [0x24d3]
[Thu Jun 30 10:36:05 2005]: Try to stop the process [nxssh] with pid [0x24cd]
[Thu Jun 30 10:36:05 2005]: Received SIGCHILD
[Thu Jun 30 10:36:05 2005]: Try to stop the process [nxproxy] with pid [0x24d3]
[Thu Jun 30 10:36:06 2005]: LoginDialog: closeEvent received!
[Thu Jun 30 10:36:06 2005]: Called the destructor for process [nxssh]
[Thu Jun 30 10:36:06 2005]: Called the destructor for process [nxproxy]
Any suggestions, anyone?
Met vriendelijke groet / Kind regards,
--
Bert Plat <www.bertplat.net>
I have a grip on reality. Just not this one.
<pre>--
Met vriendelijke groet / Kind regards,
Bert Plat <www.bertplat.net>
So act that your principle of action might safely be made a law for the whole world.
-- Immanuel Kant
</pre>
</body>
</html>