[7babf715] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[f4371a4] | 7 | <!ENTITY xinit-download-http "&xorg-download-http;/app/xinit-&xinit-version;.tar.xz">
|
---|
| 8 | <!ENTITY xinit-download-ftp "&xorg-download-ftp;/app/xinit-&xinit-version;.tar.xz">
|
---|
| 9 | <!ENTITY xinit-md5sum "0e9a1b9a82b84ab229c709c0f939c113">
|
---|
| 10 | <!ENTITY xinit-size "153 KB">
|
---|
[5cd7055] | 11 | <!ENTITY xinit-buildsize "1.5 MB">
|
---|
[d5aefd5c] | 12 | <!ENTITY xinit-time "less than 0.1 SBU">
|
---|
[7babf715] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="xinit" xreflabel="xinit-&xinit-version;">
|
---|
| 16 | <?dbhtml filename="xinit.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>xinit-&xinit-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="xinit">
|
---|
| 22 | <primary sortas="a-xinit">xinit</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to xinit</title>
|
---|
| 27 |
|
---|
[71df408] | 28 | <para>
|
---|
| 29 | The <application>xinit</application> package contains a usable script
|
---|
| 30 | to start the xserver.
|
---|
| 31 | </para>
|
---|
[7babf715] | 32 |
|
---|
[18aa9339] | 33 | &lfs113_checked;
|
---|
[7babf715] | 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
[71df408] | 38 | <para>
|
---|
| 39 | Download (HTTP): <ulink url="&xinit-download-http;"/>
|
---|
| 40 | </para>
|
---|
[7babf715] | 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
[71df408] | 43 | <para>
|
---|
| 44 | Download (FTP): <ulink url="&xinit-download-ftp;"/>
|
---|
| 45 | </para>
|
---|
[7babf715] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[71df408] | 48 | <para>
|
---|
| 49 | Download MD5 sum: &xinit-md5sum;
|
---|
| 50 | </para>
|
---|
[7babf715] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[71df408] | 53 | <para>
|
---|
| 54 | Download size: &xinit-size;
|
---|
| 55 | </para>
|
---|
[7babf715] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[71df408] | 58 | <para>
|
---|
| 59 | Estimated disk space required: &xinit-buildsize;
|
---|
| 60 | </para>
|
---|
[7babf715] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[71df408] | 63 | <para>
|
---|
| 64 | Estimated build time: &xinit-time;
|
---|
| 65 | </para>
|
---|
[7babf715] | 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect3">xinit Dependencies</bridgehead>
|
---|
| 70 |
|
---|
[3bd40abd] | 71 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 72 | <para role="required">
|
---|
| 73 | <xref linkend="xorg7-lib"/>
|
---|
| 74 | </para>
|
---|
| 75 |
|
---|
[e71a98d9] | 76 | <bridgehead renderas="sect4">Recommended (runtime only)</bridgehead>
|
---|
| 77 | <para role="recommended">
|
---|
[8558044] | 78 | <xref role="runtime" linkend="twm"/>,
|
---|
[e71a98d9] | 79 | <xref role="runtime" linkend="xclock"/>, and
|
---|
| 80 | <xref role="runtime" linkend="xterm2"/> (used in the default <filename>
|
---|
| 81 | xinitrc</filename> file)
|
---|
[3bd40abd] | 82 | </para>
|
---|
[7babf715] | 83 |
|
---|
| 84 | <para condition="html" role="usernotes">User Notes:
|
---|
| 85 | <ulink url="&blfs-wiki;/xinit"/></para>
|
---|
| 86 |
|
---|
| 87 | </sect2>
|
---|
| 88 |
|
---|
| 89 | <sect2 role="installation">
|
---|
| 90 | <title>Installation of xinit</title>
|
---|
| 91 |
|
---|
[71df408] | 92 | <para>
|
---|
| 93 | Install <application>xinit</application> by running the
|
---|
| 94 | following commands:
|
---|
| 95 | </para>
|
---|
[7babf715] | 96 |
|
---|
[0d8e5a10] | 97 | <screen><userinput>./configure $XORG_CONFIG --with-xinitdir=/etc/X11/app-defaults &&
|
---|
[7babf715] | 98 | make</userinput></screen>
|
---|
| 99 |
|
---|
[71df408] | 100 | <para>
|
---|
| 101 | This package does not come with a test suite.
|
---|
| 102 | </para>
|
---|
[7babf715] | 103 |
|
---|
[71df408] | 104 | <para>
|
---|
| 105 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 106 | </para>
|
---|
[7babf715] | 107 |
|
---|
[7b273030] | 108 | <screen role="root"><userinput>make install &&
|
---|
| 109 | ldconfig</userinput></screen>
|
---|
[7babf715] | 110 |
|
---|
[27373006] | 111 | <note revision='sysv'>
|
---|
| 112 |
|
---|
[71df408] | 113 | <para>
|
---|
| 114 | If starting Xorg from the command line, the default instructions
|
---|
[f4371a4] | 115 | above start Xorg on the current virtual terminal. It may be
|
---|
[71df408] | 116 | convenient to see Xorg and associated application messages on the
|
---|
| 117 | current virtual terminal, normally tty1, and start the graphical
|
---|
| 118 | environment on the first available unused virtual terminal, normally
|
---|
| 119 | tty7. To do this, set the suid bit on the Xorg application as the
|
---|
| 120 | <systemitem class="username">root</systemitem> user:
|
---|
| 121 | </para>
|
---|
[8558044] | 122 |
|
---|
[9fffa917] | 123 | <screen role="nodump"><userinput>chmod u+s $XORG_PREFIX/libexec/Xorg</userinput></screen>
|
---|
[27373006] | 124 |
|
---|
[71df408] | 125 | <para>
|
---|
[8558044] | 126 | At this point you can start Xorg on virtual terminal 7 with
|
---|
[71df408] | 127 | <command>startx <client arguments> -- vt7</command>. Now
|
---|
[8558044] | 128 | you can toggle between tty1 and tty7 with the Ctrl-Alt-F1 and
|
---|
[71df408] | 129 | Ctrl-Alt-F7 key combinations.
|
---|
| 130 | </para>
|
---|
[8558044] | 131 |
|
---|
[71df408] | 132 | <para>
|
---|
| 133 | To automatically start Xorg on the first available virtual terminal,
|
---|
| 134 | modify the <command>startx</command> script as the <systemitem
|
---|
| 135 | class="username">root</systemitem> user with:
|
---|
| 136 | </para>
|
---|
[8558044] | 137 |
|
---|
[9d3f4e1] | 138 | <screen role="nodump"><userinput>sed -i '/$serverargs $vtarg/ s/serverargs/: #&/' $XORG_PREFIX/bin/startx</userinput></screen>
|
---|
[27373006] | 139 |
|
---|
[71df408] | 140 | <para>
|
---|
[8558044] | 141 | After this change, the virtual terminal does not need to be
|
---|
[71df408] | 142 | specified on the startx command line.
|
---|
| 143 | </para>
|
---|
[27373006] | 144 |
|
---|
| 145 | </note>
|
---|
| 146 |
|
---|
[7babf715] | 147 | </sect2>
|
---|
| 148 |
|
---|
| 149 | <sect2 role="content">
|
---|
| 150 | <title>Contents</title>
|
---|
| 151 |
|
---|
| 152 | <segmentedlist>
|
---|
| 153 | <segtitle>Installed Programs</segtitle>
|
---|
| 154 | <segtitle>Installed Libraries</segtitle>
|
---|
[86cfaa7] | 155 | <segtitle>Installed Directories</segtitle>
|
---|
[7babf715] | 156 |
|
---|
| 157 | <seglistitem>
|
---|
| 158 | <seg>xinit and startx</seg>
|
---|
| 159 | <seg>None</seg>
|
---|
| 160 | <seg>None</seg>
|
---|
| 161 | </seglistitem>
|
---|
| 162 | </segmentedlist>
|
---|
| 163 |
|
---|
| 164 | <variablelist>
|
---|
| 165 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 166 | <?dbfo list-presentation="list"?>
|
---|
| 167 | <?dbhtml list-presentation="table"?>
|
---|
| 168 |
|
---|
| 169 | <varlistentry id="startx">
|
---|
| 170 | <term><command>startx</command></term>
|
---|
| 171 | <listitem>
|
---|
[71df408] | 172 | <para>
|
---|
[4c24eb0a] | 173 | initializes an X session
|
---|
[71df408] | 174 | </para>
|
---|
[7babf715] | 175 | <indexterm zone="xinit startx">
|
---|
| 176 | <primary sortas="b-startx">startx</primary>
|
---|
| 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
| 180 |
|
---|
| 181 | <varlistentry id="xinit-bin">
|
---|
| 182 | <term><command>xinit</command></term>
|
---|
| 183 | <listitem>
|
---|
[71df408] | 184 | <para>
|
---|
[4c24eb0a] | 185 | is the X Window System initializer
|
---|
[71df408] | 186 | </para>
|
---|
[7babf715] | 187 | <indexterm zone="xinit xinit">
|
---|
| 188 | <primary sortas="b-xinit">xinit</primary>
|
---|
| 189 | </indexterm>
|
---|
| 190 | </listitem>
|
---|
| 191 | </varlistentry>
|
---|
| 192 |
|
---|
| 193 | </variablelist>
|
---|
| 194 | </sect2>
|
---|
| 195 |
|
---|
| 196 | </sect1>
|
---|