[FreeNX-kNX] Load Balacing Problem

Arrouan arrouan at octogone.biz
Sat Jan 28 14:37:09 UTC 2006


I have this error in the home .nx/{cookies}/session when i use SSL :
NXAGENT - Version 1.5.0

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

Info: Agent running with pid '11179'.
nxagentProcessOptionsFile: Option file is
[/home/foo/.nx/C-zn_node1-1022-F558866B00B825EC0BCBFB22B03C5589/options].
nxagentProcessOptionsFile: Option file is 212 bytes long.
nxagentParseOptionString: Warning ignored option 'cache' = '8M'.
nxagentParseOptionString: Warning ignored option 'images' = '32M'.
nxagentParseOptionString: Warning ignored option 'pack' = '16m-png-9'.
nxagentParseOptionString: Warning ignored option 'link' = 'lan'.
nxagentParseOptionString: Warning ignored option 'type' = 'unix-kde'.
nxagentParseOptionString: Warning ignored option 'cleanup' = '0'.
nxagentParseOptionString: Warning ignored option 'accept' = '127.0.0.1'.
nxagentParseOptionString: Warning ignored option 'cookie' =
'125894670a075c90011be336dbda668d'.
nxagentParseOptionString: Warning ignored option 'samba' = '0'.
nxagentParseOptionString: Warning ignored option 'media' = '0'.
Info: Proxy running in server mode with pid '11179'.
Info: Waiting for connection from '127.0.0.1' on port '5022'.
Error: Refusing connection from '172.30.3.25' on port '37003'.


Without SSL i have this message:
NXAGENT - Version 1.5.0

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

Info: Agent running with pid '11631'.
nxagentProcessOptionsFile: Option file is
[/home/foo/.nx/C-zn_node1-1024-62836D38A86015302BF8F95B5C43BE19/options].
nxagentProcessOptionsFile: Option file is 215 bytes long.
nxagentParseOptionString: Warning ignored option 'cache' = '8M'.
nxagentParseOptionString: Warning ignored option 'images' = '32M'.
nxagentParseOptionString: Warning ignored option 'pack' = '16m-png-9'.
nxagentParseOptionString: Warning ignored option 'link' = 'lan'.
nxagentParseOptionString: Warning ignored option 'type' = 'unix-kde'.
nxagentParseOptionString: Warning ignored option 'cleanup' = '0'.
nxagentParseOptionString: Warning ignored option 'accept' = '172.30.3.241'.
nxagentParseOptionString: Warning ignored option 'cookie' =
'2354fd14d0a77943cfaf23489917b8b9'.
nxagentParseOptionString: Warning ignored option 'samba' = '0'.
nxagentParseOptionString: Warning ignored option 'media' = '0'.
Info: Proxy running in server mode with pid '11631'.
Info: Waiting for connection from '172.30.3.241' on port '5024'.


Anyone have an idea how to fix that ?

Arrouan wrote:

> 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.
>
>_______________________________________________
>FreeNX-kNX mailing list
>FreeNX-kNX at kde.org
>https://mail.kde.org/mailman/listinfo/freenx-knx
>





More information about the FreeNX-kNX mailing list