source: x/installing/xorg-server.xml@ 637bb9ed

elogind
Last change on this file since 637bb9ed was 637bb9ed, checked in by DJ Lucas <dj@…>, 3 years ago

Restore Xorg suid wrapper

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

  • Property mode set to 100644
File size: 13.2 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 xorg-server-download-http "&xorg-download-http;/xserver/xorg-server-&xorg-server-version;.tar.bz2">
8 <!ENTITY xorg-server-download-ftp "&xorg-download-ftp;/xserver/xorg-server-&xorg-server-version;.tar.bz2">
9 <!ENTITY xorg-server-md5sum "8ee29e8b24cef6b3cfa747ec01b9155a">
10 <!ENTITY xorg-server-size "5.9 MB">
11 <!ENTITY xorg-server-buildsize "333 MB (with tests)">
12 <!ENTITY xorg-server-time "0.9 SBU (using parallelism=4; with tests)">
13]>
14
15<sect1 id="xorg-server" xreflabel="Xorg-Server-&xorg-server-version;">
16 <?dbhtml filename="xorg-server.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Xorg-Server-&xorg-server-version;</title>
24
25 <indexterm zone="xorg-server">
26 <primary sortas="a-xorg-server">xorg-server</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Xorg Server</title>
31
32 <para>
33 The <application>Xorg</application> Server is the core
34 of the X Window system.
35 </para>
36
37 &lfs83_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&xorg-server-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&xorg-server-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &xorg-server-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &xorg-server-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &xorg-server-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &xorg-server-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3" revision="sysv">Additional Downloads</bridgehead>
74 <itemizedlist spacing="compact" revision="sysv">
75 <listitem>
76 <para>
77 Recommended patch:
78 <ulink url="&patch-root;/xorg-server-&xorg-server-version;-elogind-2.patch"/>
79 </para>
80 </listitem>
81 </itemizedlist>
82
83<!-- Prime support is now automatically added in DRI3, and this patch
84 may break things on some setups.
85 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
86 <itemizedlist spacing="compact">
87 <listitem>
88 <para>
89 Optional patch:
90 <ulink url="&patch-root;/xorg-server-&xorg-server-version;-add_prime_support-1.patch"/>
91 </para>
92 </listitem>
93 </itemizedlist>-->
94
95 <bridgehead renderas="sect3">Xorg Server Dependencies</bridgehead>
96
97 <bridgehead renderas="sect4">Required</bridgehead>
98 <para role="required">
99 <xref linkend="pixman"/> and
100 <xref linkend="xorg7-font"/> (for the font-util package), and at runtime:
101 <xref role="runtime" linkend="xkeyboard-config"/>
102 </para>
103
104 <bridgehead renderas="sect4">Recommended</bridgehead>
105 <para role="recommended">
106 <xref linkend="libepoxy"/> (needed for glamor and Xwayland),
107 <xref linkend="wayland"/> (needed for Xwayland),
108 <xref linkend="wayland-protocols"/>, and
109 <phrase revision="sysv"><xref linkend="elogind"/></phrase>
110 <phrase revision="systemd"><xref linkend="systemd"/></phrase>
111 </para>
112
113 <bridgehead renderas="sect4">Optional</bridgehead>
114 <para role="optional">
115 <xref role="runtime" linkend="acpid"/> (runtime),
116 <xref linkend="doxygen"/> (to build API documentation),
117 <xref linkend="fop"/> (to build documentation),
118 <xref linkend="nettle"/>,
119 <xref linkend="libgcrypt"/>,
120 <xref linkend="xcb-util-keysyms"/>,
121 <xref linkend="xcb-util-image"/>,
122 <xref linkend="xcb-util-renderutil"/>,
123 <xref linkend="xcb-util-wm"/> (all three to build Xephyr),
124 <xref linkend="xmlto"/> (to build documentation),
125 <ulink url="http://download.savannah.gnu.org/releases/libunwind">libunwind</ulink>, and
126 <ulink url="https://www.x.org/archive/individual/doc/">xorg-sgml-doctools</ulink> (to build documentation)
127 </para>
128
129 <para condition="html" role="usernotes">User Notes:
130 <ulink url='&blfs-wiki;/Xorg7Server'/>
131 </para>
132 </sect2>
133
134 <sect2 role="installation">
135 <title>Installation of Xorg Server</title>
136<!-- Patch removed
137 <para>
138 If you have downloaded the optional patch, apply it by running the
139 following command:
140 </para>
141
142<screen><userinput>patch -Np1 -i ../xorg-server-&xorg-server-version;-add_prime_support-1.patch</userinput></screen>-->
143
144 <para revision="sysv">
145 Apply a patch to add <application>elogind</application> support:
146 </para>
147
148<screen revision="sysv"><userinput>patch -Np1 -i ../xorg-server-&xorg-server-version;-elogind-3.patch &amp;&amp;
149autoreconf -fi</userinput></screen>
150
151 <para>
152 Install the server by running the following commands:
153 </para>
154
155<screen><userinput>./configure $XORG_CONFIG \
156 --enable-glamor \
157 --enable-suid-wrapper \
158 --with-xkb-output=/var/lib/xkb &amp;&amp;
159make</userinput></screen>
160
161 <para>
162 To test the results, issue: <command>make check</command>. You
163 will need to run <command>ldconfig</command> as the <systemitem
164 class="username">root</systemitem> user first or some tests may fail.
165 </para>
166
167 <para>
168 Now as the <systemitem class="username">root</systemitem>
169 user:
170 </para>
171
172<screen role="root"><userinput>make install &amp;&amp;
173mkdir -pv /etc/X11/xorg.conf.d</userinput></screen>
174
175 </sect2>
176
177 <sect2 role="commands">
178 <title>Command Explanations</title>
179
180 <para>
181 <parameter>--enable-glamor</parameter>: Build the Glamor DIX (Device
182 Independent X) module which is currently used by: R600 or later radeon
183 video chipsets, the modesetting driver (which is part of this package)
184 for hardware using KMS which offers acceleration, and (optionally) the
185 intel driver.
186 </para>
187
188 <para revision="sysv">
189 <parameter>--enable-install-setuid</parameter>: If not using
190 <xref linkend="elogind"/>, the Xorg binary must run
191 as the root user. This switch ensures that the binary is installed
192 setuid when <command>make</command> is run by an unprivileged user.
193 </para>
194
195 <para>
196 <parameter>--enable-suid-wrapper</parameter>: Build suid-root wrapper for
197 legacy driver support on rootless xserver systems.
198 </para>
199
200 <para revision="systemd">
201 <option>--disable-systemd-logind --enable-install-setuid</option>:
202 These switches disable systemd-logind integration and restore the setuid
203 bit to the Xorg executable, allowing Xorg Server to work
204 without having the systemd PAM module installed and set up.
205 </para>
206
207 <para>
208 <option>--enable-dmx</option>: Build DMX (Distributed Multihead X)
209 server.
210 </para>
211
212 <para>
213 <option>--enable-kdrive</option>: this option allows the
214 <command>configure</command> script to enable Xephyr if its dependencies
215 are met.
216 </para>
217
218 </sect2>
219
220 <sect2 role="content">
221 <title>Contents</title>
222
223 <segmentedlist>
224 <segtitle>Installed Programs</segtitle>
225 <segtitle>Installed Libraries</segtitle>
226 <segtitle>Installed Directories</segtitle>
227
228 <seglistitem>
229 <seg>
230 cvt, gtf, X, Xnest, Xorg, and Xvfb; optional: dmxaddinput,
231 dmxaddscreen, dmxinfo, dmxreconfig, dmxresize, dmxrminput,
232 dmxrmscreen, dmxtodmx, dmxwininfo, vdltodmx, Xdmx, xdmxconfig, Xephyr,
233 Xfbdev and Xwayland
234 </seg>
235 <seg>
236 several under $XORG_PREFIX/lib/xorg/modules/{,drivers,extensions}
237 including modesetting_drv.so
238 </seg>
239 <seg>
240 $XORG_PREFIX/{include/xorg,lib/xorg,share/X11/xorg.conf.d} and
241 /var/lib/xkb
242 </seg>
243 </seglistitem>
244 </segmentedlist>
245
246 <variablelist>
247 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
248 <?dbfo list-presentation="list"?>
249 <?dbhtml list-presentation="table"?>
250
251 <varlistentry id="cvt-x7">
252 <term><command>cvt</command></term>
253 <listitem>
254 <para>
255 calculates VESA CVT mode lines.
256 </para>
257 <indexterm zone="xorg-server cvt-x7">
258 <primary sortas="b-cvt">cvt</primary>
259 </indexterm>
260 </listitem>
261 </varlistentry>
262
263 <varlistentry id="dmx-x7">
264 <term><command>dmx*</command></term>
265 <listitem>
266 <para>
267 are various tools used for manipulating the dmx server.
268 </para>
269 <indexterm zone="xorg-server dmx-x7">
270 <primary sortas="b-dmx">dmx*</primary>
271 </indexterm>
272 </listitem>
273 </varlistentry>
274
275 <varlistentry id="gtf-x7">
276 <term><command>gtf</command></term>
277 <listitem>
278 <para>
279 calculates VESA GTF mode lines.
280 </para>
281 <indexterm zone="xorg-server gtf-x7">
282 <primary sortas="b-gtf">gtf</primary>
283 </indexterm>
284 </listitem>
285 </varlistentry>
286
287 <varlistentry id="vdltodmx-x7">
288 <term><command>vdltodmx</command></term>
289 <listitem>
290 <para>
291 is a tool used to convert VDL config files to DMX config
292 files.
293 </para>
294 <indexterm zone="xorg-server vdltodmx-x7">
295 <primary sortas="b-vdltodmx">vdltodmx</primary>
296 </indexterm>
297 </listitem>
298 </varlistentry>
299
300 <varlistentry id="X-x7">
301 <term><command>X</command></term>
302 <listitem>
303 <para>
304 is a symbolic link to Xorg.
305 </para>
306 <indexterm zone="xorg-server X-x7">
307 <primary sortas="b-X">X</primary>
308 </indexterm>
309 </listitem>
310 </varlistentry>
311
312 <varlistentry id="Xdmx">
313 <term><command>Xdmx</command></term>
314 <listitem>
315 <para>
316 is a proxy X server that uses one or more other X servers as
317 its display devices.
318 </para>
319 <indexterm zone="xorg-server Xdmx">
320 <primary sortas="b-Xdmx">Xdmx</primary>
321 </indexterm>
322 </listitem>
323 </varlistentry>
324
325 <varlistentry id="Xephyr-x7">
326 <term><command>Xephyr</command></term>
327 <listitem>
328 <para>
329 is a nested X server which supports modern X extensions.
330 </para>
331 <indexterm zone="xorg-server Xephyr-x7">
332 <primary sortas="b-Xephyr">Xephyr</primary>
333 </indexterm>
334 </listitem>
335 </varlistentry>
336
337 <varlistentry id="Xnest-x7">
338 <term><command>Xnest</command></term>
339 <listitem>
340 <para>
341 is a nested X server.
342 </para>
343 <indexterm zone="xorg-server Xnest-x7">
344 <primary sortas="b-Xnest">Xnest</primary>
345 </indexterm>
346 </listitem>
347 </varlistentry>
348
349 <varlistentry id="Xorg-x7">
350 <term><command>Xorg</command></term>
351 <listitem>
352 <para>
353 is the X11R7 X Server.
354 </para>
355 <indexterm zone="xorg-server Xorg-x7">
356 <primary sortas="b-Xorg">Xorg</primary>
357 </indexterm>
358 </listitem>
359 </varlistentry>
360
361 <varlistentry id="Xvfb-x7">
362 <term><command>Xvfb</command></term>
363 <listitem>
364 <para>
365 is the virtual framebuffer X server for X Version 11.
366 </para>
367 <indexterm zone="xorg-server Xvfb-x7">
368 <primary sortas="b-Xvfb">Xvfb</primary>
369 </indexterm>
370 </listitem>
371 </varlistentry>
372
373 <varlistentry id="xdmxconfig-x7">
374 <term><command>xdmxconfig</command></term>
375 <listitem>
376 <para>
377 is a graphical configuration utility for the dmx server.
378 </para>
379 <indexterm zone="xorg-server xdmxconfig-x7">
380 <primary sortas="b-xdmxconfig">xdmxconfig</primary>
381 </indexterm>
382 </listitem>
383 </varlistentry>
384
385 <varlistentry id="Xwayland-x7">
386 <term><command>Xwayland</command></term>
387 <listitem>
388 <para>
389 allows the X server to run X clients under wayland (i.e. wayland
390 provides the input devices and handles the presentation of the
391 windows).
392 </para>
393 <indexterm zone="xorg-server Xwayland-x7">
394 <primary sortas="b-Xwayland">Xwayland</primary>
395 </indexterm>
396 </listitem>
397 </varlistentry>
398
399 <varlistentry id="modesetting_drv-x7">
400 <term><filename class="libraryfile">modesetting_drv.so</filename></term>
401 <listitem>
402 <para>
403 provides a video driver for machines using Kernel Mode Setting (KMS).
404 This will use glamor if that has been enabled and the hardware offers
405 acceleration.
406 </para>
407 <indexterm zone="xorg-server modesetting_drv-x7">
408 <primary sortas="c-modesetting_drv">modesetting_drv.so</primary>
409 </indexterm>
410 </listitem>
411 </varlistentry>
412
413 </variablelist>
414
415 </sect2>
416
417</sect1>
Note: See TracBrowser for help on using the repository browser.