QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1984|回复: 25

求助,x崩溃一次后不能进入x了!!

[复制链接]
发表于 2003-8-12 01:24:44 | 显示全部楼层 |阅读模式
显卡驱动也装了,以下是log和xf86config

部分log:

(**) DevInputMice: Protocol: "IMPS/2"
(**) Option "AlwaysCore"
(**) DevInputMice: always reports core events
(**) Option "Device" "/dev/input/mice"
(**) Option "Emulate3Buttons" "no"
(**) Option "ZAxisMapping" "4 5"
(**) DevInputMice: ZAxisMapping: buttons 4 and 5
(**) DevInputMice: Buttons: 5
(II) XINPUT: Adding extended input device "DevInputMice" (type: MOUSE)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
(II) Mouse0: ps2EnableDataReporting: succeeded
(II) DevInputMice: ps2EnableDataReporting: succeeded
Could not init font path element usr/lib/X11/fonts, removing from list!

Fatal server error:
could not open default font 'fixed'

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to [email protected].

xf86config:

# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "DevInputMice" "AlwaysCore"
EndSection

Section "Files"
# RgbPath is the location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath     "usr/lib/X11/fonts"
EndSection

Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
#        Load  "dri"
EndSection

Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#        Option        "Xleds"                "1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.
#        Option        "XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#        Option        "XkbModel"        "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#        Option        "XkbModel"        "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#        Option        "XkbLayout"        "de"
# or:
#        Option        "XkbLayout"        "de"
#        Option        "XkbVariant"        "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#        Option        "XkbOptions"        "ctrl:swapcaps"
# Or if you just want both to be control, use:
#        Option        "XkbOptions"        "ctrl:nocaps"
#
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option            "XkbRules" "xfree86"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "PS/2"
        Option            "Device" "/dev/psaux"
        Option            "ZAxisMapping" "4 5"
        Option            "Emulate3Buttons" "no"
EndSection

Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
        Identifier  "DevInputMice"
        Driver      "mouse"
        Option            "Protocol" "IMPS/2"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5"
        Option            "Emulate3Buttons" "no"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "DDCPROBED"
        DisplaySize  280        210
        HorizSync    30.0 - 70.0
        VertRefresh  50.0 - 130.0
        Option            "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
        VendorName  "Videocard vendor"
        BoardName   "NVIDIA GeForce 2 MX (generic)"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Group        0
        Mode         0666
EndSection
发表于 2003-8-12 07:25:22 | 显示全部楼层
Could not init font path element usr/lib/X11/fonts, removing from list!

是不是少了font这个文件
回复

使用道具 举报

 楼主| 发表于 2003-8-12 17:01:58 | 显示全部楼层
不是,那个文件夹是存在的

打虾帮忙啊
回复

使用道具 举报

 楼主| 发表于 2003-8-12 17:03:38 | 显示全部楼层
能不能请哪位贴个正确得xf86config贴出来,侃侃到底出什么毛病了,谢谢了
回复

使用道具 举报

发表于 2003-8-12 20:31:12 | 显示全部楼层
FontPath "usr/lib/X11/fonts"

FontPath "/usr/lib/X11/fonts"
回复

使用道具 举报

发表于 2003-8-12 20:45:56 | 显示全部楼层
  
厉害!
佩服!
回复

使用道具 举报

 楼主| 发表于 2003-8-13 00:58:54 | 显示全部楼层
呵呵,路径改了,不过还是不行

unable to open default font fixed!!!!

请教大虾如何解决?

能否将你们的xf86config贴出来对比参考一下?
回复

使用道具 举报

 楼主| 发表于 2003-8-13 02:16:59 | 显示全部楼层
大侠能不能把你的fonts.alias,XF86Config,fonts这个文件夹 一起发给我?我的邮箱是
[email protected]
感激不尽
在text下上网的确太痛苦,我只有重起到win下面到这里求助,真是郁闷至极啊
回复

使用道具 举报

发表于 2003-8-13 21:50:23 | 显示全部楼层
/etc/init.d/xfs status看看xfs启动没。结果帖上来。

