The error message I am getting is:
Xlib: connection to "localhost:11.0" refused by server Xlib: Maximum number of clients reached
I think you are logged in to the remote unix machine using ssh. That provides display "localhost:10.0" and/or "localhost:11.0" to use the same pipe ot your desktops X11 session.
An other reason can be that you use SuSE linux (or UL or an other variant). That comes with vnc sessions pre-defined at vnc-session number :10 and :11. (kind of like http://www.sourcecodecorner.com/articles/vnc/linux.asp).
Hence if you provide a number, best not use :10 or :11. Numbers :0, and :7 can also be used already.
How can I get to the bottom of what resource is limited?
Roughly beyond imagination... Practically X11 displays are limited from :0 to :60 (you can use more but the standard says to at least accept these numbers hence all works with these numbers and optionally more).
vnc-sessions can use numbers 0 trough 99, because vnc-session 100 uses the same port as Xdisplay :0 (port 6000).
Then there can be other tools using the ports to be used: 6000+displaynumber for the X11 display. 5900+vncsessionnumber for the vnc-communication. optionally 5800+vncsessionnumber for the httpserver.
btw: in the above, the vncsessionnumber can be any integer from 0 trough 655356. Abusing the integer number system can use any number, even negative ones (using 2-s complement numbers)
Bruce
-----Original Message----- From: Corni Beerse [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 4:30 AM To: Nepple, Bruce Cc: [EMAIL PROTECTED] Subject: Re: FW: max clients exceeded
Nepple, Bruce wrote:
I looked back through a couple months mail and saw nothing
on this issue:
How can I increase the number of X clients that I can run
in a VNC session?
I think that is all related to 'other' resources: - max memory per process (Xvnc needs to handle it all - max sockets and such per process/user - max processes per user
well, actually it's not Xvnc that sets a limit, its the entire system.
How many clients should I be able to start?
Roughly as much as on the console, except when shared resources are in use, then that might give a limit on the grand total over the sessions.
I think I get quite a few less than I used to get with
Xmanager so it seems
that vncserver is limiting it somehow.
As far as I know, there are no limitations build into Xvnc.
On the other hand, if comparing with similar products, both can have different optimalisations and reach some limitations at an other number of clients.
I am running on an ancient sunOS 5.8
Xvnc version 3.3.6 - built Nov 26 2002 15:55:02
An other version can have an other limit, just als an other product can have.
CBee
_______________________________________________ VNC-List mailing list [EMAIL PROTECTED] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________ VNC-List mailing list [EMAIL PROTECTED] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list