Re: X11: Maximum number of clients reached ?

Kurt Jaeger <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
Hi!

> What is the trick to solve this when this error message comes up ?

Oh my, what a mess:

https://unix.stackexchange.com/questions/498652/does-x-window-have-a-maximum-number-limit-on-clients

says: Yes, there's a limit, and it's a Xorg startup option.

The limit is a compile time limit in

x11-servers/xorg-server/work/xorg-server-1.18.4/include/misc.h

#define MAXCLIENTS     512
#define LIMITCLIENTS   256     /* Must be a power of 2 and <= MAXCLIENTS */

Changing MAXCLIENTS and LIMITCLIENTS to some other value like 2048
seems to be possible, but needs an Xorg restart.

TODO: test it, submit PR to increase values.

-- 
[email protected]         +49 171 3101372                  Now what ?
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.