[FreeNX-kNX] Connection for a second

Jochen Georges jochengeorges at yahoo.de
Tue Aug 29 18:54:51 UTC 2006


Hello, 

maybe I'm a step further.

nxclient and nxserver connect to each other, but only for a second.

Thanks for any help.
Jochen

__This is the situation:__
freenx 0.4.4+0.4.5-4, running on kanotix
nxclient 1.4.0-91 running on a live-knoppix

__This is what I did:__
- apt-get install freenx nxagent
- In the configuration I choosed the no-machine-key.
- Changed SSHD_Port in /etc/nxserver/node.conf to the port of my ssh-daemon
- I set PubkeyAuthentication to yes in /etc/ssh/sshd_config
- I added nx to the allowed Users in sshd_config: AllowUsers jochen nx

- I startet knoppix and set up the network interface.
- I can login on the server via ssh.
- Startet the nxclient.
- Everything seemed to be allright, a big window popped up with the NoMachine 
logo in the middle, but it died right away.

__This is what I found in the files ...:__

 ... .nx/S-rod-1000-07B5D3BAC2A4EFB5F89D26B7A2D4AFB9/errors 
 ... .nx/S-rod-1000-07B5D3BAC2A4EFB5F89D26B7A2D4AFB9/session
 ... .nx/temp/3465/runlog
 ... .nx/temp/3465/sshlog

####################################################

.nx/S-rod-1000-07B5D3BAC2A4EFB5F89D26B7A2D4AFB9/errors : 

Loop: WARNING! Connected to remote NXPROXY version 1.5.0 with local version 
1.4.0.
Loop: WARNING! Disabling NX delta compression.
Loop: WARNING! Disabling use of NX persistent cache.
handleShmemInit: WARNING! Not using shared memory support in X server for 
FD#6.

####################################################

.nx/S-rod-1000-07B5D3BAC2A4EFB5F89D26B7A2D4AFB9/session :

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 '3477'.
Info: Connecting to remote host '192.168.0.1:5000'.
Info: Connection to remote proxy '192.168.0.1:5000' 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 '192.168.0.1:5000' 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 '192.168.0.1:5000'.
Info: Starting X protocol compression.
Info: Established X server connection.
Warning: Not using shared memory support in X server.
Info: End of session requested by remote proxy.
Info: Shutting down the link and exiting.

####################################################

.nx/temp/3465/runlog : 

