[FreeNX-kNX] Load Balacing Problem

Arrouan arrouan at octogone.biz
Wed Jan 25 17:03:10 UTC 2006


 Hi,

I m trying to use FreeNX with loadbalancing feature that come with the svn
version (trunk).
LoadBalancing itself work, i monitor with logs and tcpdump.
But client never go to the last step.
I have this error:

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 '11268'.
Error: Failure negotiating the session in stage '7'.
Error: This means that we probably didn't provide a valid cookie.
Error: The remote NX proxy closed the connection.


I just set a node IP on the node.conf (the freenx that received connection
is on a box where i wouldn t launch any xorg so all connection are send to
this node).
When i do ps aux on node, i can see FreeNX is launch.
I use SSL connection (but i try without and it doesn t work too).
I try to share /usr/NX/var/db using NFS (with the same nx uid).

FreeNX log show me this:
-- 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: foo
NX> 102 Password:
Info: Auth method: passdb ssh
NX> 103 Welcome to: frontal user: foo
NX> 105 listsession --user="foo" --status="suspended,running"
--geometry="1280x1024x16+render+fullscreen" --type="unix-kde"
NX> 127 Sessions list of user 'foo' for reconnect:

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


NX> 148 Server capacity: not reached for user: foo
NX> 105 startsession --session="LVS" --type="unix-kde" --cache="8M"
--images="32M" --link="lan" --render="1" --kbtype="pc102/fr" --nodelay="1"
--imagecompressionlevel="-1" --encryption="1"
--backingstore="when_requested" --imagecompressionmethod="2"
--geometry="1280x1024" --fullscreen="1" --media="0" --agent_server=""
--agent_user="" agent_password="******""
--screeninfo="1280x1024x16+render+fullscreen"

&session=LVS&type=unix-kde&cache=8M&images=32M&link=lan&render=1&kbtype=pc102/fr&nodelay=1&imagecompressionlevel=-1&encryption=1&backingstore=when_requested&imagecompressionmethod=2&geometry=1280x1024&fullscreen=1&media=0&agent_server=&agent_user=&agent_password=******&screeninfo=1280x1024x16+render+fullscreen&clientproto=1.5.0&user=foo&userip=172.30.3.241&uniqueid=C30E2B2A65F465A122B3B0A184A0FF95&display=1019
Info: Load-Balancing (if possible) to 172.30.3.27 ...
Password:
NX> 1000 NXNODE - Version 1.5.0-50-SVN_NODE1 OS (GPL)
NX> 700 Session id: zn_node1-1019-C30E2B2A65F465A122B3B0A184A0FF95
NX> 705 Session display: 1019
NX> 703 Session type: unix-kde
NX> 701 Proxy cookie: 47944eced46925e8c0f4f087519a9baf
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: 47944eced46925e8c0f4f087519a9baf
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> 1004 Error:
Session 'zn_node1-1019-C30E2B2A65F465A122B3B0A184A0FF95' has failed after
reaching usable state.
NX> 1001 Bye.

I test with one and two node same errors on both.
I use gentoo with last update and ebuild for NX 1.5.0 with FreeNX from SVN.

Anyone know why i have this error ?

Thanks.




More information about the FreeNX-kNX mailing list