Setup Xfree86 3.3.3 on FreeBSD

install_X

The easiest way to install X in our machines is to run /usr/dirt/bin/install_X, a script that follows all the steps described below.

Manual installation

0. Make sure the appropriate mouse driver has been configured in the
   Visual configuration utility.

1. Be root, using umask 022.

2. cd /usr/X11R6   (create this directory if it doesn't already exist)

3. Run the pre-installation script:

   sh /net/tyagi137/usr/release/usr/R/ftp/XF86333/preinst.sh

4. Extract the zipped files in /usr/X11R6 directory:

   /net/tyagi137/usr/release/usr/R/ftp/XF86333/extract 
       /net/tyagi137/usr/release/usr/R/ftp/XF86333/X*.tgz

   /net/tyagi137/usr/release/usr/R/ftp/XF86333/extract 
       /net/tyagi137/usr/release/usr/R/ftp/XF86333/Servers/X*.tgz

5. Run the post-installation script:

   sh /net/tyagi137/usr/release/usr/R/ftp/XF86333/postinst.sh

6. Copy the DiRT-generic XF86Config file to /etc:

   cp /usr/home/moorthy/X11/XF86Config.ps2 /etc/XF86Config
   You can also try the othey XF86Config files in the same directory.

7. Link X to the appropriate X server:

   cd /usr/X11R6/bin
   ln -s XF86_SVGA X     (for most video cards, including Millenium II's)
   ln -s XF86_S3 X       (for S3-compatible video cards)
   ln -s XF86_Mach64 X   (for the Mach64 card)
   ln -s XF86_X3D X      (for the permedia 2 card)
   ln -s XF86_3DLabs X   (for the Diamond FIRE GL 1000 PRO)

   How do you know which X server to use?  First find out which card
   you have.  You can open the machine cover and look at it directly
   though sometimes it is flashed on the top left corner of the screen
   momentarily before other BIOS messages appear during boot time. 
   Then check http://www.xfree86.org/cardlist.html to see which X server
   is required for your card.
   
7.1 Some cards may not be supported by XFree86. But ...all is not lost. 
    Check at http://www.suse.de/XSuSE/XSuSE_E.html for more servers. For 
    Example, the X server for the Permedia 2 card was not available at Xfree86 3.3.2. 
But it was available at ftp://ftp.suse.com/pub/suse_update/XSuSE/xglint/xglint.tgz.

8. If you are using an untested monitor or card type, you may want to
   run the XF86Setup utility at this step.  Otherwise, you can skip this...
   ** Note that if you have a PS/2 type mouse, you _must_ use the 
      XF86Config.ps2 file as the default!!!
   On the 'interface' page, select 'Card List' and choose the card
   from the list, then go to the 'monitor' page and choose the appropriate
   sync frequencies for the monitor.  XF86Setup will then attempt to
   start the server.  Follow the instructions on the screen. 

9. Run 'startx' to start X!!!!  Make sure you have an x configuration in
   your home directory.  Also note that Shift-Ctl- '+' and Shift-Ctl- '-'
   allow you to cycle through video resolutions.

10. Many packages now check for XFree86-3.3.3 to be present and won't install
    if it isn't.   This test is based on a database in /var/db/pkg that
    is updates as part of pkg_add.  Since we don't use pkg_add for X the 
    database doesn't get updated.  Fortunately, you can simply do the 
    following:

    cd /
    tar xvf /net/tyagi137/usr/release/usr/R/ftp/XF86333/pkgreg.tar

    This will create /var/db/pkg/XFree86-3.3.3 and its necessary entries 
    so that you can install packages.


Other DiRT documents
Author: Jan Martin Borgersen
Updated: Arun Moorthy & Mark Parris & David Ott & Felix Hernandez
Last updated: 12/28/98, 1/2/99, 1/4/99, 2/2/00