[Di Aug 29 20:31:12 2006]: Initializing the login dialog.
[Di Aug 29 20:31:12 2006]: AgentPassed has returned [0]
[Di Aug 29 20:31:13 2006]: Going to get the X authorization cookie on display.
[Di Aug 29 20:31:13 2006]: Trying the XAUTHORITY environment variable with 
value [].
[Di Aug 29 20:31:13 2006]: Trying the default value 
[/home/knoppix/.Xauthority].
[Di Aug 29 20:31:13 2006]: Running command 
[/usr/X11R6/bin/xauth -f /home/knoppix/.Xauthority nextract - :0.0 | cut -f 
9 -d ' ' 1>/home/knoppix/.nx/temp/3465/authlog 2>/dev/null].
[Di Aug 29 20:31:13 2006]: Got or created the X authorization cookie 
[ef2557716d1796944924ea9338e82cee].
[Di Aug 29 20:31:13 2006]: SpawnProcess method has returned [1]
[Di Aug 29 20:31:13 2006]: Process [nxssh] running with pid [0xd8e]
[Di Aug 29 20:31:13 2006]: Received line from nxssh process [NX> 203 NXSSH 
running with pid: 3470
] with code [203]
[Di Aug 29 20:31:13 2006]: Received line from nxssh process [NX> 285 Enabling 
skip of SSH config files
] with code [285]
[Di Aug 29 20:31:13 2006]: Received line from nxssh process [NX> 200 Connected 
to address: 192.168.0.1 on port: 2208
] with code [200]
[Di Aug 29 20:31:13 2006]: Received line from nxssh process [NX> 202 
Authenticating user: nx
] with code [202]
[Di Aug 29 20:31:14 2006]: Received line from nxssh process [NX> 208 Using 
auth method: publickey
] with code [208]
[Di Aug 29 20:31:14 2006]: Received line from nxssh process [HELLO NXSERVER - 
Version 1.4.0-45-SVN OS (GPL)
] with code [1000]
[Di Aug 29 20:31:14 2006]: Session type passed to 
LoginDialog::createStartSessionString is []
[Di Aug 29 20:31:14 2006]: Session name passed to 
LoginDialog::createStartSessionString is []
[Di Aug 29 20:31:14 2006]: LAYOUT=de
[Di Aug 29 20:31:14 2006]: Keyboard parameters are [&kbtype=pc105/de]
[Di Aug 29 20:31:14 2006]: Parameters passed to NX server 
[session=kjsdf&type=unix-kde&cache=8M&images=32M&cookie=ef2557716d1796944924ea9338e82cee&link=lan&kbtype=pc105/de&nodelay=1&backingstore=when_requested&geometry=1024x768+0+0&media=0&agent_server=&agent_user=&agent_password=]
[Di Aug 29 20:31:14 2006]: Received line from nxssh process [NX> 105 ] with 
code [105]
[Di Aug 29 20:31:14 2006]: Received line from nxssh process [hello NXCLIENT - 
Version 1.4.0
] with code [-1]
[Di Aug 29 20:31:14 2006]: Received line from nxssh process [NX> 134 Accepted 
protocol: 1.4.0
] with code [134]
[Di Aug 29 20:31:14 2006]: Received line from nxssh process [NX> 105 SET 
SHELL_MODE SHELL
] with code [105]
[Di Aug 29 20:31:14 2006]: Received line from nxssh process [NX> 105 SET 
AUTH_MODE PASSWORD
] with code [105]
[Di Aug 29 20:31:14 2006]: Received line from nxssh process [NX> 105 login
] with code [105]
[Di Aug 29 20:31:14 2006]: Received line from nxssh process [NX> 101 User: ] 
with code [101]
[Di Aug 29 20:31:14 2006]: Received line from nxssh process [jochen
] with code [-1]
[Di Aug 29 20:31:14 2006]: Received line from nxssh process [NX> 102 Password: 
] with code [102]
[Di Aug 29 20:31:14 2006]: Received line from nxssh process [NX> 103 Welcome 
to: rod user: jochen
] with code [103]
[Di Aug 29 20:31:14 2006]: Received line from nxssh process [NX> 105 ] with 
code [105]
[Di Aug 29 20:31:15 2006]: Received line from nxssh process 
[listsession --user="jochen" --status="Suspended","Running" --geometry="1024x768x16+render" --type="unix-kde"
] with code [-1]
[Di Aug 29 20:31:15 2006]: Received line from nxssh process [NX> 127 Sessions 
list of user 'jochen' for reconnect:
] with code [127]
[Di Aug 29 20:31:15 2006]: Received line from nxssh process [
] with code [-1]
[Di Aug 29 20:31:15 2006]: Received line from nxssh process [Display Type             
Session ID                       Options  Depth Screen         Status      
Session Name
] with code [-1]
[Di Aug 29 20:31:15 2006]: Received line from nxssh process 
[------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
] with code [-1]
[Di Aug 29 20:31:15 2006]: Received line from nxssh process [
] with code [-1]
[Di Aug 29 20:31:15 2006]: Received line from nxssh process [
] with code [-1]
[Di Aug 29 20:31:15 2006]: Received line from nxssh process [NX> 148 Server 
capacity: not reached for user: jochen
] with code [148]
[Di Aug 29 20:31:15 2006]: Session type passed to 
LoginDialog::createStartSessionString is []
[Di Aug 29 20:31:15 2006]: Session name passed to 
LoginDialog::createStartSessionString is []
[Di Aug 29 20:31:15 2006]: LAYOUT=de
[Di Aug 29 20:31:15 2006]: Keyboard parameters are [&kbtype=pc105/de]
[Di Aug 29 20:31:15 2006]: Parameters passed to NX server 
[session=kjsdf&type=unix-kde&cache=8M&images=32M&cookie=ef2557716d1796944924ea9338e82cee&link=lan&kbtype=pc105/de&nodelay=1&backingstore=when_requested&geometry=1024x768+0+0&media=0&agent_server=&agent_user=&agent_password=]
[Di Aug 29 20:31:15 2006]: Start automatically the session with the parameters 
[startsession --session="kjsdf" --type="unix-kde" --cache="8M" --images="32M" --cookie="ef2557716d1796944924ea9338e82cee" --link="lan" --kbtype="pc105/de" --nodelay="1" --backingstore="when_requested" --geometry="1024x768+0+0" --media="0" --agent_server="" --agent_user="" --agent_password=""  --screeninfo="1024x768x16+render"
]
[Di Aug 29 20:31:15 2006]: Received line from nxssh process [NX> 105 ] with 
code [105]
[Di Aug 29 20:31:17 2006]: Received line from nxssh process 
[startsession --session="kjsdf" --type="unix-kde" --cache="8M" --images="32M" --cookie="******" --link="lan" --kbtype="pc105/de" --nodelay="1" --backingstore="when_requested" --geometry="1024x768+0+0" --media="0" --agent_server="" --agent_user="" 
agent_password="******"1024x768x16+render" 
] with code [-1]
[Di Aug 29 20:31:17 2006]: Received line from nxssh process [
] with code [-1]
[Di Aug 29 20:31:18 2006]: Received line from nxssh process [NX> 1000 NXNODE - 
Version 1.4.0-45-SVN OS (GPL)
] with code [1000]
[Di Aug 29 20:31:18 2006]: Received line from nxssh process [NX> 700 Session 
id: rod-1000-07B5D3BAC2A4EFB5F89D26B7A2D4AFB9
] with code [700]
[Di Aug 29 20:31:18 2006]: Received line from nxssh process [NX> 705 Session 
display: 1000
] with code [705]
[Di Aug 29 20:31:18 2006]: Received line from nxssh process [NX> 703 Session 
type: unix-kde
] with code [703]
[Di Aug 29 20:31:18 2006]: Received line from nxssh process [NX> 701 Proxy 
cookie: 8ab53384fc1f32e65889689182a6d681
] with code [701]
[Di Aug 29 20:31:18 2006]: Received line from nxssh process [NX> 702 Proxy IP: 
192.168.0.15
] with code [702]
[Di Aug 29 20:31:18 2006]: Received line from nxssh process [NX> 706 Agent 
cookie: ef2557716d1796944924ea9338e82cee
] with code [706]
[Di Aug 29 20:31:18 2006]: Received line from nxssh process [NX> 704 Session 
cache: unix-kde
] with code [704]
[Di Aug 29 20:31:18 2006]: Received line from nxssh process [NX> 707 SSL 
tunneling: 0
] with code [707]
[Di Aug 29 20:31:19 2006]: Received line from nxssh process [NX> 710 Session 
status: running
] with code [710]
[Di Aug 29 20:31:19 2006]: Received line from nxssh process [NX> 1002 Commit
] with code [1002]
[Di Aug 29 20:31:19 2006]: Received line from nxssh process [NX> 
105 /usr/lib/nx/nxserver: line 891: 12015 Beendet                 ( sleep 
$AGENT_STARTUP_TIMEOUT; exit 1 )
] with code [105]
[Di Aug 29 20:31:19 2006]: Received line from nxssh process [NX> 1006 Session 
status: running
] with code [1006]
[Di Aug 29 20:31:20 2006]: Received line from nxssh process [bye
] with code [-1]
[Di Aug 29 20:31:20 2006]: Received line from nxssh process [NX> 1001 Bye.
] with code [1001]
[Di Aug 29 20:31:20 2006]: Received line from nxssh process [NX> 105 Bye
] with code [105]
[Di Aug 29 20:31:20 2006]: Received line from nxssh process [NX> 999 Bye
] with code [999]
[Di Aug 29 20:31:20 2006]: Received code [999]

