source: x/installing/xorg-server.xml@ facb5590

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 facb5590 was facb5590, checked in by Ken Moffat <ken@…>, 6 years ago

xorg-server-1.19.6

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

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