source: x/installing/xorg7.xml@ b26eca2

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 b26eca2 was 8222555, checked in by DJ Lucas <dj@…>, 18 years ago

Changes to Xorg7 and fontpath changes for xfree and xorg6

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

  • Property mode set to 100644
File size: 24.0 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
8<sect1 id="xorg7" xreflabel="X.org-&xorg7-version;">
9 <?dbhtml filename="xorg7.html"?>
10
11 <sect1info>
12 <othername>$LastChangedBy$</othername>
13 <date>$Date$</date>
14<!-- <keywordset>
15 <keyword role="package">X11R&xorg7-version;-src.tar</keyword>
16 <keyword role="ftpdir">Xorg7</keyword>
17 </keywordset>
18########## Need a way to fix this on the mirrors ##########
19##### Maybe a single tarball is the way to handle it ######
20-->
21
22
23 </sect1info>
24
25 <title>Xorg-&xorg7-version;</title>
26
27 <indexterm zone="xorg7">
28 <primary sortas="a-xorg7">Xorg</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to Xorg</title>
33
34 <para><application>Xorg</application> is a freely redistributable,
35 open-source implementation of the <application>X</application> Window
36 System. This system provides a client/server interface between display
37 hardware (the mouse, keyboard, and video displays) and the desktop
38 environment, while also providing both the windowing infrastructure and a
39 standardized application interface (API).</para>
40
41 <bridgehead renderas="sect3">Xorg Dependencies</bridgehead>
42
43 <bridgehead renderas="sect4">Required</bridgehead>
44 <para role="required"><xref linkend="fontconfig"/>,
45 <xref linkend="libdrm"/>,
46 <xref linkend="libpng"/>, and
47 <xref linkend="pkgconfig"/>.</para>
48
49 <bridgehead renderas="sect4">Optional</bridgehead>
50 <para role="optional"><xref linkend="linux-pam"/>.</para>
51
52 <bridgehead renderas="sect3">Xorg Download and Installation
53 Instructions</bridgehead>
54
55 <para>With the modular build system, it is no longer possible to download
56 the entire package in a single file. In fact, there may be as many as
57 280 files that need to be fetched from the download location. To assist
58 with such a large task, it is strongly recommended to install
59 <xref linkend="wget"/> for downloading the needed files. A complete
60 <application>wget</application> script is available for each section at
61 <ulink
62 url="http://anduin.linuxfromscratch.org/sources/BLFS/svn/x/wget/"/>.</para>
63
64 <para>Given the number of packages available, deciding which packages you
65 need to install for your particular setup may seem a bit overwhelming at
66 first. Take a look at<ulink
67 url="http://lists.x.org/archives/xorg-modular/2005-November/000801.html">
68 this thread</ulink> to get an idea of what you will need. If you are
69 unsure, you should install all packages at the cost of extra
70 disk space.</para>
71
72 <note><para>The installed size of <application>Xorg</application> can
73 be reduced considerably by installing only the packages that you will
74 need and use. However, the BLFS book cannot account for all dependencies
75 and build options for individual <application>Xorg</application>
76 packages. The instructions assume that all packages have been built
77 from a particular group unless otherwise noted. A
78 <ulink url="http://wiki.linuxfromscratch.org/blfs/wiki/Xorg-7.0.0">
79 wiki</ulink> page containing dependency information, for users who wish
80 to cut down on the installed size of <application>Xorg</application>, is
81 under development. You are encouraged to add to these
82 pages if you discover additional information that may be helpful to
83 other users.</para></note>
84
85 <para>Additionally, because of the large number of repetitive commands,
86 you are encouraged to script the build. For most sections, you can use
87 the following commands to compile and install all packages in your build
88 directory:</para>
89
90<screen>for package in *.tar.bz2
91do
92 packagedir=`echo $package | sed 's/.tar.bz2//'`
93 tar -xf $package &amp;&amp;
94 cd $packagedir &amp;&amp;
95 ./configure $XORG_CONFIG &amp;&amp;
96 make &amp;&amp;
97 make install
98 if [ $? -ne 0 ]; then
99 break #stop the build if the previous command failed
100 fi
101 cd .. &amp;&amp;
102 rm -rf $packagedir
103done 2&gt;&amp;1 | tee -a ../xorg-compile.log #log the entire loop</screen>
104
105 </sect2>
106
107 <sect2>
108 <title>Setting up the Xorg Build Environment</title>
109
110 <para>First, you'll need to create a working directory:</para>
111
112<screen><userinput>mkdir xc &amp;&amp;
113cd xc</userinput></screen>
114
115 <para>As with previous releases of the X Window System, it may be
116 desirable to install <application>Xorg</application> into an alternate
117 prefix. This is no longer common practice among linux distributions.
118 The common installation prefix for <application>Xorg</application> on
119 linux is <filename class="directory">/usr</filename>. There is no
120 standard alternate prefix, nor is there any exception in the current
121 revision of the Filesystem Hierarchy Standard for Release 7 of the X
122 Window System. Alan Coopersmith of Sun Microsystems, has recently
123 stated "At Sun, we were using
124 <filename class="directory">/usr/X11</filename> and plan to stick with
125 it." Only the <filename class="directory">/opt/*</filename> prefix or
126 the <filename class="directory">/usr</filename> prefix adhere to the
127 current FHS guidelines.</para>
128
129 <para>Choose your installation prefix, and set the
130 <parameter>XORG_PREFIX</parameter> variable with the following
131 command:</para>
132
133<screen><userinput>export XORG_PREFIX="<replaceable>[/usr]</replaceable>"</userinput></screen>
134
135 <para>Throughout these instructions, you will use the same three
136 configure switches for all of the packages. Create the
137 <parameter>XORG_CONFIG</parameter> variable to use for substitution:</para>
138
139<screen><userinput>export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc --localstatedir=/var"</userinput></screen>
140
141 <note><para>If you've decided to use an alternate prefix, be sure to
142 add an the
143 <replaceable>[/usr]</replaceable><filename class="directory">/lib/pkgconfig</filename>
144 to your <parameter>PKG_CONFIG_PATH</parameter> variable.</para></note>
145
146 </sect2>
147
148 <sect2>
149 <title>Xorg Protocol Headers</title>
150
151 <indexterm zone="xorg7">
152 <primary sortas="a-xorg7-proto">Xorg Protocol Headers</primary>
153 </indexterm>
154
155 <para>The <application>Xorg</application> protocol headers provide the
156 header files required to build the system, and to allow other
157 applications to build against the installed X Window system.</para>
158
159 <para><application>Xorg</application> Proto packages can be downloaded
160 individually from <ulink
161 url="http://xorg.freedesktop.org/releases/X11R7.0/src/proto/"/>.</para>
162
163 <sect3 role="installation">
164 <title>Installation of Xorg Protocol Headers</title>
165
166 <para>Install the <application>Xorg</application> protocol headers
167 by running the following commands for each package to be installed.</para>
168
169<screen><userinput>./configure $XORG_CONFIG</userinput></screen>
170
171 <para>Now as the <systemitem class="username">root</systemitem>
172 user:</para>
173
174<screen><userinput role="root">make install</userinput></screen>
175
176 </sect3>
177
178 </sect2>
179
180 <sect2>
181 <title>Xorg Utilities</title>
182
183 <indexterm zone="xorg7">
184 <primary sortas="a-xorg7-data">Xorg Utilities</primary>
185 </indexterm>
186
187 <para>The <application>Xorg</application> utility packages provide
188 needed utilities, not for the <application>Xorg</application>
189 installation itself, but for other applications that make use of
190 legacy X11R6 installation methods.</para>
191
192 <para><application>Xorg</application> Utility packages can be downloaded
193 individually from <ulink
194 url="http://xorg.freedesktop.org/releases/X11R7.0/src/util/"/>.</para>
195
196 <sect3 role="installation">
197 <title>Installation of Xorg Utilities</title>
198
199 <para>Install first, the <application>xorg-cf-files</application> package
200 with the following commands:</para>
201
202<screen><userinput>sed -i "s@/usr/X11R6@$XORG_PREFIX@" site.def &amp;&amp;
203sed -i "s@/usr/X11R6@$XORG_PREFIX@" X11.tmpl &amp;&amp;
204./configure $XORG_CONFIG --with-config-dir=$XORG_PREFIX/lib/X11/config &amp;&amp;
205make</userinput></screen>
206
207 <para>Now as the <systemitem class="username">root</systemitem>
208 user:</para>
209
210<screen><userinput role="root">make install</userinput></screen>
211
212 <para>Next, install the <application>Imake</application> package with
213 these commands:</para>
214
215<screen><userinput>./configure $XORG_CONFIG --with-config-dir=$XORG_PREFIX/lib/X11/config &amp;&amp;
216make</userinput></screen>
217
218 <para>Now as the <systemitem class="username">root</systemitem>
219 user:</para>
220
221<screen><userinput role="root">make install</userinput></screen>
222
223
224 <para>Finally, build the three remaining packages with the standard build
225 commands:</para>
226
227
228<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
229make</userinput></screen>
230
231 <para>Now as the <systemitem class="username">root</systemitem>
232 user:</para>
233
234<screen><userinput role="root">make install</userinput></screen>
235
236 </sect3>
237
238 </sect2>
239
240 <sect2>
241 <title>Xorg Libraries</title>
242
243 <indexterm zone="xorg7">
244 <primary sortas="a-xorg7-lib">Xorg Libraries</primary>
245 </indexterm>
246
247 <para>The <application>Xorg</application> libraries provide library
248 routines that are used within all X Window applications.</para>
249
250 <para><application>Xorg</application> Library packages can be downloaded
251 individually from <ulink
252 url="http://xorg.freedesktop.org/releases/X11R7.0/src/lib/"/>.</para>
253
254 <sect3>
255 <title>Meeting Library Dependencies</title>
256
257 <para>These 17 libraries must be built first, in the order provided,
258 to cover the dependencies of the other library packages:</para>
259
260<screen>xtrans-X11R7.0-1.0.0.tar.bz2
261libXau-X11R7.0-1.0.0.tar.bz2
262libXdmcp-X11R7.0-1.0.0.tar.bz2
263libX11-X11R7.0-1.0.0.tar.bz2
264libXext-X11R7.0-1.0.0.tar.bz2
265libICE-X11R7.0-1.0.0.tar.bz2
266libSM-X11R7.0-1.0.0.tar.bz2
267libXt-X11R7.0-1.0.0.tar.bz2
268libXmu-X11R7.0-1.0.0.tar.bz2
269libXpm-X11R7.0-3.5.4.2.tar.bz2
270libXp-X11R7.0-1.0.0.tar.bz2
271libXfixes-X11R7.0-3.0.1.2.tar.bz2
272libXrender-X11R7.0-0.9.0.2.tar.bz2
273libfontenc-X11R7.0-1.0.1.tar.bz2
274libxkbfile-X11R7.0-1.0.1.tar.bz2
275libXprintUtil-X11R7.0-1.0.1.tar.bz2
276libXv-X11R7.0-1.0.1.tar.bz2</screen>
277
278 </sect3>
279
280 <sect3 role="installation">
281 <title>Installation of Xorg Libraries</title>
282
283 <para>Install the libraries by running the following commands for each
284 of the chosen packages:</para>
285
286<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
287make</userinput></screen>
288
289 <para>Now as the <systemitem class="username">root</systemitem>
290 user:</para>
291
292<screen><userinput role="root">make install</userinput></screen>
293
294 </sect3>
295
296 <sect3 role="configuration">
297 <title>Configuration of Xorg Libraries</title>
298
299 <para>If you've chosen to install <application>Xorg</application> into
300 <filename class="directory">/usr</filename>, then no further
301 configuration is necessary and you can skip the rest of this section.
302 If you've opted for an alternate prefix, you should create two symlinks
303 to satisfy the expected environment of several packages.
304 Execute the following commands as the root user:</para>
305
306<screen role="root"><userinput>ln -sv $XORG_PREFIX/lib/X11 /usr/lib/X11 &amp;&amp;
307ln -sv $XORG_PREFIX/include/X11 /usr/include/X11</userinput></screen>
308
309 <para>As with other libraries, as the root user, you must add
310 <filename class="directory">$XORG_PREFIX/lib</filename> to
311 <filename>/etc/ld.so.conf</filename> and execute
312 <command>/sbin/ldconfig</command>.</para>
313
314 </sect3>
315
316 </sect2>
317
318 <sect2>
319 <title>Xorg Data</title>
320
321 <indexterm zone="xorg7">
322 <primary sortas="a-xorg7-data">Xorg Data</primary>
323 </indexterm>
324
325 <para>The <application>Xorg</application> data packages provide
326 static data such as images and keymaps to the
327 <application>Xorg</application> applications.</para>
328
329 <para><application>Xorg</application> Data packages can be downloaded
330 individually from <ulink
331 url="http://xorg.freedesktop.org/releases/X11R7.0/src/data/"/>.</para>
332
333 <sect3 role="installation">
334 <title>Installation of Xorg Data</title>
335
336 <para>First, install the xbitmap package by running the following
337 commands:</para>
338
339<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
340make</userinput></screen>
341
342 <para>Now as the <systemitem class="username">root</systemitem>
343 user:</para>
344
345<screen><userinput role="root">make install</userinput></screen>
346
347 <note><para>At this point, you should continue to the applications
348 installation. After the applications installation has completed, you
349 can use the same instructions above to install the xcursor-themes and
350 xkb-data packages.</para></note>
351
352 </sect3>
353
354 </sect2>
355
356 <sect2>
357 <title>Xorg Applications</title>
358
359 <indexterm zone="xorg7">
360 <primary sortas="a-xorg7-app">Xorg Applications</primary>
361 </indexterm>
362
363 <note><para>You must install <xref linkend="MesaLib"/> before you install
364 Xorg Applications.</para></note>
365
366 <para>The <application>Xorg</application> applications provide the
367 expected applications available in previous X Window
368 implementations.</para>
369
370 <para><application>Xorg</application> applications can be downloaded
371 individually from <ulink
372 url="http://xorg.freedesktop.org/releases/X11R7.0/src/app/"/>.</para>
373
374 <sect3 role="installation">
375 <title>Installation of Xorg Applications</title>
376
377 <para>Install the applications by running the following commands for each
378 chosen package:</para>
379
380<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
381make</userinput></screen>
382
383 <para>Now as the <systemitem class="username">root</systemitem>
384 user:</para>
385
386<screen><userinput role="root">make install</userinput></screen>
387
388 <note><para>The luit package should not be compiled at this point. You
389 should install the luit application after the fonts have been
390 installed.</para></note>
391
392 <note><para>Remember to return to the data packages and install the
393 xcursor-themes and xkb-data packages.</para></note>
394
395</sect3>
396
397 <sect3 role="installation">
398
399 <title>Installation of luit</title>
400
401 <para>A patch is required to fix a race condition in
402 <application>luit</application> that was discovered shortly after
403 release. Download the patch from
404 <ulink url="&patch-root;/luit-1.0.1-race-1.patch"/>.</para>
405
406 <para>Install luit with the following commands:</para>
407
408<screen><userinput>patch -Np1 -i luit_1.0.1-race-1.patch &amp;&amp;
409./configure $XORG_CONFIG &amp;&amp;
410make</userinput></screen>
411
412 <para>Now as the <systemitem class="username">root</systemitem>
413 user:</para>
414
415<screen><userinput role="root">make install</userinput></screen>
416
417 </sect3>
418
419 </sect2>
420
421 <sect2>
422 <title>Xorg Fonts</title>
423
424 <indexterm zone="xorg7">
425 <primary sortas="a-xorg7-fonts">Xorg Fonts</primary>
426 </indexterm>
427
428 <para>The <application>Xorg</application> font packages provide
429 needed fonts to the <application>Xorg</application> applications.</para>
430
431 <para><application>Xorg</application> Font packages can be downloaded
432 individually from <ulink
433 url="http://xorg.freedesktop.org/releases/X11R7.0/src/font/"/>.</para>
434
435 <sect3 role="installation">
436 <title>Installation of Xorg Fonts</title>
437
438 <para>Run the following commands for each package:</para>
439
440 <note><para>You should install encodings and font-util before all
441 other font packages</para></note>
442
443
444<screen><userinput>./configure $XORG_CONFIG</userinput></screen>
445
446 <para>Now as the <systemitem class="username">root</systemitem>
447 user:</para>
448
449<screen><userinput role="root">make install</userinput></screen>
450
451 <note><para>If you haven't done so, and intend to install
452 <application>luit</application>, do so now.</para></note>
453 </sect3>
454
455 </sect2>
456
457 <sect2>
458 <title>Xorg Server</title>
459
460 <indexterm zone="xorg7">
461 <primary sortas="a-xorg7-server">Xorg Server</primary>
462 </indexterm>
463
464 <para>The <application>Xorg</application> Server is the core
465 of the X Window system.</para>
466
467 <para>The Xorg Server is a single download. Get it from
468 <ulink url="http://xorg.freedesktop.org/releases/X11R7.0/src/xserver/xorg-server-X11R7.0-1.0.1.tar.bz2"/>.</para>
469
470 <sect3 role="installation">
471 <title>Installation of Xorg Server</title>
472
473 <note><para>You must have the <application>Mesa</application> source
474 directory available when building the
475 <application>Xorg-server</application>.</para></note>
476
477 <para>Install the server by running the following commands:</para>
478
479<screen><userinput>sed -i "s@*/@*/\n#include &lt;linux/types.h&gt;\n@" \
480 hw/xfree86/os-support/linux/lnx_agp.c &amp;&amp;
481./configure --prefix=$XORG_PREFIX --sysconfdir=/etc \
482 --localstatedir=/var --with-mesa-source='../../Mesa-&mesalib-version;' \
483 --with-fontdir=/usr/share/fonts \
484 --with-module-dir=$XORG_PREFIX/lib/X11/modules &amp;&amp;
485make</userinput></screen>
486
487 <para>Now as the <systemitem class="username">root</systemitem>
488 user:</para>
489
490<screen><userinput role="root">make install</userinput></screen>
491
492 </sect3>
493
494 </sect2>
495
496 <sect2>
497 <title>Xorg Drivers</title>
498
499 <indexterm zone="xorg7">
500 <primary sortas="a-xorg7-driver">Xorg Drivers</primary>
501 </indexterm>
502
503 <para>The <application>Xorg</application> drivers provide the means
504 for the xserver to take advantage of installed hardware.</para>
505
506 <para><application>Xorg</application> Driver packages can be downloaded
507 individually from <ulink
508 url="http://xorg.freedesktop.org/releases/X11R7.0/src/driver/"/>.</para>
509
510 <sect3 role="installation">
511 <title>Installation of Xorg Drivers</title>
512
513 <warning><para>It is very important not to build display drivers that
514 cannot be used on your hardware. For instance, do not build Sun drivers
515 for an x86 PC as the Sun drivers will expect to see SPARC symbols
516 exported from the kernel. Failure to follow this warning will result
517 in a display lockup, which requires a hard reboot, when configuring
518 <application>Xorg</application> for the first time.</para></warning>
519
520 <para>Install the drivers by running the following commands for each
521 package:</para>
522
523<screen><userinput>./configure $XORG_CONFIG \
524 --with-xorg-module-dir=$XORG_PREFIX/lib/X11/modules &amp;&amp;
525make</userinput></screen>
526
527 <para>Now as the <systemitem class="username">root</systemitem>
528 user:</para>
529
530<screen><userinput role="root">make install</userinput></screen>
531
532 </sect3>
533
534 </sect2>
535
536 <sect2 role="configuration" id='xorg7-config'>
537 <title>Configuring Xorg</title>
538
539 <para>Make certain that you have executed <command>ldconfig</command> and
540 create the <filename>xorg.conf</filename> file with:</para>
541
542<screen><userinput>cd ~ &amp;&amp;
543Xorg -configure</userinput></screen>
544
545 <para>The screen will go black and you may hear some clicking of the monitor.
546 This command will create a file, <filename>xorg.conf.new</filename> in your
547 home directory.</para>
548
549 <indexterm zone="xorg7 xorg7-config">
550 <primary sortas="e-etc-X11-xorg-conf">/etc/X11/xorg.conf</primary>
551 </indexterm>
552
553 <para>Edit <filename>xorg.conf.new</filename> to suit your system. The
554 details of the file are located in the xorg.conf man page. Some things
555 you may want to do are:</para>
556
557 <itemizedlist>
558 <listitem>
559 <para>Section "Files". Change the order of the font paths searched.
560 You may want to put 100dpi fonts ahead of 75dpi fonts if your system
561 normally comes up closer to 100 dots per inch. You may want to remove
562 some font directories completely.</para>
563 </listitem>
564 <listitem>
565 <para>Section "Module". If you are going to install NVidia
566 drivers, remove the "dri" line.</para>
567 </listitem>
568 <listitem>
569 <para>Sections "InputDevice". You may want to change the
570 keyboard autorepeat rate by adding
571 <option>Option "Autorepeat" "250 30"</option>.</para>
572 </listitem>
573 <listitem>
574 <para>Section "Monitor". Specify the <option>VertRefresh</option>
575 and <option>HorizSync</option> values if the system does not
576 automatically detect the monitor and its values.</para>
577 </listitem>
578 <listitem>
579 <para>Section "Device". You may want to set some of the options
580 available for your selected video driver. A description of the driver
581 parameters is in the man page for your driver.</para>
582 </listitem>
583 <listitem><para>Section "Screen". Add a DefaultDepth statement such as:
584 <option>DefaultDepth 24</option>. In the SubSection for your
585 default depth, add a modes line such as:
586 <option>Modes "1600x1200" "1280x1024" "1024x768"</option>. The first
587 mode listed will normally be the starting resolution.</para>
588 </listitem>
589 </itemizedlist>
590
591 <para>Test the system with:</para>
592
593<screen><userinput>X -config ~/xorg.conf.new</userinput></screen>
594
595 <para>You will only get a gray background with an X-shaped mouse cursor,
596 but it confirms the system is working. Exit with
597 <keycap>Control+Alt+Backspace</keycap>. If the system does not work, take
598 a look at <filename>/var/log/Xorg.0.log</filename> to see what went
599 wrong.</para>
600
601 <para>Move the configuration file to its final location:</para>
602
603<screen role="root"><userinput>mv ~/xorg.conf.new /etc/X11/xorg.conf</userinput></screen>
604
605 <para>Create <filename>.xinitrc</filename>:</para>
606
607<screen><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
608<literal># Begin .xinitrc file
609xterm -g 80x40+0+0 &amp;
610xclock -g 100x100-0+0 &amp;
611twm</literal>
612EOF</userinput></screen>
613
614 <para>This provides an initial screen with a small clock that is
615 managed by a simple window manager, Tab Window Manager. For details of
616 <command>twm</command>, see the man page.</para>
617
618 <note><para>The above file is the default configuration for Xorg. Xorg's
619 distribution no longer includes xterm, as such the startx will fail if
620 you have not yet installed <xref linkend="xterm2"/>.</para></note>
621
622 <indexterm zone="xorg7 xorg7-config">
623 <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
624 </indexterm>
625
626 <note>
627 <para>When needed, <application>Xorg</application> creates the directory
628 <filename>/tmp/.ICE-unix</filename> if it does not exist. If this
629 directory is not owned by <systemitem class="username">root</systemitem>,
630 <application>Xorg</application> delays startup by a few seconds and also
631 appends a warning to the logfile. This also affects startup of other
632 applications. To improve performance, it is advisable to manually create
633 the directory before <application>Xorg</application> uses it. Add the
634 file creation to <filename>/etc/sysconfig/createfiles</filename> that is
635 sourced by the <filename>/etc/rc.d/init.d/cleanfs</filename> startup
636 script.</para>
637
638<screen role="root"><userinput>cat &gt;&gt; /etc/sysconfig/createfiles &lt;&lt; "EOF"
639<literal>/tmp/.ICE-unix dir 1777 root root</literal>
640EOF</userinput></screen>
641
642 </note>
643
644 <indexterm zone="xorg7 xorg7-config">
645 <primary
646 sortas="e-etc-sysconfig-createfiles">/etc/sysconfig/createfiles</primary>
647 </indexterm>
648
649 <para>Start <application>X</application> with:</para>
650
651<screen><userinput>startx</userinput></screen>
652
653 <para>to get a basic functional <application>X Window
654 System</application>.</para>
655
656 <para>At this point, you should check out <xref linkend='x-setup'/> for
657 the necessary configuration to make <application>X</application> fully
658 functional. Additionally, you can have a look at <xref linkend='x-config'/>
659 for information on fine tuning your <application>X</application>
660 configuration.</para>
661
662 <para>For a list of the package contents and a description of the commands,
663 see the sections in the <xref linkend='xfree86-contents'/>.</para>
664
665 </sect2>
666
667</sect1>
Note: See TracBrowser for help on using the repository browser.