Introduction to Xorg Server

The Xorg Server is the core of the X Window system.

This package is known to build and work properly using an LFS-7.6 systemd platform.

Package Information

Additional Downloads

Xorg Server Dependencies


OpenSSL-1.0.1i or Nettle-2.7.1 or libgcrypt-1.6.2, Pixman-0.32.6, Xorg Fonts, and xkeyboard-config-2.12



acpid-2.0.23 (runtime), Doxygen-1.8.8 (to build API documentation), fop-1.1, (to build documentation), ghostscript-9.14 (to build documentation), xmlto-0.0.26, (to build documentation), and libunwind

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/Xorg7Server

Installation of Xorg Server

If you are going to build Glamor, apply the recommended patch by running the following command:

patch -Np1 -i ../xorg-server-1.16.0-upstream_glamor_fix-1.patch

If you have downloaded the optional patch, apply it by running the following command:

patch -Np1 -i ../xorg-server-1.16.0-add_prime_support-2.patch

Install the server by running the following commands:

sed -i "/scrnintstr/i #include <xorg-server.h>" exa/exa.h glamor/glamor.h &&
./configure $XORG_CONFIG                    \
           --with-xkb-output=/var/lib/xkb   \
           --enable-dmx                     \
           --enable-glamor                  \
           --enable-suid-wrapper            &&

To test the results, issue: make check.

Now as the root user:

make install &&
mkdir -pv /etc/X11/xorg.conf.d

Command Explanations

sed -i ...: This sed fixes several header files that are broken with Glibc 2.20 so the drivers using them wouldn't fail to build.

--enable-dmx: This switch enables building of the DMX (Distributed Multihead X) server.

--enable-glamor: This switch enables building of the Glamor DIX module which is required by some drivers and Xwayland. Remove it if you don't want to install libepoxy and are not going to need Xwayland or you don't have any hardware that requires Glamor (Radeon "Southern Islands" and later GPUs).

--enable-suid-wrapper: This switch enables building of the suid-root wrapper for legacy driver support on rootless xserver systems.


Installed Programs: cvt, dmxaddinput, dmxaddscreen, dmxinfo, dmxreconfig, dmxresize, dmxrminput, dmxrmscreen, dmxtodmx, dmxwininfo, gtf, vdltodmx, X, Xdmx, xdmxconfig, Xnest, Xorg, Xvfb, and Xwayland
Installed Libraries: None
Installed Directories: $XORG_PREFIX/include/xorg, $XORG_PREFIX/lib/xorg, $XORG_PREFIX/share/X11/xorg.conf.d, and /var/lib/xkb

Short Descriptions


calculates VESA CVT mode lines.


are various tools used for manipulating the dmx server.


calculates VESA GTF mode lines.


is a tool used to convert VDL config files to DMX config files.


is a symbolic link to Xorg.


is a nested X server.


is the X11R7 X Server.


is the virtual framebuffer X server for X Version 11.


is a graphical configuration utility for the dmx server.

Last updated on 2014-08-23 08:05:43 -0700