source: x/installing/xorg.xml@ 32ccdf34

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 32ccdf34 was aebc72fa, checked in by DJ Lucas <dj@…>, 18 years ago

added dir creation to xorg and xfre86 and made lnx_agp.c sed optional for xorg

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

  • Property mode set to 100644
File size: 24.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY xorg-download-http "http://xorg.freedesktop.org/releases/X11R&xorg-version;/src-single/X11R&xorg-version;-src.tar.bz2 ">
8 <!ENTITY xorg-download-ftp "ftp://expo.x.org/pub/X11R&xorg-version;/src-single/X11R&xorg-version;-src.tar.bz2">
9 <!ENTITY xorg-md5sum "52ad69832db5c36c7041f90625ed4598">
10 <!ENTITY xorg-size "45 MB">
11 <!ENTITY xorg-buildsize "864 MB">
12 <!ENTITY xorg-time "11.68 SBU">
13]>
14
15<sect1 id="xorg" xreflabel="Xorg-&xorg-version;">
16 <?dbhtml filename="xorg.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 <keywordset>
22 <keyword role="package">X11R&xorg-version;-src.tar</keyword>
23 <keyword role="ftpdir">Xorg</keyword>
24 </keywordset>
25 </sect1info>
26
27 <title>Xorg-&xorg-version;</title>
28
29 <indexterm zone="xorg">
30 <primary sortas="a-xorg">Xorg</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to Xorg</title>
35
36 <!-- <note>
37 <para>There are three packages in BLFS that implement the <application>X
38 Window System</application>: <application>Xorg</application>
39 (X11R6 and X11R7) and <application>XFree86</application>. These
40 packages are all quite similar. In fact, the base system of
41 <application>Xorg</application> is
42 <application>XFree86</application>-4.4.0RC2. Licensing was the original
43 reason for the split. <application>Xorg-&xorg7-version;</application>
44 introduces a completely autotooled build system, but is otherwise the
45 same codebase as <application>Xorg-&xorg-version;</application>.
46 Most large commercial distributions have decided to use the
47 <application>Xorg</application> package, but several still provide
48 <application>XFree86</application>.</para>
49
50 <para>A second reason for the forking of <application>X</application>
51 packages is the stated goals of the developers. Some developers were
52 unhappy with the administration and progress of
53 <application>XFree86</application>. X.org's future plans include
54 significant improvements to the internals of the system and more
55 frequent releases.</para>
56
57 <para><application>XFree86</application> continues to be a solid,
58 conservative application with excellent driver support.</para>
59 </note> -->
60
61 <para><application>Xorg</application> is a freely redistributable open-source
62 implementation of the <application>X</application> Window System. This
63 system provides a client/server interface between display hardware (the
64 mouse, keyboard, and video displays) and the desktop environment, while also
65 providing both the windowing infrastructure and a standardized application
66 interface (API).</para>
67
68 <bridgehead renderas="sect3">Package Information</bridgehead>
69 <itemizedlist spacing="compact">
70 <listitem>
71 <para>Download (HTTP): <ulink url="&xorg-download-http;"/></para>
72 </listitem>
73 <listitem>
74 <para>Download (FTP): <ulink url="&xorg-download-ftp;"/></para>
75 </listitem>
76 <listitem>
77 <para>Download MD5 sum: &xorg-md5sum;</para>
78 </listitem>
79 <listitem>
80 <para>Download size: &xorg-size;</para>
81 </listitem>
82 <listitem>
83 <para>Estimated disk space required: &xorg-buildsize;</para>
84 </listitem>
85 <listitem>
86 <para>Estimated build time: &xorg-time;</para>
87 </listitem>
88 </itemizedlist>
89
90 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
91 <itemizedlist spacing="compact">
92 <listitem>
93 <para>Required patch: <ulink
94 url="&patch-root;/xorg-&xorg-version;-luit_race-1.patch"/></para>
95 </listitem>
96 </itemizedlist>
97
98 <bridgehead renderas="sect3">Xorg Dependencies</bridgehead>
99
100 <bridgehead renderas="sect4">Required</bridgehead>
101 <para role="required"><xref linkend="libpng"/> and
102 <xref linkend="fontconfig"/></para>
103
104 <bridgehead renderas="sect4">Optional</bridgehead>
105 <para role="optional"><xref linkend="linux-pam"/></para>
106
107 <para condition="html" role="usernotes">User Notes:
108 <ulink url='&blfs-wiki;/Xorg-&xorg-version;'/></para>
109
110 <bridgehead renderas="sect3">Download Instructions</bridgehead>
111
112 <para>As an alternative to downloading the entire source tree in a single
113 file, there are several, smaller files that can be fetched from the
114 download location (directory /pub/X11R&xorg-version;/src/):</para>
115
116 <itemizedlist spacing='compact'>
117 <listitem>
118 <para><filename>X11R&xorg-version;-src1.tar.gz</filename></para>
119 </listitem>
120 <listitem>
121 <para><filename>X11R&xorg-version;-src2.tar.gz</filename></para>
122 </listitem>
123 <listitem>
124 <para><filename>X11R&xorg-version;-src3.tar.gz</filename></para>
125 </listitem>
126 <listitem>
127 <para><filename>X11R&xorg-version;-src4.tar.gz</filename></para>
128 </listitem>
129 <listitem>
130 <para><filename>X11R&xorg-version;-src5.tar.gz</filename></para>
131 </listitem>
132 <listitem>
133 <para><filename>X11R&xorg-version;-src6.tar.gz</filename></para>
134 </listitem>
135 <listitem>
136 <para><filename>X11R&xorg-version;-src7.tar.gz</filename></para>
137 </listitem>
138 </itemizedlist>
139
140 <para>The first package contains the <application>Xorg</application>
141 libraries and support programs, the second contains standard
142 <application>X</application> programs, the third contains the
143 <application>X</application> server, the fourth and fifth are fonts,
144 the sixth is normal documentation, and the seventh is hardcopy
145 documentation.</para>
146
147 <para>To check your file for integrity, download the
148 <filename>md5sums</filename> file. Then:</para>
149
150<screen><userinput>md5sum -c md5sums</userinput></screen>
151
152 <para>The package (or all seven packages) should give an OK status.</para>
153
154 </sect2>
155
156 <sect2 role="kernel" id='xorg-kernel'>
157 <title>Kernel Configuration</title>
158
159 <indexterm zone="xorg xorg-kernel">
160 <primary sortas="d-Xorg">Xorg</primary>
161 </indexterm>
162
163 <para>If you have an Intel P6 (Pentium Pro, Pentium II and later), it is
164 recommended that you compile MTRR (Memory Type Range Registers) support
165 into the kernel. The kernel can map Cyrix and AMD CPUs to the MTRR
166 interface, so selecting this option is useful for those processors also.
167 This option is found in the "Processor type and features" menu. It can
168 increase performance of image write operations 2.5 times or more on PCI or
169 AGP video cards.</para>
170
171 <para>In the "Character Devices" section of the "Device Drivers" menu,
172 enable AGP Support and select the chipset support on your motherboard. If
173 you do not know the chipset, you may select all the chip types at the
174 expense of extra kernel size. You can usually determine your motherboard's
175 chipset by running the command <command>lspci</command>, a program from the
176 <xref linkend="pciutils"/> package.</para>
177
178 <para>In the "Character Devices" section, <emphasis>disable</emphasis>
179 Direct Rendering Manager unless you have a Direct Rendering Infrastructure
180 (DRI) supported video card. A complete list of DRI supported video cards
181 can be found at <ulink url="http://dri.sourceforge.net" /> in the "Status"
182 section. Currently, supported cards include those from 3dfx (Voodoo,
183 Banshee), 3Dlabs, ATI (Rage Pro, Rage 128, Radeon 7X00, Radeon 2), Intel
184 (i810, i815), and Matrox (G200, G400, G450).</para>
185
186 <para>Additionally NVidia provides their own closed source binary drivers,
187 which do not make use of DRI. If you intend to use these drivers, do not
188 enable DRI.</para>
189
190 <para>If you made any changes to the kernel configuration, recompile and
191 install the new kernel.</para>
192
193 </sect2>
194
195 <sect2 role="installation">
196 <title>Installation of Xorg</title>
197
198 <sect3>
199 <title>Various build fixes</title>
200
201 <para>The <application>Xorg</application> sources must be patched in
202 order to avoid a race condition with the <application>luit</application>
203 program. Additionally, the server portion of
204 <application>Xorg</application> contains a <ulink
205 url="http://wiki.x.org/wiki/SecurityPage">security vulnerability</ulink>.
206 Fix these issues with the following commands:</para>
207
208<screen><userinput>patch -Np1 -i ../xorg-&xorg-version;-luit_race-1.patch &amp;&amp;
209sed -i 's/geteuid /geteuid() /' \
210 programs/Xserver/hw/xfree86/common/xf86Init.c</userinput></screen>
211
212
213<!-- To be removed if/when proposed glibc patch is added to LFS SVN
214 Leave in in for a couple of weeks with 'you may need' and a testcase
215 around it to save the support list silly questions. Should remove in
216 a couple of weeks -->
217 <para>Recent glibc may have a problem with it's installed sys/kd.h file.
218 This has recently been fixed in LFS svn. Execute the
219 following commands to work around a broken kd.h file. The commands will
220 only make the modification if needed:</para>
221
222<screen><userinput>grep "__undef_LINUX" \
223 /usr/include/sys/kd.h 2&gt;&amp;1 &gt; /dev/null || \
224 sed -i.bak '/CONFIG_H/i #include &lt;linux/types.h&gt;' \
225 programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c</userinput></screen>
226<!-- End remove -->
227
228
229
230 <para>Additionally, if you choose to install
231 <application>Xorg</application> to any prefix other than
232 <filename class="directory">/usr/X11R6</filename>, the luit package
233 needs another correction to fix a hard coded path. Execute the
234 following command:</para>
235
236<screen><userinput>sed -i 's@/usr/X11R6@<replaceable>&lt;/usr&gt;</replaceable>@' programs/luit/parser.h</userinput></screen>
237
238 </sect3>
239
240 <sect3>
241 <title>Suppressing Xprint-related Modification to '/etc'</title>
242
243 <para><application>Xorg</application> insists on putting
244 its boot and profile scripts into the <filename
245 class="directory">/etc</filename> directory even if specifically told
246 not to compile anything Xprint server or client related (see
247 <filename>host.def</filename> below). The following command will
248 suppress any such modifications:</para>
249
250<screen><userinput>sed -i '/^SUBDIRS =/s/ etc$//' programs/Xserver/Xprint/Imakefile</userinput></screen>
251
252 </sect3>
253
254 <sect3>
255 <title>Setting Up a Shadow Directory</title>
256
257 <para>When building <application>Xorg</application>, you should create
258 a shadow directory of symbolic links for the compiled code. To do that,
259 first make <command>lndir</command>. Starting from the
260 <filename class='directory'>xc</filename> directory:</para>
261
262<screen><userinput>pushd config/util &amp;&amp;
263make -f Makefile.ini lndir
264popd</userinput></screen>
265
266 <para>Now create the shadow tree:</para>
267
268<screen><userinput>mkdir ../xcbuild &amp;&amp;
269cd ../xcbuild &amp;&amp;
270../xc/config/util/lndir ../xc</userinput></screen>
271
272 </sect3>
273
274 <sect3>
275 <title>Creating 'host.def'</title>
276
277 <para>The next step is to create the
278 <filename>config/cf/host.def</filename> file. The documentation for
279 <application>Xorg</application> indicates that the application will
280 build without a <filename>host.def</filename> file, but the included
281 libraries for <application>Fontconfig</application> and
282 <application>FreeType2</application> do not build properly on a base
283 LFS system. Therefore, you must specify that these libraries, as well
284 as others, should be imported from the system.</para>
285
286 <note>
287 <para><filename>config/cf/host.def</filename> is a C file, not a
288 shell script. Ensure the comments delimited by /* ... */ are balanced
289 when modifying the file.</para>
290 </note>
291
292<screen><userinput>cat &gt; config/cf/host.def &lt;&lt; "EOF"
293<literal>/* Begin Xorg host.def file */
294
295/* System Related Information. If you read and configure only one
296 * section then it should be this one. The Intel architecture defaults
297 * are set for a i686 and higher. Axp is for the Alpha architecture
298 * and Ppc is for the Power PC. AMD64 is for the Opteron processor.
299 * Note that there have been reports that the Ppc optimization line
300 * causes segmentation faults during build. If that happens, try
301 * building without the DefaultGcc2PpcOpt line. ***********/
302
303/* #define DefaultGcc2i386Opt -O2 -fno-strength-reduce \
304 -fno-strict-aliasing -march=i686 */
305/* #define DefaultGcc2AMD64Opt -O2 -fno-strength-reduce \
306 -fno-strict-aliasing */
307/* #define DefaultGcc2AxpOpt -O2 -mcpu=ev6 */
308/* #define DefaultGcc2PpcOpt -O2 -mcpu=750 */
309
310#define HasFreetype2 YES
311#define HasFontconfig YES
312#define HasExpat YES
313#define HasLibpng YES
314#define HasZlib YES
315
316/*
317 * Which drivers to build. When building a static server, each of
318 * these will be included in it. When building the loadable server
319 * each of these modules will be built.
320 *
321#define XF86CardDrivers mga glint nv tga s3virge sis rendition \
322 neomagic i740 tdfx savage \
323 cirrus vmware tseng trident chips apm \
324 GlideDriver fbdev i128 \
325 ati DevelDrivers ark \
326 cyrix siliconmotion vesa vga \
327 XF86OSCardDrivers XF86ExtraCardDrivers
328*/
329
330/*
331 * Select the XInput devices you want by uncommenting this.
332 *
333#define XInputDrivers mouse keyboard acecad calcomp citron \
334 digitaledge dmc dynapro elographics \
335 microtouch mutouch penmount spaceorb \
336 summa wacom void magictouch aiptek
337 */
338
339/* Most installs will only need this */
340
341#define XInputDrivers mouse keyboard
342
343/* Xterm is no longer built by default */
344#define BuildXterm YES
345
346/* Disable building Xprint server and clients until we get them figured
347 * out but build Xprint libraries to allow precompiled binaries such as
348 * Acrobat Reader to run.
349 */
350
351#define XprtServer NO
352#define BuildXprintClients NO
353
354/* Uncomment the following define if you would prefer to install X into
355 * /usr or change it to any other location that you prefer.
356 * The GL related defines disable compatibility symlinks (the links
357 * are not needed when X is installed in /usr).
358#define ProjectRoot /usr
359#define LinkGLToUsrInclude NO
360#define LinkGLToUsrLib NO
361 */
362
363/* End Xorg host.def file */</literal>
364EOF</userinput></screen>
365
366 <para>There are several other options that you may want to consider.
367 A well documented example file is
368 <filename>config/cf/xorgsite.def</filename>.</para>
369
370 </sect3>
371
372 <sect3>
373 <title>Build Commands</title>
374
375 <para>Install <application>Xorg</application> by running the
376 following commands:</para>
377
378<screen><userinput>sed -i -e "s@^#include &lt;linux/config.h&gt;@/* &amp; */@" \
379 `grep -lr linux/config.h *` &amp;&amp;
380( make World 2&gt;&amp;1 | tee xorg-compile.log &amp;&amp; exit $PIPESTATUS )</userinput></screen>
381
382 <para>Again as the <systemitem class="username">root</systemitem>
383 user:</para>
384
385<screen role="root"><userinput>make install &amp;&amp;
386make install.man</userinput></screen>
387
388 <para>If you've installed <application>Xorg</application> in the default
389 prefix listed above, run the following commands as the
390 <systemitem class="username">root</systemitem> user:</para>
391
392<screen role="root"><userinput>ln -v -s ../X11R6/bin /usr/bin/X11 &amp;&amp;
393ln -v -s ../X11R6/lib/X11 /usr/lib/X11 &amp;&amp;
394ln -v -s ../X11R6/include/X11 /usr/include/X11</userinput></screen>
395
396 <para>The <application>Xorg</application> fonts have been installed
397 outside of <application>Fontconfig</application>'s default search path
398 of <filename class="directory">/usr/share/fonts</filename>. In order
399 for <application>Fontconfig</application> to find the installed TrueType
400 fonts, you should make symlinks to their directories. Assuming you've
401 installed <application>Xorg</application> in the default prefix, run the
402 following commands as the <systemitem class="username">root</systemitem>
403 user:</para>
404
405<screen role="root"><userinput>install -d -m755 /usr/share/fonts &amp;&amp;
406ln -svn /usr/X11R6/lib/X11/fonts/OTF /usr/share/fonts/X11-OTF &amp;&amp;
407ln -svn /usr/X11R6/lib/X11/fonts/TTF /usr/share/fonts/X11-TTF</userinput></screen>
408
409 </sect3>
410
411 </sect2>
412
413 <sect2 role="commands">
414 <title>Command Explanations</title>
415
416 <para><command>sed -i -e "s@^#include &lt;linux/config.h&gt;@...</command>:
417 The <application>Linux-Libc-Headers</application> package installed in
418 LFS installs a <filename>/usr/include/linux/config.h</filename> file
419 which is not compatible with userspace applications. The recommended fix
420 for applications including this file is to remove it (see <ulink
421 url="http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/FAQ">
422 linux-libc-headers FAQ</ulink>). The <command>sed</command> uses
423 <command>grep -lr</command> to replace all occurrences. If you desire, just
424 remove (comment) the line in the appropriate video driver file if you
425 customized <filename>host.def</filename>.</para>
426
427 <para><command>( make World 2&gt;&amp;1 | tee xorg-compile.log
428 &amp;&amp; exit $PIPESTATUS )</command>: This command runs multiple
429 <filename>Makefile</filename>s to completely rebuild the system.
430 <parameter>2&gt;&amp;1</parameter> redirects error messages to the
431 same location as standard output. The <command>tee</command> command
432 allows viewing of the output while logging the results to a file. The
433 parentheses around the command runs the entire command in a subshell
434 and finally the <command>exit $PIPESTATUS</command> ensures the result
435 of the <command>make</command> is returned as the result and not the
436 result of the <command>tee</command> command.</para>
437
438 <note>
439 <para>When rebuilding <application>Xorg</application>, a separate
440 command that may be used if only minor changes are made to the sources
441 is <command>make Everything</command>. This does not automatically
442 remove generated files and only rebuilds those files or programs that
443 are out of date.</para>
444 </note>
445
446 <para><command>ln -v -s ...</command>: These commands are present to
447 enable other (broken) packages to build against
448 <application>Xorg</application>, even though the Filesystem Hierarchy
449 Standard says: <quote>In general, software must not be installed or
450 managed via the above symbolic links. They are intended for utilization
451 by users only.</quote></para>
452
453 </sect2>
454
455 <sect2 role="configuration" id='xorg-config'>
456 <title>Configuring Xorg</title>
457
458 <para>Edit <filename>/etc/ld.so.conf</filename> and add
459 <filename class="directory">/usr/X11R6/lib</filename>. Run:</para>
460
461 <indexterm zone="xorg xorg-config">
462 <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
463 </indexterm>
464
465<screen role="root"><userinput>ldconfig</userinput></screen>
466
467 <para>Ensure <filename class="directory">/usr/X11R6/bin</filename>
468 and <filename class="directory">/usr/X11R6/lib/pkgconfig</filename>
469 are added to your <envar>PATH</envar> and <envar>PKG_CONFIG_PATH</envar>
470 environment variables, respectively. Instructions for doing this are
471 described in the section <xref linkend='postlfs-config-profile'/>.</para>
472
473 <para>Create the <filename>xorg.conf</filename> file with:</para>
474
475<screen><userinput>cd ~ &amp;&amp;
476Xorg -configure</userinput></screen>
477
478 <para>The screen will go black and you may hear some clicking of the monitor.
479 This command will create a file, <filename>xorg.conf.new</filename> in your
480 home directory.</para>
481
482 <indexterm zone="xorg xorg-config">
483 <primary sortas="e-etc-X11-xorg-conf">/etc/X11/xorg.conf</primary>
484 </indexterm>
485
486 <para>Edit <filename>xorg.conf.new</filename> to suit your system. The
487 details of the file are located in the xorg.conf man page. Some things
488 you may want to do are:</para>
489
490 <itemizedlist>
491 <listitem>
492 <para>Section "Files". Change the order of the font paths searched.
493 You may want to put 100dpi fonts ahead of 75dpi fonts if your system
494 normally comes up closer to 100 dots per inch. You may want to remove
495 some font directories completely.</para>
496 </listitem>
497 <listitem>
498 <para>Section "Module". If you are going to install NVidia
499 drivers, remove the "dri" line.</para>
500 </listitem>
501 <listitem>
502 <para>Sections "InputDevice". You may want to change the
503 keyboard autorepeat rate by adding
504 <option>Option "Autorepeat" "250 30"</option>.</para>
505 </listitem>
506 <listitem>
507 <para>Section "Monitor". Specify the <option>VertRefresh</option>
508 and <option>HorizSync</option> values if the system does not
509 automatically detect the monitor and its values.</para>
510 </listitem>
511 <listitem>
512 <para>Section "Device". You may want to set some of the options
513 available for your selected video driver. A description of the driver
514 parameters is in the man page for your driver.</para>
515 </listitem>
516 <listitem><para>Section "Screen". Add a DefaultDepth statement such as:
517 <option>DefaultDepth 24</option>. In the SubSection for your
518 default depth, add a modes line such as:
519 <option>Modes "1600x1200" "1280x1024" "1024x768"</option>. The first
520 mode listed will normally be the starting resolution.</para>
521 </listitem>
522 </itemizedlist>
523
524 <para>Test the system with:</para>
525
526<screen><userinput>X -config ~/xorg.conf.new</userinput></screen>
527
528 <para>You will only get a gray background with an X-shaped mouse cursor,
529 but it confirms the system is working. Exit with
530 <keycap>Control+Alt+Backspace</keycap>. If the system does not work, take
531 a look at <filename>/var/log/Xorg.0.log</filename> to see what went
532 wrong.</para>
533
534 <para>Move the configuration file to its final location:</para>
535
536<screen role="root"><userinput>mv ~/xorg.conf.new /etc/X11/xorg.conf</userinput></screen>
537
538 <para>Create <filename>.xinitrc</filename>:</para>
539
540<screen><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
541<literal># Begin .xinitrc file
542xterm -g 80x40+0+0 &amp;
543xclock -g 100x100-0+0 &amp;
544twm</literal>
545EOF</userinput></screen>
546
547 <para>This provides an initial screen with an xterm and a clock that is
548 managed by a simple window manager, Tab Window Manager. For details of
549 <command>twm</command>, see the man page.</para>
550
551 <indexterm zone="xorg xorg-config">
552 <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
553 </indexterm>
554
555 <note>
556 <para>When needed, <application>Xorg</application> creates the directory
557 <filename>/tmp/.ICE-unix</filename> if it does not exist. If this
558 directory is not owned by <systemitem class="username">root</systemitem>,
559 <application>Xorg</application> delays startup by a few seconds and also
560 appends a warning to the logfile. This also affects startup of other
561 applications. To improve performance, it is advisable to manually create
562 the directory before <application>Xorg</application> uses it. Add the
563 file creation to <filename>/etc/sysconfig/createfiles</filename> that is
564 sourced by the <filename>/etc/rc.d/init.d/cleanfs</filename> startup
565 script.</para>
566
567<screen role="root"><userinput>cat &gt;&gt; /etc/sysconfig/createfiles &lt;&lt; "EOF"
568<literal>/tmp/.ICE-unix dir 1777 root root</literal>
569EOF</userinput></screen>
570
571 </note>
572
573 <indexterm zone="xorg xorg-config">
574 <primary
575 sortas="e-etc-sysconfig-createfiles">/etc/sysconfig/createfiles</primary>
576 </indexterm>
577
578 <para>Start <application>X</application> with:</para>
579
580<screen><userinput>startx</userinput></screen>
581
582 <para>to get a basic functional <application>X Window
583 System</application>.</para>
584
585 <para>At this point, you should check out <xref linkend='x-setup'/> for
586 the necessary configuration to make <application>X</application> fully
587 functional. Additionally, you can have a look at <xref linkend='x-config'/>
588 for information on fine tuning your <application>X</application>
589 configuration.</para>
590
591 <para>For a list of the package contents and a description of the commands,
592 see the sections in the <xref linkend='xfree86-contents'/>.</para>
593
594 </sect2>
595
596</sect1>
Note: See TracBrowser for help on using the repository browser.