xinit-1.4.0

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 24. X Window System Environment

- Prev

  xclock-1.0.7

- Next

  Xorg-7 Testing and Configuration

- Up
- Home

# xinit-1.4.0

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

### Package Information

- Download (HTTP): https://www.x.org/pub/individual/app/xinit-1.4.0.tar.bz2

- Download (FTP): ftp://ftp.x.org/pub/individual/app/xinit-1.4.0.tar.bz2

- Download MD5 sum: 2da154b2f80ca9637b1a17b13af0880c

- Download size: 172 KB

- Estimated disk space required: 1.4 MB

- Estimated build time: less than 0.1 SBU

### xinit Dependencies

#### Required

Xorg Libraries

#### Recommended (runtime only)

twm-1.0.10, xclock-1.0.7, and xterm-344 (used in the default `xinitrc` file)

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

## 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

### Note

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/: #&/' $XORG_PREFIX/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

## Contents

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

### Short Descriptions

startx | initializes an X session.
xinit | is the X Window System initializer.

Last updated on 2019-02-15 15:01:29 -0600

- Prev

  xclock-1.0.7

- Next

  Xorg-7 Testing and Configuration

- Up
- Home