source: x/installing/xinit.xml@ e326344

10.1 11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since e326344 was e326344, checked in by Bruce Dubbs <bdubbs@…>, 13 months ago

Fix sed in xinit note

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23723 af4574ff-66df-0310-9fd7-8a98e5e911e0

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