Summary: | x11-servers/xorg-server: please increase MAXCLIENTS in include/misc.h to at least 512 | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Slawomir Wojciech Wojtczak <vermaden> |
Component: | Individual Port(s) | Assignee: | freebsd-x11 (Nobody) <x11> |
Status: | Closed FIXED | ||
Severity: | Affects Many People | CC: | w.schwarzenfeld, zeising |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(x11) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Slawomir Wojciech Wojtczak
2017-01-05 08:55:02 UTC
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 xorg-server has xorg-server-1.18.4 grep MAXCLIENTS gives xorg-server-1.18.4/include/misc.h:#define MAXCLIENTS 512 I think it is done and can be closed. Yep. This has already been fixed/done, but the PR still lingers. Close this. |