>>The RFB ports start from 5900, the HTTP java viewer ports from 5800, and the >>X11 ports from 6000. It's therefore necessary to "skip" by 300 ports such >>that the next 100 VNC servers use ports 6100+ for HTTP, 6200+ for RFB, 6300+ >>r X11 and so-on.
James, Could you tell me if I want to modify the code such that ports(RFB,HTTP amd VNC server) should not conflict and should support 200 sessions instead of 100 sessions limit.The thing is if i modify just vncserver script then it will able to generate the ports i wants but what about the JAVA viewer port? To make chanege only in vncserver script will generate VNC server port and allow to create sessions on servers. but to display those sessions we need to have JAVA viewer port also so could you tell me how to do this? I figured out that i could create the session but not able to display on my screen using vncviwer. And i think the ports should not be conflict with other process that will be taken by checking whether port is free or not. Am i correct? ----- Original Message ---- From: James Weatherall <[EMAIL PROTECTED]> To: PARESH MASANI <[EMAIL PROTECTED]> Cc: [email protected] Sent: Thursday, 24 January, 2008 11:39:59 PM Subject: RE: VNC Server perl script and C++ Code Hi Paresh, > >>through from 1..1000 > should work, > But i saw that in C++ code in hostandport.h and some > vncExt.cc file, this same check is there to return a port > number. Will it not make any difference? I think the code you're referring to is used when Xvnc is launched from inetd & therefore can't rely on vncserver having allocated a display for it. > >> numbers with each block being > >>300 ports apart, e.g. > 1..99,300..399,600..699 and so on > Why ports are 300 aparts. is any particular reason there? The RFB ports start from 5900, the HTTP java viewer ports from 5800, and the X11 ports from 6000. It's therefore necessary to "skip" by 300 ports such that the next 100 VNC servers use ports 6100+ for HTTP, 6200+ for RFB, 6300+ for X11 and so-on. > >> The "vncserver" program is actually a wrapper around "Xvnc", > I also read that there are so many Xvnc available in real > vnc.What is that all about in brief. Sorry, I'm afraid I don't know what you mean by that! Regards, -- Wez @ RealVNC Ltd Meet people who discuss and share your passions. Go to http://in.promos.yahoo.com/groups _______________________________________________ VNC-List mailing list [email protected] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
