[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">
|
---|
[fa58dc7] | 9 | <!ENTITY xorg-server-md5sum "5986510d59e394a50126a8e2833e79d3">
|
---|
[9bff4bc] | 10 | <!ENTITY xorg-server-size "5.6 MB">
|
---|
[fa58dc7] | 11 | <!ENTITY xorg-server-buildsize "410 MB">
|
---|
| 12 | <!ENTITY xorg-server-time "1.6 SBU">
|
---|
[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 |
|
---|
[863f350] | 37 | &lfs77_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>
|
---|
| 72 |
|
---|
[52a90a3] | 73 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 74 | <itemizedlist spacing="compact">
|
---|
| 75 | <listitem>
|
---|
| 76 | <para>
|
---|
| 77 | Optional patch:
|
---|
| 78 | <ulink url="&patch-root;/xorg-server-&xorg-server-version;-add_prime_support-1.patch"/>
|
---|
| 79 | </para>
|
---|
| 80 | </listitem>
|
---|
[6dd40f9] | 81 | <listitem>
|
---|
| 82 | <para>
|
---|
| 83 | Optional patch:
|
---|
| 84 | <ulink url="&patch-root;/xorg-server-&xorg-server-version;-fix_modesetting-1.patch"/>
|
---|
| 85 | </para>
|
---|
| 86 | </listitem>
|
---|
[52a90a3] | 87 | </itemizedlist>
|
---|
| 88 |
|
---|
[5e8be1c] | 89 | <bridgehead renderas="sect3">Xorg Server Dependencies</bridgehead>
|
---|
| 90 |
|
---|
| 91 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[2f4014b] | 92 | <para role="required">
|
---|
[360311e] | 93 | <xref linkend="openssl"/> or
|
---|
| 94 | <xref linkend="nettle"/> or
|
---|
| 95 | <xref linkend="libgcrypt"/>,
|
---|
[2f4014b] | 96 | <xref linkend="pixman"/>,
|
---|
[534f7d7] | 97 | <xref linkend="xorg7-font"/>, and
|
---|
[2f4014b] | 98 | <xref linkend="xkeyboard-config"/>
|
---|
| 99 | </para>
|
---|
[5e8be1c] | 100 |
|
---|
[53a89e5] | 101 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[a7ec376] | 102 | <para role="recommended">
|
---|
[53a89e5] | 103 | <xref linkend="libepoxy"/> (required for glamor, see command
|
---|
| 104 | explanations below)
|
---|
[9bff4bc] | 105 | <xref linkend="xcb-util-keysyms"/> (used by Xnest)
|
---|
[53a89e5] | 106 | </para>
|
---|
| 107 |
|
---|
[b1e3537] | 108 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[a7ec376] | 109 | <para role="optional">
|
---|
[ecff6e58] | 110 | <xref linkend="acpid"/> (runtime),
|
---|
[2f4014b] | 111 | <xref linkend="doxygen"/> (to build API documentation),
|
---|
| 112 | <xref linkend="fop"/>, (to build documentation),
|
---|
[9bff4bc] | 113 | <xref linkend="gs"/> (to build documentation),
|
---|
| 114 | <xref linkend="xcb-util-image"/>,
|
---|
| 115 | <xref linkend="xcb-util-renderutil"/>,
|
---|
| 116 | <xref linkend="xcb-util-wm"/> (all three to build Xephyr) and
|
---|
| 117 | <xref linkend="xmlto"/> (to build documentation)
|
---|
[2f4014b] | 118 | </para>
|
---|
[9ba5bd9] | 119 |
|
---|
[5e8be1c] | 120 | <para condition="html" role="usernotes">User Notes:
|
---|
[2f4014b] | 121 | <ulink url='&blfs-wiki;/Xorg7Server'/>
|
---|
| 122 | </para>
|
---|
[5e8be1c] | 123 | </sect2>
|
---|
[10eeae12] | 124 |
|
---|
[3f72a148] | 125 | <sect2 role="installation">
|
---|
| 126 | <title>Installation of Xorg Server</title>
|
---|
| 127 |
|
---|
[52a90a3] | 128 | <para>
|
---|
[6dd40f9] | 129 | If you have downloaded the first optional patch, apply it by running
|
---|
[52a90a3] | 130 | the following command:
|
---|
| 131 | </para>
|
---|
| 132 |
|
---|
| 133 | <screen><userinput>patch -Np1 -i ../xorg-server-&xorg-server-version;-add_prime_support-1.patch</userinput></screen>
|
---|
| 134 |
|
---|
[a2c6cd2] | 135 | <para>
|
---|
[6dd40f9] | 136 | The <application>modesetting</application> video driver is now included
|
---|
| 137 | in the tarball (since version 1.17). It needs to be fixed for 32-bit
|
---|
| 138 | machines and for cards which do not support an hardware mouse pointer.
|
---|
| 139 | If you plan to use the modesetting video driver, run the
|
---|
| 140 | following command:
|
---|
[a2c6cd2] | 141 | </para>
|
---|
| 142 |
|
---|
[6dd40f9] | 143 | <screen><userinput>patch -Np1 -i ../xorg-server-&xorg-server-version;-fix_modesetting-1.patch</userinput></screen>
|
---|
[a2c6cd2] | 144 |
|
---|
[52a90a3] | 145 | <para>
|
---|
| 146 | Install the server by running the following commands:
|
---|
| 147 | </para>
|
---|
[3f72a148] | 148 |
|
---|
[8ddea36] | 149 | <screen><userinput>./configure $XORG_CONFIG \
|
---|
| 150 | --enable-glamor \
|
---|
| 151 | --enable-install-setuid \
|
---|
| 152 | --enable-suid-wrapper \
|
---|
| 153 | --disable-systemd-logind \
|
---|
| 154 | --with-xkb-output=/var/lib/xkb &&
|
---|
[3f72a148] | 155 | make</userinput></screen>
|
---|
| 156 |
|
---|
[2f4014b] | 157 | <para>
|
---|
| 158 | To test the results, issue: <command>make check</command>.
|
---|
| 159 | </para>
|
---|
[ad54ac8] | 160 |
|
---|
[2f4014b] | 161 | <para>
|
---|
| 162 | Now as the <systemitem class="username">root</systemitem>
|
---|
| 163 | user:
|
---|
| 164 | </para>
|
---|
[3f72a148] | 165 |
|
---|
[7c472863] | 166 | <screen role="root"><userinput>make install &&
|
---|
[2f4014b] | 167 | mkdir -pv /etc/X11/xorg.conf.d &&
|
---|
[468d7225] | 168 | cat >> /etc/sysconfig/createfiles << "EOF"
|
---|
[be9c663] | 169 | <literal>/tmp/.ICE-unix dir 1777 root root
|
---|
| 170 | /tmp/.X11-unix dir 1777 root root</literal>
|
---|
[468d7225] | 171 | EOF</userinput></screen>
|
---|
[3f72a148] | 172 |
|
---|
| 173 | </sect2>
|
---|
| 174 |
|
---|
| 175 | <sect2 role="commands">
|
---|
| 176 | <title>Command Explanations</title>
|
---|
| 177 |
|
---|
[53a89e5] | 178 | <para>
|
---|
| 179 | <parameter>--enable-glamor</parameter>: Build the Glamor DIX (Device
|
---|
| 180 | Independent X) module which is currently required for Southern Islands and
|
---|
| 181 | Sea Islands radeon video chipsets, optional for some other radeons, and
|
---|
[9bff4bc] | 182 | also optional for the intel driver. It is also used by the modesetting
|
---|
| 183 | driver (which is part of this package) for on hardware using KMS and which
|
---|
| 184 | offers acceleration.
|
---|
[53a89e5] | 185 | </para>
|
---|
| 186 |
|
---|
[2f4014b] | 187 | <para>
|
---|
[6dd40f9] | 188 | <parameter>--enable-install-setuid</parameter>: The Xorg binary must run
|
---|
| 189 | as the root user. This switch ensures that the binary is installed
|
---|
[2f4014b] | 190 | setuid when <command>make</command> is run by an unprivileged user.
|
---|
| 191 | </para>
|
---|
[468d7225] | 192 |
|
---|
[fad8db2] | 193 | <para>
|
---|
| 194 | <parameter>--enable-suid-wrapper</parameter>: Build suid-root wrapper for
|
---|
| 195 | legacy driver support on rootless xserver systems.
|
---|
| 196 | </para>
|
---|
| 197 |
|
---|
[8ddea36] | 198 | <para>
|
---|
| 199 | <parameter>--disable-systemd-logind</parameter>: Do not build
|
---|
| 200 | systemd-logind support, otherwise, an error (EE), logged in
|
---|
| 201 | <filename>/var/log/Xorg.0.log</filename>, occurs when starting the X
|
---|
| 202 | server. Systemd is not supported by BLFS.
|
---|
| 203 | </para>
|
---|
| 204 |
|
---|
[2f4014b] | 205 | <para>
|
---|
| 206 | <command>cat >> /etc/sysconfig/createfiles...</command>: This
|
---|
| 207 | command creates the <filename class="directory">/tmp/.ICE-unix</filename>
|
---|
| 208 | and <filename class="directory">/tmp/.X11-unix</filename> directories at
|
---|
| 209 | startup, and ensures that the permissions and ownership are correct as
|
---|
| 210 | required by the server.
|
---|
| 211 | </para>
|
---|
[468d7225] | 212 |
|
---|
[9bff4bc] | 213 | <para>
|
---|
| 214 | <option>--enable-dmx</option>: Build DMX (Distributed Multihead X)
|
---|
| 215 | server.
|
---|
| 216 | </para>
|
---|
| 217 |
|
---|
| 218 | <para>
|
---|
| 219 | <option>--enable-kdrive</option>: this option allows the
|
---|
| 220 | <command>configure</command> script to enable Xephyr if its dependencies
|
---|
| 221 | are met.
|
---|
| 222 | </para>
|
---|
| 223 |
|
---|
[3f72a148] | 224 | </sect2>
|
---|
| 225 |
|
---|
[7ab35da] | 226 | <sect2 role="content">
|
---|
| 227 | <title>Contents</title>
|
---|
| 228 |
|
---|
| 229 | <segmentedlist>
|
---|
| 230 | <segtitle>Installed Programs</segtitle>
|
---|
[95e8211] | 231 | <segtitle>Installed Libraries</segtitle>
|
---|
[7ab35da] | 232 | <segtitle>Installed Directories</segtitle>
|
---|
| 233 |
|
---|
| 234 | <seglistitem>
|
---|
[2f4014b] | 235 | <seg>
|
---|
| 236 | cvt, dmxaddinput, dmxaddscreen, dmxinfo, dmxreconfig, dmxresize,
|
---|
| 237 | dmxrminput, dmxrmscreen, dmxtodmx, dmxwininfo, gtf, vdltodmx, X,
|
---|
[9bff4bc] | 238 | Xdmx, xdmxconfig, Xephyr, Xnest, Xorg, and Xvfb
|
---|
[2f4014b] | 239 | </seg>
|
---|
[95e8211] | 240 | <seg>
|
---|
[9bff4bc] | 241 | several under $XORG_PREFIX/lib/xorg/modules/{,drivers,extensions}
|
---|
| 242 | including modesetting_drv.so
|
---|
[95e8211] | 243 | </seg>
|
---|
[2f4014b] | 244 | <seg>
|
---|
| 245 | $XORG_PREFIX/include/xorg,
|
---|
| 246 | $XORG_PREFIX/lib/xorg,
|
---|
[534f7d7] | 247 | $XORG_PREFIX/share/X11/xorg.conf.d, and
|
---|
[2f4014b] | 248 | /var/lib/xkb
|
---|
| 249 | </seg>
|
---|
[7ab35da] | 250 | </seglistitem>
|
---|
| 251 | </segmentedlist>
|
---|
| 252 |
|
---|
| 253 | <variablelist>
|
---|
| 254 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 255 | <?dbfo list-presentation="list"?>
|
---|
| 256 | <?dbhtml list-presentation="table"?>
|
---|
| 257 |
|
---|
| 258 | <varlistentry id="cvt-x7">
|
---|
| 259 | <term><command>cvt</command></term>
|
---|
| 260 | <listitem>
|
---|
[2f4014b] | 261 | <para>
|
---|
| 262 | calculates VESA CVT mode lines.
|
---|
| 263 | </para>
|
---|
[5faf7f7e] | 264 | <indexterm zone="xorg-server cvt-x7">
|
---|
[7ab35da] | 265 | <primary sortas="b-cvt">cvt</primary>
|
---|
| 266 | </indexterm>
|
---|
| 267 | </listitem>
|
---|
| 268 | </varlistentry>
|
---|
| 269 |
|
---|
[7c472863] | 270 | <varlistentry id="dmx-x7">
|
---|
| 271 | <term><command>dmx*</command></term>
|
---|
| 272 | <listitem>
|
---|
[2f4014b] | 273 | <para>
|
---|
| 274 | are various tools used for manipulating the dmx server.
|
---|
| 275 | </para>
|
---|
[5faf7f7e] | 276 | <indexterm zone="xorg-server dmx-x7">
|
---|
[7c472863] | 277 | <primary sortas="b-dmx">dmx*</primary>
|
---|
| 278 | </indexterm>
|
---|
| 279 | </listitem>
|
---|
| 280 | </varlistentry>
|
---|
| 281 |
|
---|
[7ab35da] | 282 | <varlistentry id="gtf-x7">
|
---|
| 283 | <term><command>gtf</command></term>
|
---|
| 284 | <listitem>
|
---|
[2f4014b] | 285 | <para>
|
---|
| 286 | calculates VESA GTF mode lines.
|
---|
| 287 | </para>
|
---|
[5faf7f7e] | 288 | <indexterm zone="xorg-server gtf-x7">
|
---|
[7ab35da] | 289 | <primary sortas="b-gtf">gtf</primary>
|
---|
| 290 | </indexterm>
|
---|
| 291 | </listitem>
|
---|
| 292 | </varlistentry>
|
---|
| 293 |
|
---|
[7c472863] | 294 | <varlistentry id="vdltodmx-x7">
|
---|
| 295 | <term><command>vdltodmx</command></term>
|
---|
| 296 | <listitem>
|
---|
[2f4014b] | 297 | <para>
|
---|
| 298 | is a tool used to convert VDL config files to DMX config
|
---|
| 299 | files.
|
---|
| 300 | </para>
|
---|
[5faf7f7e] | 301 | <indexterm zone="xorg-server vdltodmx-x7">
|
---|
[7c472863] | 302 | <primary sortas="b-vdltodmx">vdltodmx</primary>
|
---|
| 303 | </indexterm>
|
---|
| 304 | </listitem>
|
---|
| 305 | </varlistentry>
|
---|
| 306 |
|
---|
[7ab35da] | 307 | <varlistentry id="X-x7">
|
---|
| 308 | <term><command>X</command></term>
|
---|
| 309 | <listitem>
|
---|
[2f4014b] | 310 | <para>
|
---|
| 311 | is a symbolic link to Xorg.
|
---|
| 312 | </para>
|
---|
[5faf7f7e] | 313 | <indexterm zone="xorg-server X-x7">
|
---|
[7ab35da] | 314 | <primary sortas="b-X">X</primary>
|
---|
| 315 | </indexterm>
|
---|
| 316 | </listitem>
|
---|
| 317 | </varlistentry>
|
---|
| 318 |
|
---|
[9bff4bc] | 319 | <varlistentry id="Xephyr-x7">
|
---|
| 320 | <term><command>Xephyr</command></term>
|
---|
| 321 | <listitem>
|
---|
| 322 | <para>
|
---|
| 323 | is a nested X server which supports modern X extensions.
|
---|
| 324 | </para>
|
---|
| 325 | <indexterm zone="xorg-server Xephyr-x7">
|
---|
| 326 | <primary sortas="b-Xephyr">Xephyr</primary>
|
---|
| 327 | </indexterm>
|
---|
| 328 | </listitem>
|
---|
| 329 | </varlistentry>
|
---|
| 330 |
|
---|
[7ab35da] | 331 | <varlistentry id="Xnest-x7">
|
---|
| 332 | <term><command>Xnest</command></term>
|
---|
| 333 | <listitem>
|
---|
[2f4014b] | 334 | <para>
|
---|
| 335 | is a nested X server.
|
---|
| 336 | </para>
|
---|
[5faf7f7e] | 337 | <indexterm zone="xorg-server Xnest-x7">
|
---|
[7ab35da] | 338 | <primary sortas="b-Xnest">Xnest</primary>
|
---|
| 339 | </indexterm>
|
---|
| 340 | </listitem>
|
---|
| 341 | </varlistentry>
|
---|
| 342 |
|
---|
| 343 | <varlistentry id="Xorg-x7">
|
---|
| 344 | <term><command>Xorg</command></term>
|
---|
| 345 | <listitem>
|
---|
[2f4014b] | 346 | <para>
|
---|
| 347 | is the X11R7 X Server.
|
---|
| 348 | </para>
|
---|
[5faf7f7e] | 349 | <indexterm zone="xorg-server Xorg-x7">
|
---|
[7ab35da] | 350 | <primary sortas="b-Xorg">Xorg</primary>
|
---|
| 351 | </indexterm>
|
---|
| 352 | </listitem>
|
---|
| 353 | </varlistentry>
|
---|
| 354 |
|
---|
| 355 | <varlistentry id="Xvfb-x7">
|
---|
| 356 | <term><command>Xvfb</command></term>
|
---|
| 357 | <listitem>
|
---|
[2f4014b] | 358 | <para>
|
---|
| 359 | is the virtual framebuffer X server for X Version 11.
|
---|
| 360 | </para>
|
---|
[5faf7f7e] | 361 | <indexterm zone="xorg-server Xvfb-x7">
|
---|
[7ab35da] | 362 | <primary sortas="b-Xvfb">Xvfb</primary>
|
---|
| 363 | </indexterm>
|
---|
| 364 | </listitem>
|
---|
| 365 | </varlistentry>
|
---|
| 366 |
|
---|
[7c472863] | 367 | <varlistentry id="xdmxconfig-x7">
|
---|
| 368 | <term><command>xdmxconfig</command></term>
|
---|
| 369 | <listitem>
|
---|
[2f4014b] | 370 | <para>
|
---|
| 371 | is a graphical configuration utility for the dmx server.
|
---|
| 372 | </para>
|
---|
[5faf7f7e] | 373 | <indexterm zone="xorg-server xdmxconfig-x7">
|
---|
[7c472863] | 374 | <primary sortas="b-xdmxconfig">xdmxconfig</primary>
|
---|
| 375 | </indexterm>
|
---|
| 376 | </listitem>
|
---|
| 377 | </varlistentry>
|
---|
| 378 |
|
---|
[9bff4bc] | 379 | <varlistentry id="modesetting_drv-x7">
|
---|
| 380 | <term><filename class="libraryfile">modesetting_drv.so</filename></term>
|
---|
| 381 | <listitem>
|
---|
| 382 | <para>
|
---|
| 383 | provides a video driver for machines using Kernel Mode Setting (KMS).
|
---|
| 384 | This will use glamor if that has been enabled and the hardware offers
|
---|
| 385 | acceleration.
|
---|
| 386 | </para>
|
---|
| 387 | <indexterm zone="xorg-server modesetting_drv-x7">
|
---|
| 388 | <primary sortas="c-modesetting_drv">modesetting_drv.so</primary>
|
---|
| 389 | </indexterm>
|
---|
| 390 | </listitem>
|
---|
| 391 | </varlistentry>
|
---|
| 392 |
|
---|
[7ab35da] | 393 | </variablelist>
|
---|
| 394 |
|
---|
| 395 | </sect2>
|
---|
| 396 |
|
---|
[3f72a148] | 397 | </sect1>
|
---|