[FreeNX-kNX] "nxagent" from "nx-3.X libs" and ports 60XX

THOMAS, Renald thoren007 at yahoo.fr
Wed Oct 1 12:05:35 UTC 2008


Hi all !

I don't know if it's right place to report this bug but :

since "nx-3.X libs", nxagent create local tcp port "60XX" corresponding to the display number ":20XX" (ex : if you choose the display ":2005", it's create tcp port 6005)

OK but there is also the "x11-ssh-offset" tcp port starting at 6010, and after 6011, if you have 2 clients on your NX server etc....

Now you can see the problem it's make :
with the default behavior of "freenx-server-0.7.3-11.fc8" who use "DISPLAY_BASE=2000" : when you have more than 10 clients on your NX server, nxagent tells you :
"nxnode_reader: Error: Call to bind failed for TCP port 6010. Error is 98 'Address already in use'."

...of course because nxagent wants to use TCP port 6010 (corresponding to the display ":2010" , of your 10th client) and "x11-ssh-offset" already use it !
And same thing for the 11th client etc....


I have this problem with :
- nx-3.1.0-25.1.fc8.i386
- nx-3.2.0-30.fc8.i386

I have tested with "nx-2.1.0.0 libs" :
nxagent isn't create local tcp port "60XX" corresponding to the display number )


To workaround this problem, I have put "DISPLAY_BASE=2050" but it's only a workaround !   :(


I hope to helpful to this wonderful opensource project that is FreeNX.




      



More information about the FreeNX-kNX mailing list