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.10 platform.
Download (HTTP): http://ftp.x.org/pub/individual/app/xinit-1.3.4.tar.bz2
Download (FTP): ftp://ftp.x.org/pub/individual/app/xinit-1.3.4.tar.bz2
Download MD5 sum: 4e928452dfaf73851413a2d8b8c76388
Download size: 162 KB
Estimated disk space required: 1.9 MB
Estimated build time: 0.1 SBU
twm-1.0.9, xclock-1.0.7, and xterm-325
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/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
        ![[Note]](../images/note.png) 
          
            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 -i '/$serverargs $vtarg/ s/serverargs/:
            #&/' /usr/bin/startx
          
Install xinit by running the following commands:
./configure $XORG_CONFIG \
            --with-xinitdir=/etc/X11/app-defaults &&
make
        This package does not come with a test suite.
          Now, as the root user:
        
make install && ldconfig
Last updated on 2016-08-27 13:19:14 -0700