Chinaunix首页 | 论坛 | 博客
  • 博客访问: 103542642
  • 博文数量: 19283
  • 博客积分: 9968
  • 博客等级: 上将
  • 技术积分: 196062
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-07 14:28
文章分类

全部博文(19283)

文章存档

2011年(1)

2009年(125)

2008年(19094)

2007年(63)

分类:

2007-04-29 08:13:34

作者:sco  出处:uw714doc.sco.com   

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:

  1. 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
    

  2. 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.

  3. 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:

  1. Run XFree86 -configure to create a file called /XF86Config.new.
       XFree86 -configure
    

  2. 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.

  3. 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

  1. Disable the Unix X server from Unix mode, and enter Linux mode:
       # scologin disable
       # linux
    

  2. Configure the X server:
       [root@sysname unixware]# kxconfig
    
    Follow the prompts provided by the command.

  3. 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.

  4. Edit /linux/opt/kde2/share/config/kdm/kdmrc:

    1. Edit the line containing MinShowUID= so it reads as shown:
         MinShowUID=101
      

    2. Edit the line beginning with NoUsers=, by adding the following to its current contents:
         canna,ftp,gopher,ldap,ncsd,operator
      

  5. Start the XFree86 server:
       [root@vp2 unixware]# kdm & exit     
    
 
阅读(3140) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~