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