source: x/installing/xfree86.xml@ bfb7882

10.0 10.1 11.0 6.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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since bfb7882 was bfb7882, checked in by Tushar Teredesai <tushar@…>, 16 years ago

More typo fixes

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

  • Property mode set to 100644
File size: 31.7 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 xfree86-download-http "http://gnu.kookel.org/ftp/XFree86/&xfree86-version;/source/">
8 <!ENTITY xfree86-download-ftp "ftp://ftp.xfree86.org/pub/XFree86/&xfree86-version;/source/">
9 <!ENTITY xfree86-md5sum "ftp://ftp.xfree86.org/pub/XFree86/&xfree86-version;/source/SUMS.md5sum">
10 <!ENTITY xfree86-size "51 MB">
11 <!ENTITY xfree86-buildsize "775 MB">
12 <!ENTITY xfree86-time "12 SBU">
13]>
14
15<sect1 id="xfree86" xreflabel="XFree86-&xfree86-version;">
16 <?dbhtml filename="xfree86.html" ?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>XFree86-&xfree86-version;</title>
24
25 <indexterm zone="xfree86">
26 <primary sortas="a-xfree86">XFree86</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to XFree86</title>
31
32 <para><application>XFree86</application> is a freely redistributable
33 open-source implementation of the <application>X Window
34 System</application>. <application>XFree86</application> provides a
35 client/server interface between display hardware (the mouse, keyboard,
36 and video displays) and the desktop environment, while also providing
37 both the windowing infrastructure and a standardized application
38 interface (API).</para>
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>Download (HTTP): <ulink url="&xfree86-download-http;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download (FTP): <ulink url="&xfree86-download-ftp;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &xfree86-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>Download size: &xfree86-size;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated disk space required: &xfree86-buildsize;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated build time: &xfree86-time;</para>
59 </listitem>
60 </itemizedlist>
61
62 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
63 <itemizedlist spacing='compact'>
64 <listitem>
65 <para>Required patch: <ulink
66 url="&patch-root;/XFree86-&xfree86-version;-kernel_headers-1.patch"/>
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">XFree86 Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Required</bridgehead>
74 <para><xref linkend="libpng"/></para>
75
76 <bridgehead renderas="sect4">Optional</bridgehead>
77 <para><xref linkend="Linux_PAM"/>; the
78 following packages are included in the <application>XFree86</application>
79 package, however they are updated more often than the
80 <application>XFree86</application> package and are highly recommended:
81 <xref linkend="expat"/>, <xref linkend="freetype2"/>,
82 <xref linkend="fontconfig"/>.</para>
83
84 <note>
85 <para>If you choose not to install <application>expat</application>,
86 <application>FreeType2</application>, and
87 <application>Fontconfig</application>, the
88 <filename>host.def</filename> file below will have to be modified to
89 instruct <application>XFree86</application> to build them.</para>
90 </note>
91
92 <bridgehead renderas="sect3">Download Instructions</bridgehead>
93
94 <para>There are several files that need to be fetched from the download
95 location:</para>
96
97 <itemizedlist spacing='compact'>
98 <listitem>
99 <para><filename>XFree86-&xfree86-version;-src-1.tgz</filename></para>
100 </listitem>
101 <listitem>
102 <para><filename>XFree86-&xfree86-version;-src-2.tgz</filename></para>
103 </listitem>
104 <listitem>
105 <para><filename>XFree86-&xfree86-version;-src-3.tgz</filename></para>
106 </listitem>
107 <listitem>
108 <para><filename>XFree86-&xfree86-version;-src-4.tgz</filename></para>
109 </listitem>
110 <listitem>
111 <para><filename>XFree86-&xfree86-version;-src-5.tgz</filename></para>
112 </listitem>
113 <listitem>
114 <para><filename>XFree86-&xfree86-version;-src-6.tgz</filename></para>
115 </listitem>
116 <listitem>
117 <para><filename>XFree86-&xfree86-version;-src-7.tgz</filename></para>
118 </listitem>
119 </itemizedlist>
120
121 <para>The first three packages are the <application>XFree86</application>
122 programs, the fourth and fifth are fonts, the sixth is normal documentation,
123 and the seventh is hardcopy documentation. There are also two packages
124 <filename>doctools-1.3.x.tgz</filename>, which contain programs to
125 regenerate hardcopy documentation, and <filename>utils-1.1.x.tgz</filename>,
126 which contain <application>GNU TAR</application> and
127 <application>zlib</application> which are already installed on an
128 LFS system.</para>
129
130 <para>To check your downloads for integrity, download the
131 <filename>SUMS.md5sum</filename> file. Then:</para>
132
133<screen><userinput>md5sum -c SUMS.md5sum</userinput></screen>
134
135 <para>The only errors you should see are for <filename>README</filename>,
136 <filename>doctools-1.3.x.tgz</filename>, <filename>utils-1.1.x.tgz</filename>
137 and <filename>XFree86-xtest-4.0.x.tar.bz2</filename> files if you did not
138 download them.</para>
139
140<!--
141<para>The fixes subdirectory also has a <filename>SUMS.md5sum</filename>. Note that
142this is the same filename as the sums for the main sources, so you need to rename the
143file if you download it. Otherwise, you can just look at it and use it to
144check against the patch files:</para>
145<screen><userinput><command>md5sum 4.3.0-4.3.0.1.diff.gz</command></userinput>
146<userinput><command>md5sum fontfile.diff</command></userinput></screen>
147
148<para>After unpacking the <filename>X430src-?.tgz</filename> files and uncompressing the
149diff file, change to the <filename class="directory">xc</filename> directory and run:</para>
150
151<screen><userinput><command>patch -Np1 -i ../4.3.0-4.3.0.1.diff</command></userinput>
152<userinput><command>pushd lib/font/fontfile/</command></userinput>
153<userinput><command>patch -N -i ../../../../fontfile.diff</command></userinput>
154<userinput><command>popd</command></userinput></screen>
155-->
156
157 </sect2>
158
159 <sect2 role="kernel" id='xfree86-kernel'>
160 <title>Kernel Configuration</title>
161
162 <para>If you have an Intel P6 (Pentium Pro, Pentium II and later), it is
163 recommended that you compile MTRR (Memory Type Range Registers) support
164 into the kernel. The kernel can map Cyrix and AMD CPUs to the MTRR
165 interface, so selecting this option is useful for those processors also.
166 This option is found in the "Processor type and features" menu. It can
167 increase performance of image write operations 2.5 times or more on PCI
168 or AGP video cards.</para>
169
170 <indexterm zone="xfree86 xfree86-kernel">
171 <primary sortas="d-xfree86">XFree86</primary>
172 </indexterm>
173
174 <para>In the "Character Devices" section, enable AGP Support and select
175 the chipset support on your motherboard. If you do not know the chipset,
176 you may select all the chip types at the expense of extra kernel size.
177 You can usually determine your motherboard's chipset by running the
178 command <command>lspci</command>, a program from the
179 <xref linkend="pciutils"/> package.</para>
180
181 <para>In the "Character Devices" section, <emphasis>disable</emphasis>
182 Direct Rendering Manager unless you have a Direct Rendering Infrastructure
183 (DRI) supported video card. A complete list of DRI supported video cards
184 can be found at <ulink url="http://dri.sourceforge.net" /> in the Status
185 section. Currently, supported cards include those from 3dfx (Voodoo,
186 Banshee), 3Dlabs, ATI (Rage Pro, Rage 128, Radeon 7X00, Radeon 2), Intel
187 (i810, i815), and Matrox (G200, G400, G450).</para>
188
189 <para>Additionally NVidia provides their own closed source binary drivers,
190 which do not make use of DRI. If you intend to use these drivers, do not
191 enable DRI.</para>
192
193 <para>If you made any changes to the kernel configuration, recompile and
194 install the new kernel.</para>
195
196 </sect2>
197
198 <sect2 role="installation">
199 <title>Installation of XFree86</title>
200
201 <sect3>
202 <title>Setting Up a Shadow Directory</title>
203
204 <para>When building <application>XFree86</application>, you should create
205 a shadow directory of symbolic links for the compiled code. To do that,
206 first make <command>lndir</command>. Starting from the
207 <filename class='directory'>xc</filename> directory:</para>
208
209<screen><userinput>pushd config/util &amp;&amp;
210make -f Makefile.ini lndir</userinput></screen>
211
212 <para>Now, as the <systemitem class="username">root</systemitem>
213 user:</para>
214
215<screen role="root"><userinput>cp -v lndir /usr/bin/</userinput></screen>
216
217 <para>And back as an unprivileged user:</para>
218
219<screen><userinput>popd</userinput></screen>
220
221 <para>Now create the shadow tree:</para>
222
223<screen><userinput>mkdir ../xcbuild &amp;&amp;
224cd ../xcbuild &amp;&amp;
225lndir ../xc</userinput></screen>
226
227 </sect3>
228
229 <sect3>
230 <title>Creating 'host.def'</title>
231
232 <para>Although <application>XFree86</application> will compile without
233 a <filename>host.def</filename> file, the following file is recommended
234 for customizing the installation. Start from the
235 <filename class="directory">xcbuild</filename> directory.</para>
236
237 <note>
238 <para>The <filename>host.def</filename> file is a
239 <application>C</application> file, not the usual configuration file.
240 If you make any changes, be sure the comment characters (/* and */)
241 are balanced. Most of the entries in the file below are commented
242 out with the default settings shown.</para>
243 </note>
244
245<screen><userinput>cat &gt; config/cf/host.def &lt;&lt; "EOF"
246<literal>/* Begin XFree86 host.def file */
247
248/* System Related Information. If you read and configure only one
249 * section then it should be this one. The Intel architecture defaults
250 * are set for a i686 and higher. Axp is for the Alpha architecture
251 * and Ppc is for the Power PC. Note that there have been reports that
252 * the Ppc optimization line causes segmentation faults during build.
253 * If that happens, try building without the DefaultGcc2PpcOpt line. */
254
255/* #define DefaultGcc2i386Opt -O2 -fomit-frame-pointer -march=i686 */
256/* #define DefaultGcc2AxpOpt -O2 -mcpu=ev6 */
257/* #define DefaultGcc2PpcOpt -O2 -mcpu=750 */
258
259/* The following definitions are normally set properly by XFree86's
260 * scripts. You can uncomment them if you want to make sure. *********/
261
262/* #define HasMTRRSupport YES */ /* Enabled in kernel; */
263 /* see kernel docs */
264/* #define HasMMXSupport NO */ /* Any i586 or above */
265/* #define HasKatmaiSupport NO */ /* PIII SSE instructions */
266/* #define Has3DNowSupport NO */ /* AMD instructions */
267
268
269/* This setting reduces compile time a little by omitting rarely used
270 * input devices. You can find the complete list in
271 * config/cf/xfree86.cf *********************************************/
272
273#define XInputDrivers mouse void
274
275/* VIDEO DRIVERS ****************************************************/
276
277/* If you are sure you only want the drivers for one or a few video
278 * cards, you can delete the drivers you do not want. ***************/
279
280
281#define XF86CardDrivers mga glint nv tga s3 s3virge sis rendition \
282 neomagic i740 tdfx savage \
283 cirrus vmware tseng trident chips apm \
284 GlideDriver fbdev i128 nsc \
285 ati i810 DevelDrivers ark \
286 cyrix siliconmotion \
287 vesa vga \
288 dummy XF86OSCardDrivers XF86ExtraCardDrivers
289
290
291/* USER AND SYSTEM DEFAULT PATHS *************************************/
292
293/* These settings set the PATH variables used by xdm. See README for */
294/* detailed description and modify the following as per your need. ***/
295
296/* #define DefaultSystemPath \
297 /usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin */
298/* #define DefaultUserPath /usr/bin:/bin:/usr/X11R6/bin */
299
300/* FONT SERVER AND LIBRARY SETTINGS **********************************/
301
302/* These settings are the defaults **********************************/
303
304/* #define BuildFontServer YES */ /*For Ghostscript Print Server*/
305/* #define SharedLibFont YES */
306/* #define CompressAllFonts YES */
307/* #define GzipFontCompression YES */
308
309/* These settings ensure we use our libraries ************************/
310#define HasFreetype2 YES
311#define HasFontconfig YES
312#define HasExpat YES
313#define HasLibpng YES
314#define HasZlib YES
315
316/* The font path can be redefined in the XF86Config file *************/
317
318/*
319#define DefaultFontPath $(FONTDIR)/misc/,$(FONTDIR)/75dpi/,\
320$(FONTDIR)/100dpi/,$(FONTDIR)/Type1,$(FONTDIR)/local,\
321$(FONTDIR)/TrueType,$(FONTDIR)/CID,$(FONTDIR)/Speedo
322*/
323
324
325/* INTERNATIONAL FONTS. Change to YES if you need any of them. These
326 * are the defaults. **************************************************/
327
328/* #define BuildCyrillicFonts NO */
329/* #define BuildArabicFonts NO */
330/* #define BuildISO8859_6Fonts NO */
331/* #define BuildGreekFonts NO */
332/* #define BuildISO8859_7Fonts NO */
333/* #define BuildHebrewFonts NO */
334/* #define BuildISO8859_8Fonts NO */
335/* #define BuildKOI8_RFonts NO */
336/* #define BuildJapaneseFonts NO */
337/* #define BuildJISX0201Fonts NO */
338/* #define BuildKoreanFonts NO */
339/* #define BuildChineseFonts NO */
340
341/* DOCUMENTATION SETTINGS ********************************************/
342
343/* These setting are the defaults. ***********************************/
344
345/* #define BuildLinuxDocHtml NO */ /* X Docs in Html format */
346/* #define BuildLinuxDocPS NO */ /* PostScript format */
347/* #define BuildAllSpecsDocs NO */ /* Various docs */
348/* #define BuildHtmlManPages NO */
349
350/* GENERAL SETTINGS: You generally want to leave these alone when
351 * building X on an LFS system ***************************************/
352
353#define GccWarningOptions -pipe /* Speed up compiles */
354#define TermcapLibrary -lncurses
355#define XprtServer YES /* Needed by realplayer */
356#define XnestServer YES
357#define XAppLoadDir EtcX11Directory/app-defaults
358#define VarLibDir /var/lib
359#define XFree86Devel NO
360#define FSUseSyslog YES
361#define ThreadedX YES
362#define HasPam NO
363#define SystemManDirectory /usr/share/man /*Instead of /usr/man*/
364#define HasLibCrypt YES
365#define InstallXinitConfig YES
366#define InstallXdmConfig YES
367#define ForceNormalLib YES
368#define BuildSpecsDocs NO
369
370/* End XFree86 host.def file */</literal>
371EOF</userinput></screen>
372
373 <para>Edit the file for your hardware and desires.</para>
374
375 </sect3>
376
377 <sect3>
378 <title>Build Commands</title>
379
380 <para>Install <application>XFree86</application> by running the
381 following commands:</para>
382
383<screen><userinput>patch -Np1 -i ../XFree86-&xfree86-version;-kernel_headers-1.patch &amp;&amp;
384sed -i -e "s@^#include &lt;linux/config.h&gt;@/* &amp; */@" \
385 `grep -lr linux/config.h *` &amp;&amp;
386( make WORLDOPTS="" World 2&gt;&amp;1 | \
387 tee xfree-compile.log &amp;&amp; exit $PIPESTATUS )</userinput></screen>
388
389 <para>Now, as the <systemitem class="username">root</systemitem>
390 user:</para>
391
392<screen role="root"><userinput>make install &amp;&amp;
393make install.man &amp;&amp;
394ln -v -sf ../X11R6/bin /usr/bin/X11 &amp;&amp;
395ln -v -sf ../X11R6/lib/X11 /usr/lib/X11 &amp;&amp;
396ln -v -sf ../X11R6/include/X11 /usr/include/X11</userinput></screen>
397
398 </sect3>
399
400 </sect2>
401
402 <sect2 role="commands">
403 <title>Command Explanations</title>
404
405 <para><command>sed -i -e "s@^#include &lt;linux/config.h&gt;@...</command>:
406 The <application>Linux-Libc-Headers</application> package installed in
407 LFS installs a <filename>/usr/include/linux/config.h</filename> file which
408 is not compatible with userspace applications. The recommended fix for
409 applications including this file is to remove it (see <ulink
410 url="http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/FAQ">
411 linux-libc-headers FAQ</ulink>). The <command>sed</command> uses
412 <command>grep -lr</command> to replace all occurrences. If you desire, just
413 remove (comment) the line in the appropriate video driver file if you
414 customized <filename>host.def</filename>.</para>
415
416 <para><command>( make WORLDOPTS="" World 2&gt;&amp;1 | tee xfree-compile.log
417 &amp;&amp; exit $PIPESTATUS )</command>:
418 This command runs multiple <filename>Makefile</filename>s to completely
419 rebuild the system. <envar>WORLDOPTS</envar>="" disables the default setting
420 to continue after encountering an error. <option>2&gt;&amp;1</option>
421 redirects error messages to the same location as standard output. The
422 <command>tee</command> command allows viewing of the output while logging
423 the results to a file. The parentheses around the command runs the entire
424 command in a subshell and finally the <command>exit $PIPESTATUS</command>
425 ensures the result of the <command>make</command> is returned as the result
426 and not the result of the <command>tee</command> command.</para>
427
428 <note>
429 <para>When rebuilding <application>XFree86</application>, a separate
430 command that may be used if only minor changes are made to the sources
431 is <command>make Everything</command>. This does not automatically
432 remove generated files and only rebuilds those files or programs that
433 are out of date.</para>
434 </note>
435
436 <para><command>ln -v -sf ...</command>: These commands are present to
437 enable other (broken) packages to build against
438 <application>XFree86</application>, even though the Filesystem Hierarchy
439 Standard says: <quote>In general, software must not be installed or managed
440 via the above symbolic links. They are intended for utilization by
441 users only.</quote></para>
442
443 </sect2>
444
445 <sect2 role="configuration" id="xfree86-config">
446 <title>Configuring XFree86</title>
447
448 <para>As the <systemitem class="username">root</systemitem> user: Edit
449 <filename>/etc/ld.so.conf</filename> and add
450 <filename class="directory">/usr/X11R6/lib</filename>, then run:</para>
451
452<screen role="root"><userinput>ldconfig</userinput></screen>
453
454 <indexterm zone="xfree86 xfree86-config">
455 <primary sortas="e-etc-ld.so.conf">/etc/ld.so.conf</primary>
456 </indexterm>
457
458 <para>Ensure <filename class="directory">/usr/X11R6/bin</filename>
459 and <filename class="directory">/usr/X11R6/lib/pkgconfig</filename>
460 are added to your <envar>PATH</envar> and <envar>PKG_CONFIG_PATH</envar>
461 environment variables, respectively. Instructions for doing this are
462 described in the section <xref linkend='postlfs-config-profile'/>.</para>
463
464 <indexterm zone="xfree86 xfree86-config">
465 <primary sortas="e-etc-X11-XF86Config">/etc/X11/XF86Config</primary>
466 </indexterm>
467
468 <para>Create the <filename>XF86Config</filename> file with:</para>
469
470<screen><userinput>cd ~ &amp;&amp;
471XFree86 -configure</userinput></screen>
472
473 <para>The screen will go black and you may hear some clicking of the monitor.
474 This command will create a file, <filename>XF86Config.new</filename> in your
475 home directory.</para>
476
477 <para>Edit <filename>XF86Config.new</filename> to suit your system.
478 The details of the file are located in the man page <command>man
479 XF86Config</command>. Some things you may want to do are:</para>
480
481 <itemizedlist>
482 <listitem>
483 <para>Section "Files". Change the order of the font paths searched.
484 You may want to put 100dpi fonts ahead of 75dpi fonts if your system
485 normally comes up closer to 100 dots per inch. You may want to remove
486 some font directories completely.</para>
487 </listitem>
488 <listitem>
489 <para>Section "Module". If you are going to install NVidia
490 drivers, remove the "dri" line.</para>
491 </listitem>
492 <listitem>
493 <para>Sections "InputDevice". You may want to change the
494 keyboard autorepeat rate by adding
495 <option>Option "Autorepeat" "250 30"</option>.</para>
496 </listitem>
497 <listitem>
498 <para>Section "Monitor". Specify the <option>VertRefresh</option>
499 and <option>HorizSync</option> values if the system does not
500 automatically detect the monitor and its values.</para>
501 </listitem>
502 <listitem>
503 <para>Section "Device". You may want to set some of the options
504 available for your selected video driver. A description of the
505 driver parameters is in the man page for your driver.</para>
506 </listitem>
507 <listitem>
508 <para>Section "Screen". Add a DefaultDepth statement such as:
509 <option>DefaultDepth 24</option>. In the SubSection for your
510 default depth, add a modes line such as:
511 <option>Modes "1600x1200" "1280x1024" "1024x768"</option>. The
512 first mode listed will normally be the starting resolution.</para>
513 </listitem>
514 </itemizedlist>
515
516 <para>Test the system with:</para>
517
518<screen><userinput>XFree86 -xf86config ~/XF86Config.new</userinput></screen>
519
520 <para>You will only get a gray background with an X-shaped mouse cursor,
521 but it confirms the system is working. Exit with
522 <keycap>Control+Alt+Backspace</keycap>. If the system does not work,
523 examine <filename>/var/log/XFree86.0.log</filename> to see what went
524 wrong.</para>
525
526 <para>As the <systemitem class="username">root</systemitem> user:
527 move the configuration file to its final location:</para>
528
529<screen role="root"><userinput>mv ~/XF86Config.new /etc/X11/XF86Config</userinput></screen>
530
531 <para>Create <filename>.xinitrc</filename>:</para>
532
533<screen><userinput>cat &gt; ~/.xinitrc &lt;&lt; "EOF"
534<literal># Begin .xinitrc file
535xterm -g 80x40+0+0 &amp;
536xclock -g 100x100-0+0 &amp;
537twm</literal>
538EOF</userinput></screen>
539
540 <para>This provides an initial screen with an xterm and a clock that is
541 managed by a simple window manager, Tab Window Manager. For details of
542 <command>twm</command>, see the man page.</para>
543
544 <indexterm zone="xfree86 xfree86-config">
545 <primary sortas="e-AA.xinitrc">~/.xinitrc</primary>
546 </indexterm>
547
548 <note>
549 <para>When needed, <application>XFree86</application> creates the
550 directory <filename>/tmp/.ICE-unix</filename> if it does not exist.
551 If this directory is not owned by <systemitem
552 class="username">root</systemitem>, <application>XFree86</application>
553 delays startup by a few seconds and also appends a warning to the
554 logfile. This also affects startup of other applications. To improve
555 performance, it is advisable to manually create the directory before
556 <application>XFree86</application> uses it. Add the file creation to
557 <filename>/etc/sysconfig/createfiles</filename> that is sourced by
558 the <filename>/etc/rc.d/init.d/cleanfs</filename> startup script.</para>
559
560<screen role="root"><userinput>cat &gt;&gt; /etc/sysconfig/createfiles &lt;&lt; "EOF"
561<literal>/tmp/.ICE-unix dir 1777 root root</literal>
562EOF</userinput></screen>
563
564 </note>
565
566 <indexterm zone="xfree86 xfree86-config">
567 <primary
568 sortas="e-etc-sysconfig-createfiles">/etc/sysconfig/createfiles</primary>
569 </indexterm>
570
571 <para>Start <application>X</application> with:</para>
572
573<screen><userinput>startx</userinput></screen>
574
575 <para>to get a basic functional <application>X Window
576 System</application>.</para>
577
578 <para>At this point, you should check out <xref linkend='x-setup'/>
579 for the necessary configuration to make <application>X</application>
580 fully functional. Additionally, you can have a look at <xref
581 linkend='x-config'/> for information on fine tuning your
582 <application>X</application> configuration.</para>
583
584 </sect2>
585
586 <sect2 id="xfree86-contents" role="content"
587 xreflabel="XFree86 Contents and Descriptions">
588 <title>Contents</title>
589
590 <para>The <application>XFree86</application> package contains the
591 <application>X Window System</application> for Linux (and other operating
592 systems). It includes the <application>X</application> server, fonts,
593 <command>xterm</command>, a simple window manager (<command>twm</command>),
594 various utilities, video output drivers, and various input drivers
595 including the mouse and keyboard.</para>
596
597 <para><application>XFree86</application> also contains libraries and header
598 files for development of the <application>X Window System</application>
599 programs.</para>
600
601 <note>
602 <para>The following lists are not comprehensive. The full list of
603 programs is in <filename class="directory">/usr/X11R6/bin</filename>.
604 For additional information about these programs, see the respective
605 man page.</para>
606 </note>
607
608 <segmentedlist>
609 <segtitle>Installed Programs</segtitle>
610 <segtitle>Installed Libraries</segtitle>
611 <segtitle>Installed Directories</segtitle>
612
613 <seglistitem>
614 <seg>XFree86, xf86config, xf86cfg, startx, xinit, twm, xterm,
615 xwininfo, x11perf, xlsfonts, xvidtune, xload, xcalc, xclock,
616 oclock, and xmodmap</seg>
617 <seg>libGL.so, libGLU.so, libSM.so, libXi.so, libXrender.so,
618 libXt.so, and libXfont.so</seg>
619 <seg>/usr/X11R6/ and /etc/X11/</seg>
620 </seglistitem>
621 </segmentedlist>
622
623 <variablelist>
624 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
625 <?dbfo list-presentation="list"?>
626 <?dbhtml list-presentation="table"?>
627
628 <varlistentry id="XFree86">
629 <term><command>XFree86</command></term>
630 <listitem>
631 <para>is the X11R6 implementation of the <application>X Window
632 System</application> server.</para>
633 <indexterm zone="xfree86 XFree86">
634 <primary sortas="b-XFree86">XFree86</primary>
635 </indexterm>
636 </listitem>
637 </varlistentry>
638
639 <varlistentry id="xf86config">
640 <term><command>xf86config</command></term>
641 <listitem>
642 <para>is an interactive program for generating an
643 <filename>XF86Config</filename> file for use with
644 <application>XFree86</application> <application>X</application>
645 servers.</para>
646 <indexterm zone="xfree86 xf86config">
647 <primary sortas="b-xf86config">xf86config</primary>
648 </indexterm>
649 </listitem>
650 </varlistentry>
651
652 <varlistentry id="xf86cfg">
653 <term><command>xf86cfg</command></term>
654 <listitem>
655 <para>is a tool to configure <application>XFree86</application>
656 that can be used to either write the initial configuration file
657 or make customizations to the current configuration.</para>
658 <indexterm zone="xfree86 xf86cfg">
659 <primary sortas="b-xf86cfg">xf86cfg</primary>
660 </indexterm>
661 </listitem>
662 </varlistentry>
663
664 <varlistentry id="startx">
665 <term><command>startx</command></term>
666 <listitem>
667 <para>is a script to initialize the <application>X</application>
668 session. It runs <command>xinit</command>.</para>
669 <indexterm zone="xfree86 startx">
670 <primary sortas="b-startx">startx</primary>
671 </indexterm>
672 </listitem>
673 </varlistentry>
674
675 <varlistentry id="xinit">
676 <term><command>xinit</command></term>
677 <listitem>
678 <para>is used to start the <application>X Window
679 System</application> server.</para>
680 <indexterm zone="xfree86 xinit">
681 <primary sortas="b-xinit">xinit</primary>
682 </indexterm>
683 </listitem>
684 </varlistentry>
685
686 <varlistentry id="twm">
687 <term><command>twm</command></term>
688 <listitem>
689 <para>(Tab Window Manager) is a window manager included with the
690 <application>X Window System</application>.</para>
691 <indexterm zone="xfree86 twm">
692 <primary sortas="b-twm">twm</primary>
693 </indexterm>
694 </listitem>
695 </varlistentry>
696
697 <varlistentry id="xterm">
698 <term><command>xterm</command></term>
699 <listitem>
700 <para>is a terminal emulator for <application>X</application>.</para>
701 <indexterm zone="xfree86 xterm">
702 <primary sortas="b-xterm">xterm</primary>
703 </indexterm>
704 </listitem>
705 </varlistentry>
706
707 <varlistentry id="xwininfo">
708 <term><command>xwininfo</command></term>
709 <listitem>
710 <para>is a window information utility for
711 <application>X</application>.</para>
712 <indexterm zone="xfree86 xwininfo">
713 <primary sortas="b-xwininfo">xwininfo</primary>
714 </indexterm>
715 </listitem>
716 </varlistentry>
717
718 <varlistentry id="x11perf">
719 <term><command>x11perf</command></term>
720 <listitem>
721 <para>is an <application>X</application>11 server performance
722 test program.</para>
723 <indexterm zone="xfree86 x11perf">
724 <primary sortas="b-x11perf">x11perf</primary>
725 </indexterm>
726 </listitem>
727 </varlistentry>
728
729 <varlistentry id="xlsfonts">
730 <term><command>xlsfonts</command></term>
731 <listitem>
732 <para>is a program to list fonts available to the
733 <application>X</application> server.</para>
734 <indexterm zone="xfree86 xlsfonts">
735 <primary sortas="b-xlsfonts">xlsfonts</primary>
736 </indexterm>
737 </listitem>
738 </varlistentry>
739
740 <varlistentry id="xvidtune">
741 <term><command>xvidtune</command></term>
742 <listitem>
743 <para>is a video mode tuner for
744 <application>XFree86</application>.</para>
745 <indexterm zone="xfree86 xvidtune">
746 <primary sortas="b-xvidtune">xvidtune</primary>
747 </indexterm>
748 </listitem>
749 </varlistentry>
750
751 <varlistentry id="xload">
752 <term><command>xload</command></term>
753 <listitem>
754 <para> is a system load average display for
755 <application>X</application>.</para>
756 <indexterm zone="xfree86 xload">
757 <primary sortas="b-xload">xload</primary>
758 </indexterm>
759 </listitem>
760 </varlistentry>
761
762 <varlistentry id="xcalc">
763 <term><command>xcalc</command></term>
764 <listitem>
765 <para>is a scientific calculator for
766 <application>X</application>.</para>
767 <indexterm zone="xfree86 xcalc">
768 <primary sortas="b-xcalc">xcalc</primary>
769 </indexterm>
770 </listitem>
771 </varlistentry>
772
773 <varlistentry id="xclock">
774 <term><command>xclock</command></term>
775 <listitem>
776 <para>is a clock programs for <application>X</application>.</para>
777 <indexterm zone="xfree86 xclock">
778 <primary sortas="b-xclock">xclock</primary>
779 </indexterm>
780 </listitem>
781 </varlistentry>
782
783 <varlistentry id="oclock">
784 <term><command>oclock</command></term>
785 <listitem>
786 <para>is a clock programs for <application>X</application>.</para>
787 <indexterm zone="xfree86 oclock">
788 <primary sortas="b-oclock">oclock</primary>
789 </indexterm>
790 </listitem>
791 </varlistentry>
792
793 <varlistentry id="xmodmap">
794 <term><command>xmodmap</command></term>
795 <listitem>
796 <para>is a utility for modifying keymaps and pointer button
797 mappings in <application>X</application>.</para>
798 <indexterm zone="xfree86 xmodmap">
799 <primary sortas="b-xmodmap">xmodmap</primary>
800 </indexterm>
801 </listitem>
802 </varlistentry>
803
804 </variablelist>
805
806 </sect2>
807
808</sect1>
Note: See TracBrowser for help on using the repository browser.