[Di Aug 29 20:31:20 2006]: XSetSelectionOwner with time elapsed [0]
[Di Aug 29 20:31:20 2006]: Going to start the NX proxy process.
[Di Aug 29 20:31:20 2006]: SpawnProcess method has returned [1]
[Di Aug 29 20:31:20 2006]: Process [nxproxy] running with pid [0xd95]
[Di Aug 29 20:31:21 2006]: AgentPassed has returned [1]
[Di Aug 29 20:31:21 2006]: LoginDialog: Agent found closing windows...
[Di Aug 29 20:31:21 2006]: LoginDialog: closeEvent received!
[Di Aug 29 20:31:21 2006]: Try to stop the process [nxssh] with pid [0xd8e]
[Di Aug 29 20:31:21 2006]: Received SIGCHILD
[Di Aug 29 20:31:21 2006]: Called the destructor for process [nxssh]
[Di Aug 29 20:31:21 2006]: Called the destructor for process [nxproxy]

####################################################

.nx/temp/3465/sshlog:

NX> 203 NXSSH running with pid: 3470
NX> 285 Enabling skip of SSH config files
NX> 200 Connected to address: 192.168.0.1 on port: 2208
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 1.4.0-45-SVN 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: jochen
NX> 102 Password: 
NX> 103 Welcome to: rod user: jochen
NX> 105 
listsession --user="jochen" --status="Suspended","Running" --geometry="1024x768x16+render" --type="unix-kde"
NX> 127 Sessions list of user 'jochen' for reconnect:

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


NX> 148 Server capacity: not reached for user: jochen
NX> 105 
startsession --session="kjsdf" --type="unix-kde" --cache="8M" --images="32M" --cookie="******" --link="lan" --kbtype="pc105/de" --nodelay="1" --backingstore="when_requested" --geometry="1024x768+0+0" --media="0" --agent_server="" --agent_user="" 
agent_password="******"1024x768x16+render" 

NX> 1000 NXNODE - Version 1.4.0-45-SVN OS (GPL)
NX> 700 Session id: rod-1000-07B5D3BAC2A4EFB5F89D26B7A2D4AFB9
NX> 705 Session display: 1000
NX> 703 Session type: unix-kde
NX> 701 Proxy cookie: 8ab53384fc1f32e65889689182a6d681
NX> 702 Proxy IP: 192.168.0.15
NX> 706 Agent cookie: ef2557716d1796944924ea9338e82cee
NX> 704 Session cache: unix-kde
NX> 707 SSL tunneling: 0
NX> 710 Session status: running
NX> 1002 Commit
NX> 105 /usr/lib/nx/nxserver: line 891: 12015 Beendet                 ( sleep 
$AGENT_STARTUP_TIMEOUT; exit 1 )
NX> 1006 Session status: running
bye
NX> 1001 Bye.
NX> 105 Bye
NX> 999 Bye
Killed by signal 15.

	

	
		
___________________________________________________________ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de



More information about the FreeNX-kNX mailing list