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