[Bug 215791] x11-servers/xorg-server: please increase MAXCLIENTS in include/misc.h to at least 512

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 5 10:11:26 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215791

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



# XORG=/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/wrapper
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=SUID in /etc/make.conf.
===>  License MIT accepted by the user
===>  Found saved configuration for xorg-server-1.17.4,1
===>   xorg-server-1.17.4,1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by xorg-server-1.17.4,1 for building
===>  Extracting for xorg-server-1.17.4,1
=> 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

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


More information about the freebsd-x11 mailing list