If you want to open as many x-clients as possible you ALWAYS get the
following message
and no more clients will be opened and this message will appear:
Xlib: connection to ":0.0" refused by server
Xlib: Maximum number of clients reached
Then you could give the following answers to the question:
> Is there a patch from compaq or a option to Xdec or to unlimit the number
of
> open files or something to increase the maximum x-client number under
Tru64?
1. (provided by Kazuro FURUKAWA)
You may use several Xnest's or Xvnc's to display nested windows,
which may cover up to 127 x N :-).
Xnest is in fact very cool, thanks!
You could run in every Xnest Server your own windowmanager which is pretty
cool.
2. (provided by Tom Blinn)
In a word, "NO". The limit is built into the X server in source form;
there are static tables allocated that limit the number of clients.
IF you had the V4.0F sources for the X server and a development setup
that would allow you to build it from sources, then you MIGHT be able
to build an X server with a higher limit. I don't know from personal
examination of the relevant code whether the limit is based on, say,
some character sized field being used to hold the client number, or is
just a limit based on the desire to limit the server footprint. But,
it is a real limit and it's a hard limit built into the X server and
as far as I know the same limit exists in the V5.x X server as well.
And, because of the way the X server is implemented (there are drivers
in the kernel as well as user space code that is pretty unique to the
Tru64 UNIX implementation), it would not be trivially easy to simply
go get some other X server implementation and port it.
You probably need to re-think why you "need to open a huge number of
xclients" since that's likely not possible with MANY implementations
of X.
Have fun...
Bernd Schwarzkugler
UNIX Spezialist
IBEX AG
Tel: 08207/9611-418
Received on Wed Jul 11 2001 - 12:17:05 NZST