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