Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Jan 2017 10:11:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 215791] x11-servers/xorg-server: please increase MAXCLIENTS in include/misc.h to at least 512
Message-ID:  <bug-215791-7141-JMkqlFWQYx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-215791-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-215791-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215791

--- Comment #1 from vermaden@interia.pl ---
Fast way to test below, I am using it with 512 and it was stable ala the ti=
me.



# XORG=3D/usr/ports/x11-servers/xorg-server

# make -C ${XORG} extract
By default, the X Server installs as a set-user-id root binary. When run by
a normal user, it checks arguments and environment as done in the x11/wrapp=
er
port before handling them normally.  If you are concerned about the security
of this, but still want to run an X Server (for example using xdm/kdm/gdm,
which will still run the server as root), you can cancel the build and set
xorg-server_UNSET=3DSUID in /etc/make.conf.
=3D=3D=3D>  License MIT accepted by the user
=3D=3D=3D>  Found saved configuration for xorg-server-1.17.4,1
=3D=3D=3D>   xorg-server-1.17.4,1 depends on file: /usr/local/sbin/pkg - fo=
und
=3D=3D=3D> Fetching all distfiles required by xorg-server-1.17.4,1 for buil=
ding
=3D=3D=3D>  Extracting for xorg-server-1.17.4,1
=3D> SHA256 Checksum OK for xorg/xserver/xorg-server-1.17.4.tar.bz2.

# cd /usr/ports/obj/${XORG}/work/xorg-server-*/include
(OR)
# cd ${XORG}/work/xorg-server-*/include

# grep MAXCLIENTS misc.h
#define MAXCLIENTS     256

# sed -i -E 's/MAXCLIENTS.*256/MAXCLIENTS\ 512/g' misc.h

# grep MAXCLIENTS misc.h
#define MAXCLIENTS 512

# make -C ${XORG} build deinstall install clean



Regards,
vermaden

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215791-7141-JMkqlFWQYx>