source: x/installing/xinit.xml@ 78906650

12.1 ken/TL2024 lazarus trunk xry111/llvm18
Last change on this file since 78906650 was b9874725, checked in by Bruce Dubbs <bdubbs@…>, 4 months ago

Many tags.

Mostly Programming and Xorg sections and dependencies.

  • Property mode set to 100644
File size: 5.5 KB
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[7babf715]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
[f4371a4]7 <!ENTITY xinit-download-http "&xorg-download-http;/app/xinit-&xinit-version;.tar.xz">
[e1e58be]8 <!ENTITY xinit-download-ftp " ">
[f4371a4]9 <!ENTITY xinit-md5sum "0e9a1b9a82b84ab229c709c0f939c113">
10 <!ENTITY xinit-size "153 KB">
[5cd7055]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
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
[71df408]28 <para>
29 The <application>xinit</application> package contains a usable script
30 to start the xserver.
31 </para>
[7babf715]32
[b9874725]33 &lfs121_checked;
[7babf715]34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
[71df408]38 <para>
39 Download (HTTP): <ulink url="&xinit-download-http;"/>
40 </para>
[7babf715]41 </listitem>
42 <listitem>
[71df408]43 <para>
44 Download (FTP): <ulink url="&xinit-download-ftp;"/>
45 </para>
[7babf715]46 </listitem>
47 <listitem>
[71df408]48 <para>
49 Download MD5 sum: &xinit-md5sum;
50 </para>
[7babf715]51 </listitem>
52 <listitem>
[71df408]53 <para>
54 Download size: &xinit-size;
55 </para>
[7babf715]56 </listitem>
57 <listitem>
[71df408]58 <para>
59 Estimated disk space required: &xinit-buildsize;
60 </para>
[7babf715]61 </listitem>
62 <listitem>
[71df408]63 <para>
64 Estimated build time: &xinit-time;
65 </para>
[7babf715]66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect3">xinit Dependencies</bridgehead>
70
[3bd40abd]71 <bridgehead renderas="sect4">Required</bridgehead>
72 <para role="required">
73 <xref linkend="xorg7-lib"/>
74 </para>
75
[e71a98d9]76 <bridgehead renderas="sect4">Recommended (runtime only)</bridgehead>
77 <para role="recommended">
[8558044]78 <xref role="runtime" linkend="twm"/>,
[e71a98d9]79 <xref role="runtime" linkend="xclock"/>, and
80 <xref role="runtime" linkend="xterm2"/> (used in the default <filename>
81 xinitrc</filename> file)
[3bd40abd]82 </para>
[7babf715]83
84
85 </sect2>
86
87 <sect2 role="installation">
88 <title>Installation of xinit</title>
89
[71df408]90 <para>
91 Install <application>xinit</application> by running the
92 following commands:
93 </para>
[7babf715]94
[0d8e5a10]95<screen><userinput>./configure $XORG_CONFIG --with-xinitdir=/etc/X11/app-defaults &amp;&amp;
[7babf715]96make</userinput></screen>
97
[71df408]98 <para>
99 This package does not come with a test suite.
100 </para>
[7babf715]101
[71df408]102 <para>
103 Now, as the <systemitem class="username">root</systemitem> user:
104 </para>
[7babf715]105
[7b273030]106<screen role="root"><userinput>make install &amp;&amp;
107ldconfig</userinput></screen>
[7babf715]108
[27373006]109 <note revision='sysv'>
110
[71df408]111 <para>
112 If starting Xorg from the command line, the default instructions
[f4371a4]113 above start Xorg on the current virtual terminal. It may be
[71df408]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>
[8558044]120
[f4d1297]121<screen role="nodump"><userinput>chmod u+s $XORG_PREFIX/bin/Xorg</userinput></screen>
[27373006]122
[71df408]123 <para>
[8558044]124 At this point you can start Xorg on virtual terminal 7 with
[71df408]125 <command>startx &lt;client arguments&gt; -- vt7</command>. Now
[8558044]126 you can toggle between tty1 and tty7 with the Ctrl-Alt-F1 and
[71df408]127 Ctrl-Alt-F7 key combinations.
128 </para>
[8558044]129
[71df408]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>
[8558044]135
[9d3f4e1]136<screen role="nodump"><userinput>sed -i '/$serverargs $vtarg/ s/serverargs/: #&amp;/' $XORG_PREFIX/bin/startx</userinput></screen>
[27373006]137
[71df408]138 <para>
[8558044]139 After this change, the virtual terminal does not need to be
[665150a]140 specified on the <command>startx</command> command line.
[71df408]141 </para>
[27373006]142
143 </note>
144
[7babf715]145 </sect2>
146
147 <sect2 role="content">
148 <title>Contents</title>
149
150 <segmentedlist>
151 <segtitle>Installed Programs</segtitle>
152 <segtitle>Installed Libraries</segtitle>
[86cfaa7]153 <segtitle>Installed Directories</segtitle>
[7babf715]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>
[71df408]170 <para>
[4c24eb0a]171 initializes an X session
[71df408]172 </para>
[7babf715]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>
[71df408]182 <para>
[4c24eb0a]183 is the X Window System initializer
[71df408]184 </para>
[7babf715]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>
Note: See TracBrowser for help on using the repository browser.