From owner-freebsd-x11@freebsd.org Sun Feb 16 19:22:32 2020 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 44BEF23F71D for ; Sun, 16 Feb 2020 19:22:32 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from fc.opsec.eu (fc.opsec.eu [IPv6:2001:14f8:200:4::4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48LH7W2PMbz3L6V for ; Sun, 16 Feb 2020 19:22:31 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from pi by fc.opsec.eu with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1j3PUq-000Ep4-D3 for freebsd-x11@freebsd.org; Sun, 16 Feb 2020 20:22:28 +0100 Date: Sun, 16 Feb 2020 20:22:28 +0100 From: Kurt Jaeger To: freebsd-x11@freebsd.org Subject: Re: X11: Maximum number of clients reached ? Message-ID: <20200216192228.GA56942@fc.opsec.eu> References: <20200216183927.GX1860@fc.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200216183927.GX1860@fc.opsec.eu> X-Rspamd-Queue-Id: 48LH7W2PMbz3L6V X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.93 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.93)[-0.932,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; ASN(0.00)[asn:12502, ipnet:2001:14f8::/32, country:DE] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Feb 2020 19:22:32 -0000 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. -- pi@FreeBSD.org +49 171 3101372 Now what ?