Server aborts with the error message, "Failed to map video display memory".
Your system does not have the correct/etc/conf/pack.d/cn/class.h
, You can confirm this by editing the file and looking for the string "SVGA", if it is not there then you should re-install this file from the "Extended Utilities" diskettes provided with your OS. If this is not possible then installing the "dmmap
" driver from the distribution may allow the server to operate correctly.
xf86install
does not work.
You should not be running xf86install
when using the
XFree86 server
under SCO. It is used for Interactive (ISC) installations.
The server starts but the screen is not aligned correctly or is shaky and impossible to view.
This is most likely due to an incorrectXF86Config
setup. Look for the filesREADME.Config
VideoModes.doc
(in/usr/X11R6/lib/X11/doc
with the binary distribution). These files explains how to fix up your video modes.
xterm
does not work but other programs like
xclock
do work.
Not enough or no pseudo ttys devices are present on your system. Depending on which version of SCO you are using you will have to do different things.
- 3.2.2
cd /etc/conf/cf.d; ./configure
and increase the number of pseudo ttys. Rebuild the kernel. "ls -al /dev/ttyp0 /dev/ptyp0
" to get the major numbers for the slave and master drivers. Usemknod
to create the extra devices using the naming schemes ttyp0-9a-f and ptyp0-9a-f .- 3.2.4
Run "
mkdev ptty
" and increase the number of ptty's.
When running curses/termcap applications in an xterm
the output gets
corrupted especially when scrolling.
eval `resize`
"
before using
your application. The SCO operating system does not support dynamic
resizing or xterms fully so this command must be run after resizing
an xterm
in order for curses/termcap applications to operate
correctly.
/usr/X11R6
My SCO 3.2.4 system fails to build libXext.a
for shared libraries.
This behaviour was observed when compiling with aSTDC_VALUE=0
for gcc. mkshlib was core dumping on building the shared library in this case. Using a new gcc without theSTDC_VALUE=0
or using a 3.2.2 mkshlib appears to fix this problem.
When linking against the SCO motif library I get an unresolved external
for "XtDisplayStringConversionWarning
" when using gcc.
The SCO library is compiled with limited length identifiers. To work around this add the following code to your application when compiling under XFree86 with gcc and SCO motif.#ifdef SCO void XtDisplayStringConversionWarnin(dpy, from, toType) Display* dpy; String from; String toType; { XtDisplayStringConversionWarning(dpy, from, toType); } #endif
When compiling the XFree86 source under 3.2.4, libX11 fails to get
built with an error like "mkshlib : : cannot exec /bin/sh
"
Read the section on compiling for 3.2.4. To fix this use
"env - make
".
The server fails to run and prints out a line similar to:
XFree86: Cannot open /dev/spx for ???? listener: No such file or directory
All SCO unix installations appear to have the Streams pseudo tty driver installed its just not all the devices are present.
if you don't have something like this (maybe called "Xsco") then create one and that should fix your problem. As far as I can tell the streams pseudo tty driver should be there.
- there should be a
/etc/conf/pack.d/sp
directory,/etc/conf/sdevice.d/sp
should have a 'Y
' in it.- You need a file in
/etc/conf/node.d
which contains something like:clone spx c sp sp X0S c 127 sp X0R c 126 sp X1S c 125 sp X1R c 124 sp X2S c 123 sp X2R c 122 sp X3S c 121 sp X3R c 120 sp X4S c 119 sp X4R c 118 sp X5S c 117 sp X5R c 116 sp X6S c 115 sp X6R c 114 sp X7S c 113 sp X7R c 112The simplest way to get the devices if you had to create this file is to rebuild the kernel and the environment. If you don't want to do this then:
touch /etc/.new_unix cd /etc/conf/bin ./idmkenvand try it out.
Next Chapter, Previous Chapter
Table of contents of this chapter, General table of contents
Top of the document, Beginning of this Chapter