[FreeNX-kNX] nxdesktop not working properly

Lockenvitz, Jan (EXT) jan.lockenvitz.ext at siemens.com
Wed Mar 28 13:02:15 UTC 2007


Hello,

i'm using freenx 0.6 with NoMachine progs from 2.1. I installed these on
my debian etch system with help of deb-packages I found here in the
list.

A normal KDE session with 1.5.0-138 or 2.1.0-17 client is working fine,
but a windows session does not work with any of these clients. If I
manually start "nxdesktop <IP>", the connection is working fine.

Is this problem known, or does it work on your installations?

Here is the output from nxserver.log:

-- NX SERVER START: -c /usr/lib/nx/nxserver - ORIG_COMMAND=
HELLO NXSERVER - Version 1.5.0-60 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: demx1195
NX> 102 Password:
Info: Auth method: passdb ssh
NX> 103 Welcome to: nix-netras user: demx1195
NX> 105 listsession --user="demx1195" --status="suspended,running"
--geometry="1280x1024x32+render" --type="windows"
NX> 127 Sessions list of user 'demx1195' for reconnect:

Display Type             Session ID                       Options  Depth
Screen         Status      Session Name
------- ---------------- -------------------------------- -------- -----
-------------- ----------- ------------------------------
1002    unix-kde         04935BF62643E3B1713C6A5E8B6C7D3B -RD--PSA    32
1024x768       Suspended   nix-netras


NX> 148 Server capacity: not reached for user: demx1195
NX> 105 listsession --user="demx1195" --status="suspended,running"
--geometry="1280x1024x32+render" --type="windows"
NX> 127 Sessions list of user 'demx1195' for reconnect:

Display Type             Session ID                       Options  Depth
Screen         Status      Session Name
------- ---------------- -------------------------------- -------- -----
-------------- ----------- ------------------------------
1002    unix-kde         04935BF62643E3B1713C6A5E8B6C7D3B -RD--PSA    32
1024x768       Suspended   nix-netras


NX> 148 Server capacity: not reached for user: demx1195
NX> 105 startsession --session="nix-netras-rdp" --type="windows"
--cache="8M" --images="32M" --link="lan" --kbload="pc102/de"
--kbtype="pc102/de" --keybd="1" --nodelay="1" --encryption="1"
--backingstore="when_requested" --geometry="1024x768" --media="0"
--agent_server="10.8.15.74" --agent_user="" agent_password="******""
--screeninfo="1024x768x32+render"

&session=nix-netras-rdp&type=windows&cache=8M&images=32M&link=lan&kbload
=pc102/de&kbtype=pc102/de&keybd=1&nodelay=1&encryption=1&backingstore=wh
en_requested&geometry=1024x768&media=0&agent_server=10.8.15.74&agent_use
r=&agent_password=******&screeninfo=1024x768x32+render&clientproto=1.5.0
&user=demx1195&userip=139.23.192.137&uniqueid=7AA64E8E7243666F481BE35E14
FAA870&display=1001&host=127.0.0.1
demx1195 at 127.0.0.1's password:
NX> 1000 NXNODE - Version 1.5.0-60 OS (GPL)
NX> 700 Session id: nix-netras-1001-7AA64E8E7243666F481BE35E14FAA870
NX> 705 Session display: 1001
NX> 703 Session type: windows
NX> 701 Proxy cookie: 0ca99df7b33301293c4f690b173cf524
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: 0ca99df7b33301293c4f690b173cf524
NX> 704 Session cache: windows
NX> 707 SSL tunneling: 1
NX> 1004 Error: NX Agent exited with exit status 1.
NX> 1006 Session status: closed
NX> 1001 Bye.
NX> 596 Session startup failed.
NX> 105 

in the clients sshlog I additionaly get this:

NX> 105 Can't open
/var/lib/nxserver/db/running/sessionId{7AA64E8E7243666F481BE35E14FAA870}
: No such file or directory.
mv: cannot stat
`/var/lib/nxserver/db/running/sessionId{7AA64E8E7243666F481BE35E14FAA870
}': No such file or directory
/usr/lib/nx/nxserver: line 1190: 31071 Terminated              sleep
$AGENT_STARTUP_TIMEOUT
Killed by signal 15.

but I already checked these dirs. they get created and deleted during
session initialization and closing. Might be a possible race condition?

this is the output from the session file on the server:

NXDESKTOP - Version 2.1.0

Remote Desktop Protocol client for NX.
Copyright (C) 2001, 2006 NoMachine.
See http://www.nomachine.com/ for more information.

Based on rdesktop version 1.5.0
Copyright (C) 1999-2005 Matt Chapman.
See http://www.rdesktop.org/ for more information.

Info: Agent running with pid '30684'.
Info: Connecting to RDP server '10.8.15.74'
Session: Starting session at 'Wed Mar 28 14:31:23 2007'.
Loop: WARNING! Ignoring unknown option 'kbload' with value 'pc102/de'.
Warning: Ignoring unknown option 'kbload' with value 'pc102/de'.
Info: Proxy running in server mode with pid '30684'.
Info: Waiting for connection from '127.0.0.1' on port '5001'.
Info: Accepted connection from '127.0.0.1' with port '37261'.
Info: Connection with remote proxy established.
Info: Aborting the procedure due to signal '15'.
X connection to
nx,options=/home/demx1195/.nx/C-nix-netras-1001-7AA64E8E7243666F481BE35E
14FAA870/options:1001.0 broken (explicit kill or server shutdown).


I can't find any hints in the files to solve the problem. Can anyone
help?

Thanx,
jan



More information about the FreeNX-kNX mailing list