把FontPath "usr/lib/X11/fonts" 行注释掉试试能否启动
回复

使用道具 举报

发表于 2003-8-13 22:34:24 | 显示全部楼层
运行命令:
XFree86 -configure
此命令将在用户主目录下生成XF86Config.new

运行命令:
XFree86 -xf86config ~/XF86Config.new

此命令测试这个新生成的配置文件能不能用,如果能用,把/etc/X11/XF86config文件备份后用此文件代替(注意两点,如果是4.3的,文件名为XF86config-4,把XF86Config.new改成此文件名后复制到/etc/X11下面)

如果已经打个nvidia的补丁,应该要对此文件做适应的修改,驱动才会工作,但不管做不做修改,X都应该可以工作。
回复

使用道具 举报

发表于 2003-8-15 22:39:06 | 显示全部楼层
什么系统?
要不加一行
FontPath "unix:/7100"

先试试
回复

使用道具 举报

发表于 2003-8-16 00:37:51 | 显示全部楼层
看看你的 X 连接是否正常
回复

使用道具 举报

 楼主| 发表于 2003-8-16 21:53:26 | 显示全部楼层
谢谢大家,终于行了,方法是把font那一行注释掉


谢谢大家!!


FontPath "unix:/7100"

这个不行,提示此行无效,被自动remove掉了,然后说can not find font fixed!!

请问大家,这是什么原因造成的?
回复

使用道具 举报

发表于 2003-8-16 23:00:07 | 显示全部楼层
什么操作系统呀?
回复

使用道具 举报

发表于 2003-8-17 07:08:16 | 显示全部楼层

Re: 求助,x崩溃一次后不能进入x了!!

It is because you disabled the X font server. Why did you do that?

[quote:83d0777746="topgun2"]显卡驱动也装了,以下是log和xf86config

部分log:

(**) DevInputMice: Protocol: "IMPS/2"
(**) Option "AlwaysCore"
(**) DevInputMice: always reports core events
(**) Option "Device" "/dev/input/mice"
(**) Option "Emulate3Buttons" "no"
(**) Option "ZAxisMapping" "4 5"
(**) DevInputMice: ZAxisMapping: buttons 4 and 5
(**) DevInputMice: Buttons: 5
(II) XINPUT: Adding extended input device "DevInputMice" (type: MOUSE)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
(II) Mouse0: ps2EnableDataReporting: succeeded
(II) DevInputMice: ps2EnableDataReporting: succeeded
Could not init font path element usr/lib/X11/fonts, removing from list!

Fatal server error:
could not open default font 'fixed'

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to [email protected].

xf86config:

# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "DevInputMice" "AlwaysCore"
EndSection

Section "Files"
# RgbPath is the location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath     "usr/lib/X11/fonts"
EndSection

Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
#        Load  "dri"
EndSection

Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#        Option        "Xleds"                "1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.
#        Option        "XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#        Option        "XkbModel"        "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#        Option        "XkbModel"        "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#        Option        "XkbLayout"        "de"
# or:
#        Option        "XkbLayout"        "de"
#        Option        "XkbVariant"        "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#        Option        "XkbOptions"        "ctrl:swapcaps"
# Or if you just want both to be control, use:
#        Option        "XkbOptions"        "ctrl:nocaps"
#
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option            "XkbRules" "xfree86"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "PS/2"
        Option            "Device" "/dev/psaux"
        Option            "ZAxisMapping" "4 5"
        Option            "Emulate3Buttons" "no"
EndSection

Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
        Identifier  "DevInputMice"
        Driver      "mouse"
        Option            "Protocol" "IMPS/2"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5"
        Option            "Emulate3Buttons" "no"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "DDCPROBED"
        DisplaySize  280        210
        HorizSync    30.0 - 70.0
        VertRefresh  50.0 - 130.0
        Option            "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
        VendorName  "Videocard vendor"
        BoardName   "NVIDIA GeForce 2 MX (generic)"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Group        0
        Mode         0666
EndSection[/quote]
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-27 08:25 , Processed in 0.044527 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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