OS-independent information about the current release.</para>
<para>X uses a lot of memory. In order to run X, your system should
have an absolute minimum of 8 MB of memory, but performance will be
painful with so little memory. A more practical minimum is 16 MB,
and you can improve performance by adding more memory. If you use
X intensively, you will continue seeing performance improvement by
increasing to as much as 128 MB of RAM.</para>
<para>There is lots of useful information in the rest of this chapter,
but maybe you are not interested in information right now. You just
want to get your X server up and running. However, be warned:</para>
<warning>
<para>An incorrect installation can burn out your monitor or your
video board.</para>
</warning>
<para>However, if you know you are in spec, and you have a standard
Super VGA board and a good multi-frequency monitor, then you can
probably get things up and running without reading this
chapter.</para>
</sect1>
<sect1 id="x-install">
<title>Installing XFree86</title>
<para>The easiest way to install XFree86 is with the sysinstall
program, either when you are installing the system, or later by
starting the program <command>/stand/sysinstall</command>. In the
rest of this chapter, we will look at what makes up the
distribution, and we will also take a look at manually installing
X11.</para>
<sect2>
<title>The XFree86 Distribution</title>
<para>XFree86 is distributed as a bewildering number of archives.
In the following section, we will take a look at what you should
install. Do not worry too much, though; if you cannot decide
what to pick and you have 200MB of disk space free, it's safe to
unpack everything.</para>
<para>At a minimum you need to unpack the archives in the
following table and at least one server that matches your VGA
board. You will need 10Mb for the minimum required run-time
binaries only, and between 1.7 and 3 MB for the server.</para>
<para>Below is a table of the required components.</para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>Archive</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry><filename>Xbin.tgz</filename></entry>
<entry>All the executable X client applications and shared
libraries.</entry>
</row>
<row>
<entry><filename>Xfnts.tgz</filename></entry>
<entry>The misc and 75 dpi fonts.</entry>
</row>
<row>
<entry><filename>Xlib.tgz</filename></entry>
<entry>Data files and libraries needed at runtime.</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</sect2>
<sect2>
<title>The X Server</title>
<para>In addition to the archives above, you need at least one
server, which will take up about 3 MB of disk. The choice
depends primarily on what kind of display board you have. The
default server name is <filename>/usr/X11R6/bin/X</filename>, and
it is a link to a specific server binary
<filename>/usr/X11R6/bin/XF86_xxxx</filename>. You will find the
server archives for the standard PC architecture in
<filename>/cdrom/XF86336/Servers</filename>, and the servers for
the Japanese PC98 architecture in
<filename>/cdrom/XF86336/PC98-Servers</filename> if you have the
CD set. Alternatively, they are available on our FTP site at
<ulink url="ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/&rel.current;-RELEASE/XF86336/Servers/">ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/&rel.current;-RELEASE/XF86336/Servers/</ulink> or <ulink url="ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/&rel.current;-RELEASE/XF86336/PC98-Servers/">ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/&rel.current;-RELEASE/XF86336/PC98-Servers/</ulink></para>
<para>Available X servers for the standard PC architecture:</para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>Archive</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry><filename>X8514.tgz</filename></entry>
<entry>8-bit color for IBM 8514 and true
compatibles.</entry>
</row>
<row>
<entry><filename>XAGX.tgz</filename></entry>
<entry>8 and 16-bit color for AGX and XGA boards.</entry>
</row>
<row>
<entry><filename>XI128.tgz</filename></entry>
<entry>8 and 16-bit color for I128 boards.</entry>
</row>
<row>
<entry><filename>XMa32.tgz</filename></entry>
<entry>8 and 16-bit color for ATI Mach32 boards.</entry>
</row>
<row>
<entry><filename>XMa64.tgz</filename></entry>
<entry>8, 16, and 32-bit color fot ATI Mach64
boards.</entry>
</row>
<row>
<entry><filename>XMa8.tgz</filename></entry>
<entry>8-bit color for ATI Mach8 boards.</entry>
</row>
<row>
<entry><filename>XMono.tgz</filename></entry>
<entry>1-bit monochrome for VGA, Super-VGA, Hercules, and
others.</entry>
</row>
<row>
<entry><filename>XP9K.tgz</filename></entry>
<entry>8, 16, and 32-bit color for Weitek P9000 boards
(Diamond Viper).</entry>
</row>
<row>
<entry><filename>XS3.tgz</filename></entry>
<entry>8, 16, and 32-bit color for S3 boards.</entry>
</row>
<row>
<entry><filename>XS3V.tgz</filename></entry>
<entry>8 and 16-bit color for S3 ViRGE boards.</entry>
</row>
<row>
<entry><filename>XSVGA.tgz</filename></entry>
<entry>>=8-bit color for Super-VGA cards.</entry>
</row>
<row>
<entry><filename>XVG16.tgz</filename></entry>
<entry>4-bit color for VGA and Super-VGA cards.</entry>
</row>
<row>
<entry><filename>XW32.tgz</filename></entry>
<entry>8-bit color for ET4000/W32, /W32i, /W32p, and
ET6000 cards.</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<para>Available X servers for the Japanese PC98 architecture:</para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>Archive</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry><filename>X9GAN.tgz</filename></entry>
<entry>8-bit color for PC98 GA-98NB/WAP boards.</entry>
</row>
<row>
<entry><filename>X9GA9.tgz</filename></entry>
<entry>8, 16, and 32-bit color for PC98 S3 GA-968
boards.</entry>
</row>
<row>
<entry><filename>X9480.tgz</filename></entry>
<entry>8-bit color for PC98 PEGC</entry>
</row>
<row>
<entry><filename>X9NKV.tgz</filename></entry>
<entry>8-bit color for PC98 NEC-CIRRUS/EPSON NKV/NKV2
boards.</entry>
</row>
<row>
<entry><filename>X9WBS.tgz</filename></entry>
<entry>8-bit color for PC98 WAB-S boards.</entry>
</row>
<row>
<entry><filename>X9WEP.tgz</filename></entry>
<entry>8-bit color for PC98 WAB-EP boards.</entry>
</row>
<row>
<entry><filename>X9WSN.tgz</filename></entry>
<entry>8-bit color for PC98 WSN-A2F boards.</entry>
</row>
<row>
<entry><filename>X9EGC.tgz</filename></entry>
<entry>4-bit color for PC98 EGC.</entry>
</row>
<row>
<entry><filename>X9TGU.tgz</filename></entry>
<entry>8 and 16-bit color for PC98 Trident Cyber9320/9680
boards.</entry>
</row>
<row>
<entry><filename>X9NS3.tgz</filename></entry>
<entry>8 and 16-bit color for PC98 NEC S3 boards.</entry>
</row>
<row>
<entry><filename>X9SPW.tgz</filename></entry>
<entry>8 and 16-bit color for PC98 S3 PW/PCSKB
boards.</entry>
</row>
<row>
<entry><filename>X9LPW.tgz</filename></entry>
<entry>8 and 16-bit color for PC98 S3 PW/LB boards.</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<para>Each of these servers includes a manual page which contains
details of supported chipsets and server-specific configuration
options.</para>
<para>There are also a number of archives are provided for X
programmers:</para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>Archive</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry><filename>Xprog.tgz</filename></entry>
<entry>Config, <filename>lib*.a</filename>, and
<filename>*.h</filename> files needed for compiling
clients.</entry>
</row>
<row>
<entry><filename>Xctrb.tgz</filename></entry>
<entry>Contributed sources.</entry>
</row>
<row>
<entry><filename>Xlk98.tgz</filename></entry>
<entry>The <quote>link kit</quote> for building servers,
Japanese PC98 version.</entry>
</row>
<row>
<entry><filename>Xlkit.tgz</filename></entry>
<entry>The <quote>link kit</quote> for building servers,
normal PC architecture.</entry>
</row>
<row>
<entry><filename>Xsrc-1.tgz</filename></entry>
<entry>Part 1 of the complete sources.</entry>
</row>
<row>
<entry><filename>Xsrc-2.tgz</filename></entry>
<entry>Part 2 of the complete sources.</entry>
</row>
<row>
<entry><filename>Xsrc-3.tgz</filename></entry>
<entry>Part 3 of the complete sources.</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<note>
<para>You will need <filename>Xprog.tgz</filename> if you intend
to install ports of X software.</para>
</note>
<para>XFree86 also includes a number of optional parts, such as
documentation, and setup programs.</para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>Archive</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry><filename>Xdoc.tgz</filename></entry>
<entry>READMEs</entry>
</row>
<row>
<entry><filename>Xjdoc.tgz</filename></entry>
<entry>READMEs in Japanese.</entry>
</row>
<row>
<entry><filename>Xps.tgz</filename></entry>
<entry>READMEs in PostScript.</entry>
</row>
<row>
<entry><filename>Xhtml.tgz</filename></entry>
<entry>READMEs in HTML.</entry>
</row>
<row>
<entry><filename>Xman.tgz</filename></entry>
<entry>Manual pages.</entry>
</row>
<row>
<entry><filename>Xcfg.tgz</filename></entry>
<entry>Customizable <command>xinit</command> and
<command>xdm</command> runtime configuration
files.</entry>
</row>
<row>
<entry><filename>Xset.tgz</filename></entry>
<entry>The <filename>X86Setup</filename> utility; a
graphical version of the <filename>xf86config</filename>