XFree86 4.3.0

- This document covers the installation from pre-compiled binaries and basic configuration of the XFree86 X11R6 server. More advanced configuration is covered in many books and online documents. A good place to start is the XFree86 website and The Linux Documentation Project website.
- If you install this software it is highly recommended that you keep up-to-date with security advisories published on the XFree86 website.
- I cannot be held responsible for the security of your X server. It is up to you to understand the software you are running. The setup detailed here is that of a basic graphical interface nothing more. There are many security options configurable via the
XF86Configfile. There are also many more settings regarding device configuration inXF86Configthan are detailed here. A well commented example of aXF86Configfile can be found in/usr/X11/lib/X11/XF86Config.egafter installation. - If you spot any major errors on this page, please e-mail me using the link above.
- It is assumed that this installation takes place on a computer on which Core Linux has been successfully installed.
- No software other than the packages bundled with Core Linux have been installed.
- It is assumed that the Core Linux computer is attached to a network on which there shared internet access. It is also assumed that there is another computer on the network which has a CD burner. If is of course possible to use a text browser like lynx to download the files directly on to the Core Linux computer rather than burning them onto a CD on a separate computer, but this is not the method used in this document.
- You will need to know the technical specifications of your monitor(s). This basically means the maximum and minimum horizontal and vertical frequencies. These can usually be found in the monitor manual. Otherwise, try www.monitorworld.com.
Booting and Analysing
- Boot your Core Linux PC.
- Login as
root. You will need to enter the password at the prompt. - Use wget to download the XFree86
Xinstall.shscript from the.earth.li/pub/XFree86/4.3.0. - Run the
Xinstall.shscript using the commandsh Xinstall.sh -check. Note which binaries are correct for your system.
Preparation
- Having determined the correct binaries for your system, download the following essential files from the XFree86 4.3.0 directory of a mirror of www.xfree86.org:
You should download the following optional module file, which provides headers against which window managers can later be compiled:
Xinstall.sh The installer script extract The utility for extracting tarballs Xbin.tgz X clients/utilities and run-time libraries Xlib.tgz Some data files required at run-time Xman.tgz Manual pages Xdoc.tgz XFree86 documentation Xfnts.tgz Base set of fonts Xfenc.tgz Base set of font encoding data Xetc.tgz Run-time configuration files Xvar.tgz Run-time data Xxserv.tgz XFree86 X server Xmod.tgz XFree86 X server modules This example assumes that these other optional module files are downloaded, although they are not essential for operation:Xprog.tgz X header files, config files and compile-time libs You may also wish to download some of the other optional module files:Xfsrv.tgz Font server Xnest.tgz Nested X server Xprt.tgz X Print server Xvfb.tgz Virtual framebuffer X server Xf100.tgz 100dpi fonts Xfcyr.tgz Cyrillic fonts Xfscl.tgz Scalable fonts (Speedo, Type1 and TrueType) Xhtml.tgz HTML version of the documentation Xps.tgz PostScript version of the documentation Xjdoc.tgz Documentation in Japanese - Burn the downloaded files to a CD. This page assumes that the subdirectory
XFree864.3.0is used for the files. The CD-ROM can be a multi-session disk.
Installing the XFree86 4.3.0 binaries
- Place the CD-R in the CD-ROM drive on your Core Linux system. Mount the CD-ROM drive under
/mnt/cdrom. - Change to the
XFree864.3.0directory on the CD-R. - Make a temporary directory for the install files.
- Copy all the files from
/mnt/cdrom/XFree864.3.0to/tmp/XFree864.3.0 - Change to the
/tmp/XFree864.3.0directory. - Run the
Xinstall.shscript.
Prepare your system to run XFree86
- Change to the
/etcdirectory. - Add the following lines to the
ld.so.conffile:/lib
/usr/lib - Run the program
ldconfig. - Add a link to the device file to which your mouse is connected called
/dev/mouse. - Add a link to the directory
/usr/X11R6/include/X11called/usr/include/X11. - Add a link to the directory
/usr/X11R6called/usr/X11. - Add the directory
/usr/X11/binto the$PATHenviroment variable. - In order to activate the changes to the
$PATHenviroment variable, you will have to logout and log back in again.
Configuring your X server
- Run the program
XFree86with the argument-configure. - Test the configuration with the command
XFree86 -xf86config /root/XF86Config.new. - Once you have established basic X functionallity, you can set up you configuration file for your system. Copy the file
/root/XF86Config.newto/root/XF86Config. - Edit the
/root/XF86Configfile to include details about your system configuration. - Save the file and exit the text editor.
Further Testing
- Start the X server using the command
startx.

The text of this page is licensed under a Creative Commons License.
