Date: Sun, 16 Feb 2020 21:15:41 +0100 From: Jan Beich <jbeich@FreeBSD.org> To: Kurt Jaeger <pi@freebsd.org> Cc: freebsd-x11@freebsd.org Subject: Re: X11: Maximum number of clients reached ? Message-ID: <h7zq-uw42-wny@FreeBSD.org> In-Reply-To: <20200216192228.GA56942@fc.opsec.eu> (Kurt Jaeger's message of "Sun, 16 Feb 2020 20:22:28 %2B0100") References: <20200216183927.GX1860@fc.opsec.eu> <20200216192228.GA56942@fc.opsec.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
Kurt Jaeger <pi@freebsd.org> writes: > 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. FWIW, upstream bumped MAXCLIENTS to 2048 since xorg-server-1.19.0. https://gitlab.freedesktop.org/xorg/xserver/commit/8217c29d2d8b -- x11-server/xorg-server update to 1.20.* is tracked in bug 196678.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?h7zq-uw42-wny>