diff options
author | Olivier Fourdan <ofourdan@redhat.com> | 2015-07-07 18:19:50 +0200 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2015-08-24 00:00:18 -0700 |
commit | d206c240c0b85c4da44f073d6e9a692afb6b96d2 (patch) | |
tree | 31eebed4e7b51c3e83c243046f707982f9c88ae5 /hw/xfree86/man/xorg.conf.man | |
parent | 7ecdfbf0af3547295b245efa754123db65cabb43 (diff) |
configurable maximum number of clients
Make the maximum number of clients user configurable, either from the command
line or from xorg.conf
This patch works by using the MAXCLIENTS (raised to 512) as the maximum
allowed number of clients, but allowing the actual limit to be set by the
user to a lower value (keeping the default of 256).
There is a limit size of 29 bits to be used to store both the client ID and
the X resources ID, so by reducing the number of clients allowed to connect to
the X server, the user can increase the number of X resources per client or
vice-versa.
Parts of this patch are based on a similar patch from Adam Jackson
<ajax@redhat.com>
This now requires at least xproto 7.0.28
Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'hw/xfree86/man/xorg.conf.man')
-rw-r--r-- | hw/xfree86/man/xorg.conf.man | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/xfree86/man/xorg.conf.man b/hw/xfree86/man/xorg.conf.man index e9b6d9990..08eb7a93a 100644 --- a/hw/xfree86/man/xorg.conf.man +++ b/hw/xfree86/man/xorg.conf.man @@ -621,6 +621,10 @@ It is only enabled for screens that have the .B \*qDPMS\*q option set (see the MONITOR section below). .TP 7 +.BI "Option \*qMaxClients\*q \*q" integer \*q +Set the maximum number of clients allowed to connect to the X server. +Acceptable values are 64, 128, 256 or 512. +.TP 7 .BI "Option \*qPixmap\*q \*q" bpp \*q This sets the pixmap format to use for depth 24. Allowed values for |