glfs/x/installing/xinit.xml
Bruce Dubbs 2f3cfb22b8 Tag most of xorg, but 12 drivers remain.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19795 af4574ff-66df-0310-9fd7-8a98e5e911e0
2018-02-18 21:04:14 +00:00

163 lines
4.9 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY xinit-download-http "&xorg-download-http;/app/xinit-&xinit-version;.tar.bz2">
<!ENTITY xinit-download-ftp "&xorg-download-ftp;/app/xinit-&xinit-version;.tar.bz2">
<!ENTITY xinit-md5sum "4e928452dfaf73851413a2d8b8c76388">
<!ENTITY xinit-size "162 KB">
<!ENTITY xinit-buildsize "1.9 MB">
<!ENTITY xinit-time "0.1 SBU">
]>
<sect1 id="xinit" xreflabel="xinit-&xinit-version;">
<?dbhtml filename="xinit.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>xinit-&xinit-version;</title>
<indexterm zone="xinit">
<primary sortas="a-xinit">xinit</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to xinit</title>
<para>The <application>xinit</application> package contains a usable script
to start the xserver.</para>
&not-katamari;
&lfs82_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&xinit-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&xinit-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &xinit-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &xinit-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &xinit-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &xinit-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">xinit Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="xorg7-lib"/>
</para>
<bridgehead renderas="sect4">Recommended (runtime only)</bridgehead>
<para role="recommended">
<xref role="runtime" linkend="twm"/>,
<xref role="runtime" linkend="xclock"/>, and
<xref role="runtime" linkend="xterm2"/> (used in the default <filename>
xinitrc</filename> file)
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/xinit"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of xinit</title>
<para revision='sysv'>First, modify <command>startx</command>, hence the X
session starts on the first unused virtual terminal, which normally is
vt7:</para>
<!--Apparently, this should not be done for systemd systems-->
<screen revision='sysv'><userinput>sed -e '/$serverargs $vtarg/ s/serverargs/: #&amp;/' \
-i startx.cpp</userinput></screen>
<note revision='sysv'>
<para>
If you have already installed this package without the sed above, there
is no need to reinstall. Just modify the installed
<command>startx</command>, issuing, as the <systemitem
class="username">root</systemitem> user:
<command>sed -i '/$serverargs $vtarg/ s/serverargs/: #&amp;/'
$XORG_PREFIX/bin/startx</command>
</para>
</note>
<para>Install <application>xinit</application> by running the
following commands:</para>
<screen><userinput>./configure $XORG_CONFIG --with-xinitdir=/etc/X11/app-defaults &amp;&amp;
make</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>Now, as the <systemitem class="username">root</systemitem>
user:</para>
<screen role="root"><userinput>make install &amp;&amp;
ldconfig</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>xinit and startx</seg>
<seg>None</seg>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="startx">
<term><command>startx</command></term>
<listitem>
<para>initializes an X session.</para>
<indexterm zone="xinit startx">
<primary sortas="b-startx">startx</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="xinit-bin">
<term><command>xinit</command></term>
<listitem>
<para>is the X Window System initializer.</para>
<indexterm zone="xinit xinit">
<primary sortas="b-xinit">xinit</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>