Xorg-Server-1.17.1

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

Package Information

Additional Downloads

Xorg Server Dependencies

Required

OpenSSL-1.0.2 or Nettle-2.7.1 or libgcrypt-1.6.2, Pixman-0.32.6, Xorg Fonts, and xkeyboard-config-2.14

Recommended

Optional

acpid-2.0.23 (runtime), Doxygen-1.8.9.1 (to build API documentation), fop-1.1, (to build documentation), ghostscript-9.15 (to build documentation), xcb-util-image-0.4.0, xcb-util-renderutil-0.3.9, xcb-util-wm-0.4.1 (all three to build Xephyr) and xmlto-0.0.26 (to build documentation)

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

Installation of Xorg Server

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

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

The modesetting video driver is now included in the tarball (since version 1.17). It needs to be fixed for 32-bit machines and for cards which do not support an hardware mouse pointer. If you plan to use the modesetting video driver, run the following command:

patch -Np1 -i ../xorg-server-1.17.1-fix_modesetting-1.patch

Install the server by running the following commands:

./configure $XORG_CONFIG            \
           --enable-glamor          \
           --enable-install-setuid  \
           --enable-suid-wrapper    \
           --disable-systemd-logind \
           --with-xkb-output=/var/lib/xkb &&
make

To test the results, issue: make check.

Now as the root user:

make install &&
mkdir -pv /etc/X11/xorg.conf.d &&
cat >> /etc/sysconfig/createfiles << "EOF"
/tmp/.ICE-unix dir 1777 root root
/tmp/.X11-unix dir 1777 root root
EOF

Command Explanations

--enable-glamor: Build the Glamor DIX (Device Independent X) module which is currently required for Southern Islands and Sea Islands radeon video chipsets, optional for some other radeons, and also optional for the intel driver. It is also used by the modesetting driver (which is part of this package) for on hardware using KMS and which offers acceleration.

--enable-install-setuid: The Xorg binary must run as the root user. This switch ensures that the binary is installed setuid when make is run by an unprivileged user.

--enable-suid-wrapper: Build suid-root wrapper for legacy driver support on rootless xserver systems.

--disable-systemd-logind: Do not build systemd-logind support, otherwise, an error (EE), logged in /var/log/Xorg.0.log, occurs when starting the X server. Systemd is not supported by BLFS.

cat >> /etc/sysconfig/createfiles...: This command creates the /tmp/.ICE-unix and /tmp/.X11-unix directories at startup, and ensures that the permissions and ownership are correct as required by the server.

--enable-dmx: Build DMX (Distributed Multihead X) server.

--enable-kdrive: this option allows the configure script to enable Xephyr if its dependencies are met.

Contents

Installed Programs: cvt, dmxaddinput, dmxaddscreen, dmxinfo, dmxreconfig, dmxresize, dmxrminput, dmxrmscreen, dmxtodmx, dmxwininfo, gtf, vdltodmx, X, Xdmx, xdmxconfig, Xephyr, Xnest, Xorg, and Xvfb
Installed Libraries: several under $XORG_PREFIX/lib/xorg/modules/{,drivers,extensions} including 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

cvt

calculates VESA CVT mode lines.

dmx*

are various tools used for manipulating the dmx server.

gtf

calculates VESA GTF mode lines.

vdltodmx

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

X

is a symbolic link to Xorg.

Xephyr

is a nested X server which supports modern X extensions.

Xnest

is a nested X server.

Xorg

is the X11R7 X Server.

Xvfb

is the virtual framebuffer X server for X Version 11.

xdmxconfig

is a graphical configuration utility for the dmx server.

modesetting_drv.so

provides a video driver for machines using Kernel Mode Setting (KMS). This will use glamor if that has been enabled and the hardware offers acceleration.

Last updated on 2015-03-04 15:00:03 -0500