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