Before Running XFree86

Information for SCO Users : Before Running XFree86
Previous: Source Distribution
Next: Switching Consoles

## 3. Before Running XFree86

The SCO `xterm` terminfo description is not compatible with the `xterm` in the R5 distribution.

To use a Bus/Keyboard or PS2 mouse you should configure the mouse drivers under SCO as above using '`mkdev mouse`'. You may then use the `OsMouse` option in your XF86Config to specify that XFree86 should use the SCO mouse drivers. To do this, set the `Protocol` to "`OsMouse`" in the Pointer section of your XF86Config file. You can also use "`OsMouse`" for your serial mouse, especially if you are having trouble getting your mouse to work using the XFree86 mouse drivers.

If you do not have the SCO TCP/IP package installed do not panic. XFree86 will work fine without TCP/IP but you will most likely have to do some or all of these things:

- Do not worry about errors from the X server complaining about ``/dev/socksys''. The X server is configured to run on systems with and without TCP/IP. This error is just pointing out that you do not have TCP/IP and that this method of connecting to the server has been disabled.
- Do worry about errors involving ``/dev/spx'' or the ``sco'' connection type. This means something is wrong with the streams pipes that are used for connections on the local machine. First be sure that your server has the ``s-bit'' set. You can do this by running this command for the X server you are using: ls -al /usr/X11R6/bin/XF86_XXXXXX The output should contain the `s' character instead of the `x' character. For example:

  >     -rwsr-xr-x   1 root     bin      1074060 Jul 24 11:54 XF86_W32

  is correct while:

  >     -rwxr-xr-x   1 root     bin      1074060 Jul 24 11:54 XF86_W32

  is not.
- you may have to install streams into the kernel with ``mkdev streams'' Check the SCO Manuals for more information on this.
- you may have to configure some devices in /dev, check in the "Trouble Shooting" section of this document for the entry which comments on ``/dev/spx'' and ``Xsco''.
- Your streams resources may be configured too low. You should check your streams parameters against the following values, if the are higher then you do not need to changes them. To check these values, login as root, change directory to ``/etc/conf/cf.d'' and then run ``./configure''. Once you are running configure, choose the ``Streams Data'' option and step through the entries. Just press <ENTER> at each prompt unless you want to change a value. The values to look for, and their minimum values, are:

  >                        NSTREAM      128
  >                        NQUEUE       512
  >                        NBLK4096     4
  >                        NBLK2048     32
  >                        NBLK1024     32
  >                        NBLK512      32
  >                        NBLK256      64
  >                        NBLK128      256
  >                        NBLK64       256
  >                        NBLK16       256
  >                        NBLK4        128
  >                        NUMSP        128

  You will not normally need to change any of these, if however you do have to change some, configure will confirm that you want to save the changes before exiting, and will give you further instructions on rebuilding the unix kernel.

Information for SCO Users : Before Running XFree86
Previous: Source Distribution
Next: Switching Consoles