source: x/installing/xinit.xml@ 3f2db3a6

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 3f2db3a6 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 5.7 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
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 &not-katamari;
34
35 &lfs112_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&xinit-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&xinit-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &xinit-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &xinit-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &xinit-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &xinit-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">xinit Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Required</bridgehead>
74 <para role="required">
75 <xref linkend="xorg7-lib"/>
76 </para>
77
78 <bridgehead renderas="sect4">Recommended (runtime only)</bridgehead>
79 <para role="recommended">
80 <xref role="runtime" linkend="twm"/>,
81 <xref role="runtime" linkend="xclock"/>, and
82 <xref role="runtime" linkend="xterm2"/> (used in the default <filename>
83 xinitrc</filename> file)
84 </para>
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
94 <para>
95 Install <application>xinit</application> by running the
96 following commands:
97 </para>
98
99<screen><userinput>./configure $XORG_CONFIG --with-xinitdir=/etc/X11/app-defaults &amp;&amp;
100make</userinput></screen>
101
102 <para>
103 This package does not come with a test suite.
104 </para>
105
106 <para>
107 Now, as the <systemitem class="username">root</systemitem> user:
108 </para>
109
110<screen role="root"><userinput>make install &amp;&amp;
111ldconfig</userinput></screen>
112
113 <note revision='sysv'>
114
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>
124
125<screen role="nodump"><userinput>chmod u+s $XORG_PREFIX/libexec/Xorg</userinput></screen>
126
127 <para>
128 At this point you can start Xorg on virtual terminal 7 with
129 <command>startx &lt;client arguments&gt; -- vt7</command>. Now
130 you can toggle between tty1 and tty7 with the Ctrl-Alt-F1 and
131 Ctrl-Alt-F7 key combinations.
132 </para>
133
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>
139
140<screen role="nodump"><userinput>sed -i '/$serverargs $vtarg/ s/serverargs/: #&amp;/' $XORG_PREFIX/bin/startx</userinput></screen>
141
142 <para>
143 After this change, the virtual terminal does not need to be
144 specified on the startx command line.
145 </para>
146
147 </note>
148
149 </sect2>
150
151 <sect2 role="content">
152 <title>Contents</title>
153
154 <segmentedlist>
155 <segtitle>Installed Programs</segtitle>
156 <segtitle>Installed Libraries</segtitle>
157 <segtitle>Installed Directories</segtitle>
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>
174 <para>
175 initializes an X session
176 </para>
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>
186 <para>
187 is the X Window System initializer
188 </para>
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>
Note: See TracBrowser for help on using the repository browser.