Configuring an X server
The UnixWare 7 X server is based on release X11R6 of the X Window System. This is the X server supported for use with UnixWare 7, and LKP. The X11R6 X server is installed and configured automatically when UnixWare 7 is installed.
XFree86 is the X server most commonly used in Linux environments. XFree86 does work with the LKP, but configuration can be difficult, is often hardware dependent, and might require more information than is documented here. Below is configuration information for Releases 3, 4.0, and 4.1 versions of XFree86.
XFree86 Version 3
You can configure XFree86 Version 3 as follows:
- Verify that your video card is supported by XFree86 and the LKP.
By default, X is linked to the XF86_SVGA driver. All video cards that support SVGA (``Standard monitor types'') will work without further modification.
The following drivers will work if you create an appropriate link from the driver to X, and chmod the driver: XF86_W32, XF86_S3V, XF86_SV, XF86_P9000, XF86_Mach-8, XF86_Mach-32, XF86_Mach-64, XF86_I128, XF86_FBDdev, XF86_AGX, XF86_8514, and XF86_3DLabs.
For example, to enable a XF86_W32 driver, login as root in Linux mode and ln -s /usr/X11R6/bin/XF86_W32 /usr/X11R6/bin/X
chmod a+s /usr/X11R6/bin/XF86_W32
- Run /usr/X11R6/bin/xf86config to create a valid /etc/XF86Config file. The xf86config program is an interactive, menu-driven program that asks you questions about your system. When asked for the type of mouse, you must specify a PS/2 mouse (/dev/psaux) because this is the only mouse type that will work with the LKP.
CAUTION: It is important that the values in the XF86Config file match the capabilities of the hardware you are using. Incorrect values can damage your equipment.
If xf86config does not work, you might try xf86setup. xf86setup can handle some cards that xf86config does not recognize.
NOTE: xf86config does not work with laptop computers, but pre-configured files are available for use with many laptops. Try using a web search engine to find a valid XF86Config file for your specific laptop model.
- Disable the UnixWare 7 X display manager on your console.
scologin disable
XFree86 Version 4.0
XFree86 Version 4.0 can be configured as follows:
- Run XFree86 -configure to create a file called /XF86Config.new.
XFree86 -configure
- If you are using a PS/2 mouse, edit the ``Input Device'' section of /XF86Config.new. Change the line that says
Option "Device" "/dev/mouse"
to Option "Device" "/dev/psaux"
Also, change the "Protocol" line to read Option "Protocol" "PS/2"
No changes are necessary if you are using a Serial mouse.
- To finish configuration and start XFree86, type
XFree86 -xf86config /XF86Config.new -ac
NOTE: There are known problems running ATI video cards. This is also true for XFree86 on native Linux systems.
XFree86 Version 4.1
- Disable the Unix X server from Unix mode, and enter Linux mode:
# scologin disable
# linux
- Configure the X server:
[root@sysname unixware]# kxconfig
Follow the prompts provided by the command.
- Test that the server comes up with the correct resolution, etc.:
[root@sysname unixware]# X
Exit the server by pressing Ctrl-Alt-Backspace. If necessary, go back to the previous step to reconfigure the server.
- Edit /linux/opt/kde2/share/config/kdm/kdmrc:
- Edit the line containing MinShowUID= so it reads as shown:
MinShowUID=101
- Edit the line beginning with NoUsers=, by adding the following to its current contents:
canna,ftp,gopher,ldap,ncsd,operator
- Start the XFree86 server:
[root@vp2 unixware]# kdm & exit
| | |