source: x/installing/xinit.xml@ 1f6d0c13

10.0 10.1 11.0 11.1 11.2 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 1f6d0c13 was 1f6d0c13, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Xorg tags and a few others

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

  • Property mode set to 100644
File size: 5.8 KB
RevLine 
[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
[71df408]32 <para>
33 The <application>xinit</application> package contains a usable script
34 to start the xserver.
35 </para>
[7babf715]36
[e03aea8]37 &not-katamari;
38
[1f6d0c13]39 &lfs10_checked;
[7babf715]40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
[71df408]44 <para>
45 Download (HTTP): <ulink url="&xinit-download-http;"/>
46 </para>
[7babf715]47 </listitem>
48 <listitem>
[71df408]49 <para>
50 Download (FTP): <ulink url="&xinit-download-ftp;"/>
51 </para>
[7babf715]52 </listitem>
53 <listitem>
[71df408]54 <para>
55 Download MD5 sum: &xinit-md5sum;
56 </para>
[7babf715]57 </listitem>
58 <listitem>
[71df408]59 <para>
60 Download size: &xinit-size;
61 </para>
[7babf715]62 </listitem>
63 <listitem>
[71df408]64 <para>
65 Estimated disk space required: &xinit-buildsize;
66 </para>
[7babf715]67 </listitem>
68 <listitem>
[71df408]69 <para>
70 Estimated build time: &xinit-time;
71 </para>
[7babf715]72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">xinit Dependencies</bridgehead>
76
[3bd40abd]77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <xref linkend="xorg7-lib"/>
80 </para>
81
[e71a98d9]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)
[3bd40abd]88 </para>
[7babf715]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
[71df408]98 <para>
99 Install <application>xinit</application> by running the
100 following commands:
101 </para>
[7babf715]102
[0d8e5a10]103<screen><userinput>./configure $XORG_CONFIG --with-xinitdir=/etc/X11/app-defaults &amp;&amp;
[7babf715]104make</userinput></screen>
105
[71df408]106 <para>
107 This package does not come with a test suite.
108 </para>
[7babf715]109
[71df408]110 <para>
111 Now, as the <systemitem class="username">root</systemitem> user:
112 </para>
[7babf715]113
[7b273030]114<screen role="root"><userinput>make install &amp;&amp;
115ldconfig</userinput></screen>
[7babf715]116
[27373006]117 <note revision='sysv'>
118
[71df408]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>
[27373006]128
[9fffa917]129<screen role="nodump"><userinput>chmod u+s $XORG_PREFIX/libexec/Xorg</userinput></screen>
[27373006]130
[71df408]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>
[27373006]137
[71df408]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>
[27373006]143
[9fffa917]144<screen role="nodump"><userinput>sed -e '/$serverargs $vtarg/ s/serverargs/: #&amp;/' $XORG_PREFIX/bin/startx</userinput></screen>
[27373006]145
[71df408]146 <para>
147 After this change, the virtual terminal does not need to be
148 specified on the startx command line.
149 </para>
[27373006]150
151 </note>
152
[7babf715]153 </sect2>
154
155 <sect2 role="content">
156 <title>Contents</title>
157
158 <segmentedlist>
159 <segtitle>Installed Programs</segtitle>
160 <segtitle>Installed Libraries</segtitle>
[86cfaa7]161 <segtitle>Installed Directories</segtitle>
[7babf715]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>
[71df408]178 <para>
179 initializes an X session.
180 </para>
[7babf715]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>
[71df408]190 <para>
191 is the X Window System initializer.
192 </para>
[7babf715]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.