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-9.1 platform.
Download (HTTP): https://www.x.org/pub/individual/app/xinit-1.4.1.tar.bz2
Download (FTP): ftp://ftp.x.org/pub/individual/app/xinit-1.4.1.tar.bz2
Download MD5 sum: 6d506ab2efc17a08e87778654e099d37
Download size: 178 KB
Estimated disk space required: 1.5 MB
Estimated build time: less than 0.1 SBU
twm-1.0.10,
xclock-1.0.9, and xterm-353 (used in the default
xinitrc
file)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xinit
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
If starting Xorg from the command line, the default instructions
above starts Xorg on the current virtual terminal. It may be
convenient to see Xorg and associated application messages on the
current virtual terminal, normally tty1, and start the graphical
environment on the first available unused virtual terminal,
normally tty7. To do this, set the suid bit on the Xorg
application as the root
user:
chmod u+s $XORG_PREFIX/libexec/Xorg
At this point you can start Xorg on virtual terminal 7 with startx <client arguments> -- vt7. Now you can toggle between tty1 and tty7 with the Ctrl-Alt-F1 and Ctrl-Alt-F7 key combinations.
To automatically start Xorg on the first available virtual
terminal, modify the startx script as the
root
user with:
sed -e '/$serverargs $vtarg/ s/serverargs/: #&/' $XORG_PREFIX/bin/startx
After this change, the virtual terminal does not need to be specified on the startx command line.
Last updated on 2020-02-15 20:23:35 -0800