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.9-systemd platform.

This package is known to build properly using the gcc-6 compiler.

Package Information

Additional Downloads

Xorg Server Dependencies


Nettle-3.2 or libgcrypt-1.7.0 or OpenSSL-1.0.2h, libpciaccess-0.13.4, Pixman-0.34.0, Xorg Fonts and XKeyboard-Config-2.18



acpid-2.0.27 (runtime), Doxygen-1.8.11 (to build API documentation), fop-2.1, (to build documentation), ghostscript-9.19 (to build documentation), xcb-util-keysyms-0.4.0 (used by Xnest), xcb-util-image-0.4.0, xcb-util-renderutil-0.3.9, xcb-util-wm-0.4.1 (all three to build Xephyr), xmlto-0.0.28, (to build documentation) and libunwind

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

Installation of Xorg Server

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

patch -Np1 -i ../xorg-server-1.18.3-add_prime_support-1.patch

Install the server by running the following commands:

./configure $XORG_CONFIG         \
           --enable-glamor       \
           --enable-suid-wrapper \
           --with-xkb-output=/var/lib/xkb &&

To test the results, issue: make check.

Now as the root user:

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

Command Explanations

--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). It is also required to build the modesetting driver, which is a generic Xorg Video driver for hardware that has a KMS driver.

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

--enable-dmx: This switch enables building of the DMX (Distributed Multihead X) server. Use it if you want to build DMX.

--enable-kdrive: This switch enables building of the kdrive servers such as Xephyr and Xfbdev. Use it if you have installed optional xcb-util packages and want to build the mentioned programs.

--disable-systemd-logind --enable-install-setuid: These switches disable systemd-logind integration and restore the setuid bit to the Xorg executable, allowing Xorg Server to work without having the systemd PAM module installed and set up.


Installed Programs: cvt, gtf, X, Xnest, Xorg, and Xvfb; optional: dmxaddinput, dmxaddscreen, dmxinfo, dmxreconfig, dmxresize, dmxrminput, dmxrmscreen, dmxtodmx, dmxwininfo, vdltodmx, Xdmx, xdmxconfig, Xephyr, and Xfbdev
Installed Libraries: None
Installed Xorg Driver: modesetting_drv.so
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 distributed multi-head X server.


is a proxy X server that uses one or more other X servers as its display devices.


is a nested X server that supports modern X extensions.


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.


is a Xorg video driver for machines using Kernel Mode Setting (KMS). It will use Glamor for 2D acceleration if it has been enabled and the hardware has proper 3D support.

Last updated on 2016-06-09 15:58:33 -0500