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