viskanta 发表于 2004-12-29 14:05:12

求助:startx一直失败

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 fileRoman_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
67

CR
5f 4f 50 8255 81 bf 1f00 4f 0d 0e00 00 3f ff
9c 0e 8f 281f 96 b9 a3ff ff ff ffff ff ff ff
ff 00 00 0000 00 00 0000 00 00 0000 8a 01 01

SR
03 00 03 0002 05 06 0706 00 c0 000c 02 0e 0f
44 4d 61 2800 03 00 0040 00 1f 0402 1d 1e 1f
44 4d 61 2800 03 00 00

Gr Cont GR
00 00 00 0000 10 0e 00ff f9 fa fbfc fd fe ff

Att Cont AR
20 21 22 2324 25 26 2728 29 2a 2b2c 2d 2e 2f
0c 00 0f 0800 35 36 370c 00 0f 0800 3d 3e 3f

CR
e1 05 40 0000 00 12 fb7b bd 05 0010 10 10 00
00 04 04 0000 00 01 8989 25 00 ffff ff c0 c0
00 00 90 0830 00 00 0083 e4 00 0001 00 00 00
0f 0f 0f 0000 00 00 00fe e0 c0 0903 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

linky_fan 发表于 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"
注释掉试试(也就时加个井号)

viskanta 发表于 2004-12-30 13:07:40

谢谢版主回复,注释掉后,关于鼠标的错误没了,但是现象依旧,还是进不了x,而且Could not init font path element unix/:7100, removing from list 问题依旧。 :roll:

linky_fan 发表于 2004-12-30 19:39:44


关于鼠标的错误没了,但是现象依旧,还是进不了x

出错消息??

Could not init font path element unix/:7100, removing from list 问题依旧。

It's becauseof the font server(xfs), i think that the xfs hasn'tbeen lanched.

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

viskanta 发表于 2004-12-31 11:30:45

谢谢版主,真是回答到了点子上了,我装上一个windows manager,就好了。再次感谢。
页: [1]
查看完整版本: 求助:startx一直失败