source: x/installing/xorg-server.xml@ 1f7002b3

11.3 12.0 12.1 gimp3 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 xry111/llvm18 xry111/spidermonkey128 xry111/xf86-video-removal
Last change on this file since 1f7002b3 was c844a60, checked in by Pierre Labastie <pierre.labastie@…>, 2 years ago

xkeyboard-config is used for X server tests

So it should be "required (runtime)" _and_ "optional (for tests)"

  • Property mode set to 100644
File size: 13.7 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
[72f9c9a1]7 <!ENTITY xorg-server-download-http "&xorg-download-http;/xserver/xorg-server-&xorg-server-version;.tar.xz">
8 <!ENTITY xorg-server-download-ftp "&xorg-download-ftp;/xserver/xorg-server-&xorg-server-version;.tar.xz">
[0bfec527]9 <!ENTITY xorg-server-md5sum "1fee73752bc08a9d364d5e39f19f464f">
[ab5ea1f1]10 <!ENTITY xorg-server-size "4.7 MB">
[0bfec527]11 <!ENTITY xorg-server-buildsize "186 MB (with tests)">
12 <!ENTITY xorg-server-time "0.5 SBU (using parallelism=4; 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 <date>$Date$</date>
[3f72a148]20 </sect1info>
21
22 <title>Xorg-Server-&xorg-server-version;</title>
23
[5faf7f7e]24 <indexterm zone="xorg-server">
[2f4014b]25 <primary sortas="a-xorg-server">xorg-server</primary>
[3f72a148]26 </indexterm>
27
[5e8be1c]28 <sect2 role="package">
[2f4014b]29 <title>Introduction to Xorg Server</title>
[5e8be1c]30
[2f4014b]31 <para>
32 The <application>Xorg</application> Server is the core
33 of the X Window system.
34 </para>
[5e8be1c]35
[aa0b625]36 &lfs112_checked;
[3b69a2aa]37
[5e8be1c]38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
[2f4014b]41 <para>
42 Download (HTTP): <ulink url="&xorg-server-download-http;"/>
43 </para>
[5e8be1c]44 </listitem>
45 <listitem>
[2f4014b]46 <para>
47 Download (FTP): <ulink url="&xorg-server-download-ftp;"/>
48 </para>
[5e8be1c]49 </listitem>
50 <listitem>
[2f4014b]51 <para>
52 Download MD5 sum: &xorg-server-md5sum;
53 </para>
[5e8be1c]54 </listitem>
55 <listitem>
[2f4014b]56 <para>
57 Download size: &xorg-server-size;
58 </para>
[5e8be1c]59 </listitem>
60 <listitem>
[2f4014b]61 <para>
62 Estimated disk space required: &xorg-server-buildsize;
63 </para>
[5e8be1c]64 </listitem>
65 <listitem>
[2f4014b]66 <para>
67 Estimated build time: &xorg-server-time;
68 </para>
[5e8be1c]69 </listitem>
70 </itemizedlist>
[51dfb3e]71
[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">
[ab5ea1f1]88 <xref linkend="libxcvt"/>,
89 <xref linkend="pixman"/>,
[9eac457]90 <xref linkend="xorg7-font"/> (only font-util), and at runtime:
[e71a98d9]91 <xref role="runtime" linkend="xkeyboard-config"/>
[2f4014b]92 </para>
[5e8be1c]93
[53a89e5]94 <bridgehead renderas="sect4">Recommended</bridgehead>
[51dfb3e]95 <para role="recommended">
[9eac457]96 <phrase revision="sysv"><xref linkend="elogind"/>,</phrase>
[623b3bc]97 <xref linkend="libepoxy"/> (needed for glamor),
98 <xref linkend="libtirpc"/>, and
[ab5ea1f1]99 <phrase revision="sysv"><xref role="runtime"
100 linkend="polkit"/> (runtime)</phrase>
101 <phrase revision="systemd"><xref linkend="systemd"/></phrase>
[597ac4bd]102 </para>
[53a89e5]103
[b1e3537]104 <bridgehead renderas="sect4">Optional</bridgehead>
[a7ec376]105 <para role="optional">
[e71a98d9]106 <xref role="runtime" linkend="acpid"/> (runtime),
[2f4014b]107 <xref linkend="doxygen"/> (to build API documentation),
[caec3e22]108 <xref linkend="fop"/> (to build documentation),
[751dd1e]109 <xref linkend="libunwind"/>,
[94b42903]110 <xref linkend="nettle"/>,
111 <xref linkend="libgcrypt"/>,
[f9387090]112 <xref linkend="xcb-util-keysyms"/>,
[9bff4bc]113 <xref linkend="xcb-util-image"/>,
114 <xref linkend="xcb-util-renderutil"/>,
[ab5ea1f1]115 <xref linkend="xcb-util-wm"/> (all four to build Xephyr),
[caec3e22]116 <xref linkend="xmlto"/> (to build documentation),
[c844a60]117 <xref linkend="xkeyboard-config"/> (for tests),
[c53fe5a7]118 <ulink url="https://gitlab.freedesktop.org/xorg/test/rendercheck">rendercheck</ulink> (for tests), and
[caec3e22]119 <ulink url="https://www.x.org/archive/individual/doc/">xorg-sgml-doctools</ulink> (to build documentation)
[2f4014b]120 </para>
[9ba5bd9]121
[5e8be1c]122 <para condition="html" role="usernotes">User Notes:
[2f4014b]123 <ulink url='&blfs-wiki;/Xorg7Server'/>
124 </para>
[5e8be1c]125 </sect2>
[10eeae12]126
[3f72a148]127 <sect2 role="installation">
128 <title>Installation of Xorg Server</title>
[6039a39]129<!-- Patch removed
[2717491]130 <para>
[8af694bb]131 If you have downloaded the optional patch, apply it by running the
[6dd40f9]132 following command:
[a2c6cd2]133 </para>
134
[6039a39]135<screen><userinput>patch -Np1 -i ../xorg-server-&xorg-server-version;-add_prime_support-1.patch</userinput></screen>-->
[a2c6cd2]136
[0bfec527]137<!-- Not needed with 21.1.4
[27bcf01]138 <para>
139 Fix an issue with gcc-12 and later:
140 </para>
141
142<screen><userinput>sed -i '/(SourcePictPtr)/s/sizeof([^)]*)/sizeof(SourcePict)/' render/picture.c</userinput></screen>
[0bfec527]143-->
[27bcf01]144
[52a90a3]145 <para>
146 Install the server by running the following commands:
147 </para>
[3f72a148]148
[ab5ea1f1]149<screen><userinput>mkdir build &amp;&amp;
[c53fe5a7]150cd build &amp;&amp;
[ab5ea1f1]151
152meson --prefix=$XORG_PREFIX \
[f3b995a]153 --localstatedir=/var \
[ab5ea1f1]154 -Dsuid_wrapper=true \
155 -Dxkb_output_dir=/var/lib/xkb &amp;&amp;
156ninja</userinput></screen>
[597ac4bd]157
[2f4014b]158 <para>
[ab5ea1f1]159 To test the results, issue: <command>ninja test</command>. You
[f885719]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
[ab5ea1f1]169<screen role="root" revision="sysv"><userinput>ninja install &amp;&amp;
[2f4014b]170mkdir -pv /etc/X11/xorg.conf.d &amp;&amp;
[468d7225]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>
[468d7225]174EOF</userinput></screen>
[3f72a148]175
[ab5ea1f1]176<screen role="root" revision="systemd"><userinput>ninja install &amp;&amp;
[597ac4bd]177mkdir -pv /etc/X11/xorg.conf.d</userinput></screen>
178
[3f72a148]179 </sect2>
180
181 <sect2 role="commands">
182 <title>Command Explanations</title>
[ab5ea1f1]183<!-- built by default now
[53a89e5]184 <para>
[ab5ea1f1]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>
[ab5ea1f1]191-->
[fad8db2]192 <para>
[ab5ea1f1]193 <parameter>-Dsuid_wrapper=true</parameter>: Builds the suid-root
[ec603a13]194 wrapper for legacy driver support on rootless xserver systems.
[fad8db2]195 </para>
[27373006]196
[51dfb3e]197 <para>
[ab5ea1f1]198 <option>-Dsystemd_logind=false</option>:
[27373006]199 This switch disables <phrase revision="systemd">systemd-logind</phrase>
[c53fe5a7]200 <phrase revision="sysv">elogind</phrase> integration, allowing Xorg Server
[27373006]201 to work without having the <phrase revision="systemd">systemd</phrase>
[51dfb3e]202 <phrase revision="elogind">elogind</phrase> PAM module configured.
[597ac4bd]203 </para>
[ab5ea1f1]204<!-- seems to be completely removed with meson build:
[27373006]205 <para>
[ab5ea1f1]206 <option>- -enable-install-setuid</option>:
[27373006]207 This switch restores the setuid bit to the Xorg executable allowing Xorg
208 Server to work with a virtual terminal designated on the
209 <command>startx</command> command line.
210 </para>
[ab5ea1f1]211-->
[597ac4bd]212 <para revision="sysv">
[2f4014b]213 <command>cat &gt;&gt; /etc/sysconfig/createfiles...</command>: This
214 command creates the <filename class="directory">/tmp/.ICE-unix</filename>
215 and <filename class="directory">/tmp/.X11-unix</filename> directories at
216 startup, and ensures that the permissions and ownership are correct as
217 required by the server.
218 </para>
[468d7225]219
[9bff4bc]220 <para>
[c53fe5a7]221 <option>-Dxephyr=true</option>: This option allows building Xephyr if its
222 dependencies are met.
[9bff4bc]223 </para>
224
[3f72a148]225 </sect2>
226
[7ab35da]227 <sect2 role="content">
228 <title>Contents</title>
229
230 <segmentedlist>
231 <segtitle>Installed Programs</segtitle>
[95e8211]232 <segtitle>Installed Libraries</segtitle>
[7ab35da]233 <segtitle>Installed Directories</segtitle>
234
235 <seglistitem>
[2f4014b]236 <seg>
[ab5ea1f1]237 gtf, X, Xnest, Xorg, Xvfb, and optionally Xephyr
[2f4014b]238 </seg>
[95e8211]239 <seg>
[ab5ea1f1]240 several under $XORG_PREFIX/lib/xorg/modules/ including the
241 <filename class="libraryfile">modesetting_drv.so</filename>
242 driver
[95e8211]243 </seg>
[2f4014b]244 <seg>
[ab5ea1f1]245 /etc/X11/xorg.conf.d,
246 $XORG_PREFIX/include/xorg,
247 $XORG_PREFIX/lib/xorg, and
248 $XORG_PREFIX/share/X11/xorg.conf.d
[2f4014b]249 </seg>
[ab5ea1f1]250
[7ab35da]251 </seglistitem>
252 </segmentedlist>
253
254 <variablelist>
255 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
256 <?dbfo list-presentation="list"?>
257 <?dbhtml list-presentation="table"?>
[ab5ea1f1]258<!-- Now in libxcvt:
[7ab35da]259 <varlistentry id="cvt-x7">
260 <term><command>cvt</command></term>
261 <listitem>
[2f4014b]262 <para>
[4c24eb0a]263 calculates VESA CVT mode lines
[2f4014b]264 </para>
[5faf7f7e]265 <indexterm zone="xorg-server cvt-x7">
[7ab35da]266 <primary sortas="b-cvt">cvt</primary>
267 </indexterm>
268 </listitem>
269 </varlistentry>
[ab5ea1f1]270Removed in this release:
[7c472863]271 <varlistentry id="dmx-x7">
272 <term><command>dmx*</command></term>
273 <listitem>
[2f4014b]274 <para>
[4c24eb0a]275 are various tools used for manipulating the dmx server
[2f4014b]276 </para>
[5faf7f7e]277 <indexterm zone="xorg-server dmx-x7">
[7c472863]278 <primary sortas="b-dmx">dmx*</primary>
279 </indexterm>
280 </listitem>
281 </varlistentry>
[ab5ea1f1]282-->
[7ab35da]283 <varlistentry id="gtf-x7">
284 <term><command>gtf</command></term>
285 <listitem>
[2f4014b]286 <para>
[4c24eb0a]287 calculates VESA GTF mode lines
[2f4014b]288 </para>
[5faf7f7e]289 <indexterm zone="xorg-server gtf-x7">
[7ab35da]290 <primary sortas="b-gtf">gtf</primary>
291 </indexterm>
292 </listitem>
293 </varlistentry>
[ab5ea1f1]294<!-- No dmx in this release
[7c472863]295 <varlistentry id="vdltodmx-x7">
296 <term><command>vdltodmx</command></term>
297 <listitem>
[2f4014b]298 <para>
299 is a tool used to convert VDL config files to DMX config
[4c24eb0a]300 files
[2f4014b]301 </para>
[5faf7f7e]302 <indexterm zone="xorg-server vdltodmx-x7">
[7c472863]303 <primary sortas="b-vdltodmx">vdltodmx</primary>
304 </indexterm>
305 </listitem>
306 </varlistentry>
[ab5ea1f1]307-->
[7ab35da]308 <varlistentry id="X-x7">
309 <term><command>X</command></term>
310 <listitem>
[2f4014b]311 <para>
[4c24eb0a]312 is a symbolic link to Xorg
[2f4014b]313 </para>
[5faf7f7e]314 <indexterm zone="xorg-server X-x7">
[7ab35da]315 <primary sortas="b-X">X</primary>
316 </indexterm>
317 </listitem>
318 </varlistentry>
[ab5ea1f1]319<!-- No dmx in this release
[6d772cc]320 <varlistentry id="Xdmx">
321 <term><command>Xdmx</command></term>
322 <listitem>
323 <para>
324 is a proxy X server that uses one or more other X servers as
[4c24eb0a]325 its display devices
[6d772cc]326 </para>
327 <indexterm zone="xorg-server Xdmx">
328 <primary sortas="b-Xdmx">Xdmx</primary>
329 </indexterm>
330 </listitem>
331 </varlistentry>
[ab5ea1f1]332-->
[9bff4bc]333 <varlistentry id="Xephyr-x7">
334 <term><command>Xephyr</command></term>
335 <listitem>
336 <para>
[4c24eb0a]337 is a nested X server which supports modern X extensions
[9bff4bc]338 </para>
339 <indexterm zone="xorg-server Xephyr-x7">
340 <primary sortas="b-Xephyr">Xephyr</primary>
341 </indexterm>
342 </listitem>
343 </varlistentry>
344
[7ab35da]345 <varlistentry id="Xnest-x7">
346 <term><command>Xnest</command></term>
347 <listitem>
[2f4014b]348 <para>
[4c24eb0a]349 is a nested X server
[2f4014b]350 </para>
[5faf7f7e]351 <indexterm zone="xorg-server Xnest-x7">
[7ab35da]352 <primary sortas="b-Xnest">Xnest</primary>
353 </indexterm>
354 </listitem>
355 </varlistentry>
356
357 <varlistentry id="Xorg-x7">
358 <term><command>Xorg</command></term>
359 <listitem>
[2f4014b]360 <para>
[4c24eb0a]361 is the X11R7 X Server
[2f4014b]362 </para>
[5faf7f7e]363 <indexterm zone="xorg-server Xorg-x7">
[7ab35da]364 <primary sortas="b-Xorg">Xorg</primary>
365 </indexterm>
366 </listitem>
367 </varlistentry>
368
369 <varlistentry id="Xvfb-x7">
370 <term><command>Xvfb</command></term>
371 <listitem>
[2f4014b]372 <para>
[4c24eb0a]373 is the virtual framebuffer X server for X Version 11
[2f4014b]374 </para>
[5faf7f7e]375 <indexterm zone="xorg-server Xvfb-x7">
[7ab35da]376 <primary sortas="b-Xvfb">Xvfb</primary>
377 </indexterm>
378 </listitem>
379 </varlistentry>
[ab5ea1f1]380<!-- No dmx in this release
[7c472863]381 <varlistentry id="xdmxconfig-x7">
382 <term><command>xdmxconfig</command></term>
383 <listitem>
[2f4014b]384 <para>
[4c24eb0a]385 is a graphical configuration utility for the dmx server
[2f4014b]386 </para>
[5faf7f7e]387 <indexterm zone="xorg-server xdmxconfig-x7">
[7c472863]388 <primary sortas="b-xdmxconfig">xdmxconfig</primary>
389 </indexterm>
390 </listitem>
391 </varlistentry>
[ab5ea1f1]392Xwayland has been separated to xwayland package
[facb5590]393 <varlistentry id="Xwayland-x7">
394 <term><command>Xwayland</command></term>
395 <listitem>
396 <para>
397 allows the X server to run X clients under wayland (i.e. wayland
398 provides the input devices and handles the presentation of the
[4c24eb0a]399 windows)
[facb5590]400 </para>
401 <indexterm zone="xorg-server Xwayland-x7">
402 <primary sortas="b-Xwayland">Xwayland</primary>
403 </indexterm>
404 </listitem>
405 </varlistentry>
[ab5ea1f1]406-->
[9bff4bc]407 <varlistentry id="modesetting_drv-x7">
408 <term><filename class="libraryfile">modesetting_drv.so</filename></term>
409 <listitem>
410 <para>
411 provides a video driver for machines using Kernel Mode Setting (KMS).
412 This will use glamor if that has been enabled and the hardware offers
[4c24eb0a]413 acceleration
[9bff4bc]414 </para>
415 <indexterm zone="xorg-server modesetting_drv-x7">
416 <primary sortas="c-modesetting_drv">modesetting_drv.so</primary>
417 </indexterm>
418 </listitem>
419 </varlistentry>
420
[7ab35da]421 </variablelist>
422
423 </sect2>
424
[3f72a148]425</sect1>
Note: See TracBrowser for help on using the repository browser.