[FreeNX-kNX] session fails

Thorsten.Hirsch at dzbank.de Thorsten.Hirsch at dzbank.de
Tue May 16 12:22:22 UTC 2006





Hi list,

I can't figure out why my session is always failing. First it looks pretty
good - authentication completes successfully, negotiation of link
parameters is also working, then I can see the X server on my windows
client with the nomachine symbol for about 1 second or so. But then it
closes with the error message "session 'mysession' failed".

Here's my setup:

windows xp with nomachine 1.5 client
gentoo/sparc with freenx 0.5 server

This is the detailed output of the client:

==============================================

NXPROXY - Version 1.5.0

Copyright (C) 2001, 2005 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Proxy running in client mode with pid '3660'.
Warning: Connected to remote NXPROXY version 1.4.0 with local version
1.5.0.
Info: Synchronizing local and remote caches.
Info: Handshaking with remote proxy completed.
Info: Remote proxy doesn't support fake authentication.
Info: Forwarding the real X authorization cookie.
Info: Not using NX delta compression.
Info: Using lan link parameters 16384/8/0/0.
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: Starting X protocol compression.
Info: Established X server connection.
Info: Using shared memory support in X server.
Info: End of session requested by remote proxy.
Info: Shutting down the link and exiting.

==============================================

And this is what my server is logging (log level 7):

==============================================

-- NX SERVER START:  - ORIG_COMMAND=
HELLO NXSERVER - Version 1.5.0-50-SVN 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: xn09789
NX> 102 Password:
Info: Auth method: passdb
NX> 103 Welcome to: dfrwadm37 user: xn09789
NX> 105 listsession --user="xn09789" --status="suspended,running"
--geometry="1280x1024x32+render" --type="unix-kde"
NX> 127 Sessions list of user 'xn09789' for reconnect:

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


NX> 148 Server capacity: not reached for user: xn09789
NX> 105 startsession --session="dfrwadm37" --type="unix-kde" --cache="16M"
--images="64M" --link="lan" --kbtype="pc102/de" --nodelay="0"
--encryption="1" --ba
ckingstore="never" --geometry="1280x1024" --media="0" --agent_server=""
--agent_user="" agent_password="******""
--screeninfo="1280x1024x32+render"

&session=dfrwadm37&type=unix-kde&cache=16M&images=64M&link=lan&kbtype=pc102/de&nodelay=0&encryption=1&backingstore=never&geometry=1280x1024&media=0&agent_serv
er=&agent_user=&agent_password=******&screeninfo=1280x1024x32+render&clientproto=1.5.0
&user=xn09789&userip=10.241.27.26&uniqueid=1D5A803EF03A2FE9B9DB838CC5CA8
C5E&display=1001
NX> 1000 NXNODE - Version 1.5.0-50-SVN OS (GPL)
NX> 700 Session id: dfrwadm37-1001-1D5A803EF03A2FE9B9DB838CC5CA8C5E
NX> 705 Session display: 1001
NX> 703 Session type: unix-kde
NX> 701 Proxy cookie: 83f1f32171eccce6c26cb113a598b782
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie:
NX> 704 Session cache: unix-kde
NX> 707 SSL tunneling: 1
NX> 710 Session status: running
NX> 1002 Commit
NX> 1006 Session status: running
NX> 105 bye
Bye
NX> 999 Bye
NX> 1009 Session status: terminating
NX> 1006 Session status: closed
NX> 1001 Bye.

==============================================

I already tried switching the 3 checkboxes "no delay on tcp", "activate
zlib compression", and "activate ssl encryption" but none of it made a
difference.
Also turning off multimedia support and samba shares made no difference.
Finally, the output of nxserver --history is telling me that all my
sessions are finished (instead of "failed"):

1001    xn09789 10.241.27.26    1D5A803EF03A2FE9B9DB838CC5CA8C5E
2006-05-16 14:10:08     Finished

Any ideas?
For me it seems that "Info: End of session requested by remote proxy."
wants to tell me something, but I just can't find out what that is.

Best regards,
Thorsten




More information about the FreeNX-kNX mailing list