what is the limit on number of concurrent Xvnc servers?

Björn Persson bjorn_persson@sverige.nu
Wed Apr 16 02:43:00 2003


Mike Miller wrote:
> I'm getting the impression that maybe 99 is my real limit on Xvnc servers
> running concurrently.  And that was my original question.  Is 99 the
> limit?

Well, I got curious and made an experiment. I've currently got 105 VNC 
servers running, each with TWM, Xterm, Bash and a VNC viewer connected. As 
long as they just sit there and do nothing my system is working just fine. A 
lot of them are swapped out of course. With "-nolisten tcp" specified and the 
built-in HTTP server turned off, port collisions are avoided. I skipped 
display number 100 because my normal X server was listening on port 6000, but 
that could have been resolved too.

The automatic selection of display numbers stops at 99, but higher numbers 
can be set manually. Of course the automatic selection can easily be modified 
to go higher.

VNCviewer (at least the Unix version) has a quirk to watch out for: If you 
give it a number higher than 99 it no longer adds 5900 to it, so to connect 
to port 6000 you type "host:6000" instead of "host:100".

Bjvrn Persson