<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Before Running XFree86</TITLE>
</HEAD>
<BODY BGCOLOR="#efefef" TEXT="black" LINK="blue" VLINK="#551A8B" ALINK="red">

<A HREF="SCO.html"><EM>Information for SCO Users</EM></A>
 <b>:</b> <EM>Before Running XFree86</EM><BR>
<b>Previous:</b> <A HREF="SCO2.html"><EM>Source Distribution</EM></A><BR>
<b>Next:</b> <A HREF="SCO4.html"><EM>Switching Consoles</EM></A>


<HR NOSHADE>
  <H2><A NAME="3"></A>3. Before Running XFree86</H2>
<p>
<A NAME="sec-runxf86"></A></p>
<p>The SCO <code>xterm</code> terminfo description is not compatible with the <code>xterm</code>
in the R5 distribution.</p>

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

<p>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:
<ul>
<li>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.
  </li>
<li>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:
<blockquote>
<pre>
-rwsr-xr-x   1 root     bin      1074060 Jul 24 11:54 XF86_W32
	
</pre>
</blockquote>

is correct while:
<blockquote>
<pre>
-rwxr-xr-x   1 root     bin      1074060 Jul 24 11:54 XF86_W32
	
</pre>
</blockquote>

is not.
     </li>
<li>you may have to install streams into the kernel with
``mkdev streams''
Check the SCO Manuals for more information on this.
      </li>
<li>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''.
        </li>
<li>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 &lt;ENTER&gt; at each prompt
unless you want to change a value.  The values to look for,  and
their minimum values, are:
             
<blockquote>
<pre>
                   NSTREAM      128
                   NQUEUE       512
                   NBLK4096     4
                   NBLK2048     32
                   NBLK1024     32
                   NBLK512      32
                   NBLK256      64
                   NBLK128      256
                   NBLK64       256
                   NBLK16       256
                   NBLK4        128
                   NUMSP        128
	
</pre>
</blockquote>

  
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. </li>
</ul>
</p>

 <HR NOSHADE>
<A HREF="SCO.html"><EM>Information for SCO Users</EM></A>
 <b>:</b> <EM>Before Running XFree86</EM><BR>
<b>Previous:</b> <A HREF="SCO2.html"><EM>Source Distribution</EM></A><BR>
<b>Next:</b> <A HREF="SCO4.html"><EM>Switching Consoles</EM></A>



</BODY>
</HTML>
