找回密码
 注册
查看: 1590|回复: 4

求助:startx一直失败

[复制链接]
发表于 2004-12-29 14:05:12 | 显示全部楼层 |阅读模式
PII-266,64M,S3Virge(4M),8139D,PS/2鼠标,samsung SyncMaster 700s
从中科大的服务器网络安装Debian stable,一切顺利,用中科大的sources.list:
apt-get install xfree86-common xserver-common xserver-xfree86 xbase-clients xfonts-base xfonts-100dpi xfonts-75dpi
也很顺利,dpkg-reconfigure xserver-xfree86
/dev/psaux用的是PS/2,S3Virge 800X600@85Hz。不使用 framebuffer
完成后startx,已经看到那个叉型的光标,但是马上退出,我认为自己的x配置没有什么问题,但是就是进不了x-window。主要出错消息如下:还有XF86Config-4文件
(II) Initializing built-in extension RENDER
PEXExtensionInit: Couldn't open default PEX font file  Roman_M
(II) Keyboard "Generic Keyboard" handled by legacy driver
(**) Option "Protocol" "PS/2"
(**) Configured Mouse: Protocol: "PS/2"
(**) Option "CorePointer"
(**) Configured Mouse: Core Pointer
(**) Option "Device" "/dev/psaux"
(==) Configured Mouse: Buttons: 3
(**) Option "ZAxisMapping" "4 5"
(**) Configured Mouse: ZAxisMapping: buttons 4 and 5
(**) Option "Protocol" "ImPS/2"        我不知道怎么会老是出现这个,我是PS/2
(**) Generic Mouse: Protocol: "ImPS/2"
(**) Option "SendCoreEvents" "true"
(**) Generic Mouse: always reports core events
(**) Option "Device" "/dev/input/mice"
(EE) xf86OpenSerial: Cannot open device /dev/input/mice   这是怎么回事呢??
        No such device.
(EE) Generic Mouse: cannot open input device
(EE) PreInit failed for input device "Generic Mouse"
(II) UnloadModule: "mouse"
(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
Could not init font path element unix/:7100, removing from list!
        S3VWriteMode
        S3VGEReset sub_stat=b000
    S3VWrMode - cr3a: 1 (set 3a)
s3v: warning: VerticalRetraceWait timed out(1:3).
s3v: warning: VerticalRetraceWait timed out(3:3).
    S3VWrMode - restoring cr3a: 1 (adding 0x80)
s3v: warning: VerticalRetraceWait timed out(1:3).
s3v: warning: VerticalRetraceWait timed out(3:3).
(II) S3VIRGE(0): ViRGE driver: done restoring mode, dumping CR registers:
(II) S3VIRGE(0): START register dump ------------------
Misc Out[3CC]
  67

CR[00-2f]
  5f 4f 50 82  55 81 bf 1f  00 4f 0d 0e  00 00 3f ff  
  9c 0e 8f 28  1f 96 b9 a3  ff ff ff ff  ff ff ff ff  
  ff 00 00 00  00 00 00 00  00 00 00 00  00 8a 01 01  
  
SR[00-27]
  03 00 03 00  02 05 06 07  06 00 c0 00  0c 02 0e 0f  
  44 4d 61 28  00 03 00 00  40 00 1f 04  02 1d 1e 1f  
  44 4d 61 28  00 03 00 00  

Gr Cont GR[00-0f]
  00 00 00 00  00 10 0e 00  ff f9 fa fb  fc fd fe ff  
  
Att Cont AR[00-1f]
  20 21 22 23  24 25 26 27  28 29 2a 2b  2c 2d 2e 2f  
  0c 00 0f 08  00 35 36 37  0c 00 0f 08  00 3d 3e 3f  
  
CR[30-6f]
  e1 05 40 00  00 00 12 fb  7b bd 05 00  10 10 10 00  
  00 04 04 00  00 00 01 89  89 25 00 ff  ff ff c0 c0  
  00 00 90 08  30 00 00 00  83 e4 00 00  01 00 00 00  
  0f 0f 0f 00  00 00 00 00  fe e0 c0 09  03 00 7f 0e  
  
(II) S3VIRGE(0): END register dump --------------------
        S3VDisableMmio

/etc/X11/Xf86Config-4文件如下

Section "Files"
        FontPath        "unix/:7100"                        # local font server
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
        Load        "GLcore"
        Load        "bitmap"
        Load        "dbe"
        Load        "ddc"
        Load        "dri"
        Load        "extmod"
        Load        "glx"
        Load        "int10"
        Load        "pex5"
        Load        "record"
        Load        "speedo"
        Load        "type1"
        Load        "vbe"
        Load        "xie"
EndSection

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "keyboard"
        Option                "CoreKeyboard"
        Option                "XkbRules"        "xfree86"
        Option                "XkbModel"        "pc104"
        Option                "XkbLayout"        "us"
EndSection

Section "InputDevice"
        Identifier        "Configured Mouse"
        Driver                "mouse"
        Option                "CorePointer"
        Option                "Device"                "/dev/psaux"
        Option                "Protocol"                "PS/2"
        Option                "ZAxisMapping"                "4 5"
EndSection

Section "InputDevice"
        Identifier        "Generic Mouse"
        Driver                "mouse"
        Option                "SendCoreEvents"        "true"
        Option                "Device"                "/dev/input/mice"
        Option                "Protocol"                "ImPS/2"
        Option                "ZAxisMapping"                "4 5"
EndSection

Section "Device"
        Identifier        "Generic Video Card"
        Driver                "s3virge"
EndSection

Section "Monitor"
        Identifier        "Generic Monitor"
        HorizSync        30-54
        VertRefresh        50-85
        Option                "DPMS"
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Device                "Generic Video Card"
        Monitor                "Generic Monitor"
        DefaultDepth        15
        SubSection "Display"
                Depth                1
                Modes                "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                "Default Screen"
        InputDevice        "Generic Keyboard"
        InputDevice        "Configured Mouse"
        InputDevice        "Generic Mouse"
EndSection

Section "DRI"
        Mode        0666
EndSection

### END DEBCONF SECTION
发表于 2004-12-29 20:36:30 | 显示全部楼层
(EE) xf86OpenSerial: Cannot open device /dev/input/mice 这是怎么回事呢??

没有找到/dev/input/mice这个设备
(**) Option "Protocol" "ImPS/2" 我不知道怎么会老是出现这个,我是PS/2

这个正常的,imps比ps2的功能上强一点。
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection

把下面这行
InputDevice "Generic Mouse"
注释掉试试(也就时加个井号)
回复

使用道具 举报

 楼主| 发表于 2004-12-30 13:07:40 | 显示全部楼层
谢谢版主回复,注释掉后,关于鼠标的错误没了,但是现象依旧,还是进不了x,而且Could not init font path element unix/:7100, removing from list 问题依旧。
回复

使用道具 举报

发表于 2004-12-30 19:39:44 | 显示全部楼层
关于鼠标的错误没了,但是现象依旧,还是进不了x

出错消息??
Could not init font path element unix/:7100, removing from list 问题依旧。

It's because  of the font server(xfs), i think that the xfs hasn't  been lanched.

Suggestion:
                If you want to use X, you should apt a windows manager(kde or gnome)
回复

使用道具 举报

 楼主| 发表于 2004-12-31 11:30:45 | 显示全部楼层
谢谢版主,真是回答到了点子上了,我装上一个windows manager,就好了。再次感谢。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-2-13 22:30 , Processed in 0.024448 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表