source: x/installing/xorg-server.xml@ 2527a93

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 2527a93 was 2527a93, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to xorg-server-1.19.4.
Update to xkeyboard-config-2.22.
Update to mesa-17.2.2.
Update to libinput-1.8.3.

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

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