Introduction to xinit

The xinit package contains a usable script to start the xserver.

This package is not a part of the Xorg katamari and is provided only as a dependency to other packages or for testing the completed Xorg installation.

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

Package Information

xinit Dependencies

Required (runtime only)

twm-1.0.9, xclock-1.0.7, and xterm-320

User Notes:

Installation of xinit

First, modify startx, hence the X session starts on the first unused virtual terminal, which normally is vt7:

sed -e '/$serverargs $vtarg/ s/serverargs/: #&/' \
    -i startx.cpp


If you have already installed this package without the sed above, there is no need to reinstall. Just modify the installed startx, issuing, as the root user:

sed -e '/$serverargs $vtarg/ s/serverargs/: #&/' \
    -i.orig /usr/bin/startx

Install xinit by running the following commands:

./configure $XORG_CONFIG \
            --with-xinitdir=/etc/X11/app-defaults &&

This package does not come with a test suite.

Now, as the root user:

make install &&


Installed Programs: xinit and startx
Installed Libraries: None
Installed Directories: None

Short Descriptions


initializes an X session.


is the X Window System initializer.

Last updated on 2015-09-25 06:48:24 -0700