QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 590|回复: 7

大家帮忙看看我的XF86Config错在哪里了,进不了x

[复制链接]
发表于 2003-6-8 10:52:56 | 显示全部楼层 |阅读模式
出错提示是
Fatal server error:
could not open default font 'fixed'

我的XF86Config:
# File generated by anaconda.
#

Section "ServerLayout"
        #
        Identifier     "Anaconda Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
# 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/local/zhfonts"
        FontPath     "unix/:7100"
        FontPath     "/usr/X11R6/lib/X11/fonts/TrueType"
EndSection

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

Section "InputDevice"
#        Option        "AutoRepeat"        "500 5"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
#        Option        "Protocol"        "Xqueue"
# 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"
        #Option        "XkbOptions"        ""
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option            "XkbRules" "xfree86"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us"        #Option        "XkbVariant"        ""
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        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    "Monitor Model"
        HorizSync    30.0 - 61.0
        VertRefresh  50.0 - 120.0
        Option            "dpms"
EndSection

Section "Device"
        # no known options
        #BusID
        Identifier  "NVIDIA GeForce 2 MX (generic)"
        Driver      "nvidia"
        VendorName  "NVIDIA GeForce 2 MX (generic)"
        BoardName   "NVIDIA GeForce 2 MX (generic)"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "NVIDIA GeForce 2 MX (generic)"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes    "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Mode         0666
EndSection

大家帮忙看看错在哪里了,谢谢
发表于 2003-6-8 11:57:16 | 显示全部楼层

FontPath "/usr/local/zhfonts"

FontPath "/usr/X11R6/lib/X11/fonts/TrueType"
这三行注解试试
不行再把FontPath "unix/:7100" 注解

另外执行一下chkfontpath,把结果贴出来
回复

使用道具 举报

 楼主| 发表于 2003-6-8 12:28:18 | 显示全部楼层
#FontPath "/usr/local/zhfonts"
#FontPath "unix/:7100"
#FontPath "/usr/X11R6/lib/X11/fonts/TrueType"
我把那几行都注释起来了,可以进x了,但是进去以后发现浏览网站显示字体变的很难看

chkfotnpath 结果
Current directories in font path:
1: /usr/X11R6/lib/X11/fonts/misc:unscaled
2: /usr/X11R6/lib/X11/fonts/75dpi:unscaled
3: /usr/X11R6/lib/X11/fonts/100dpi:unscaled
4: /usr/X11R6/lib/X11/fonts/misc
5: /usr/X11R6/lib/X11/fonts/Type1
6: /usr/X11R6/lib/X11/fonts/Speedo
7: /usr/X11R6/lib/X11/fonts/cyrillic
8: /usr/X11R6/lib/X11/fonts/TTF
9: /usr/share/fonts/default/Type1
10:
11: /usr/share/fonts/zh_TW/TrueType
12: /usr/lib/openoffice/share/fonts/truetype
回复

使用道具 举报

发表于 2003-6-8 12:48:02 | 显示全部楼层
你用的是什么linux?什么桌面环境?
回复

使用道具 举报

 楼主| 发表于 2003-6-8 13:32:14 | 显示全部楼层
rh8
gnome
回复

使用道具 举报

发表于 2003-6-8 13:35:22 | 显示全部楼层

FontPath "/usr/local/zhfonts"
FontPath "/usr/X11R6/lib/X11/fonts/TrueType"
加入到/etc/fonts/fonts.conf里
回复

使用道具 举报

 楼主| 发表于 2003-6-8 13:43:18 | 显示全部楼层
XF86Config中还要注释起来么?
回复

使用道具 举报

 楼主| 发表于 2003-6-8 13:59:36 | 显示全部楼层
搞定了,
XF86Config中去掉原来的注释,然后再把
FontPath "/usr/local/zhfonts"
FontPath "/usr/X11R6/lib/X11/fonts/TrueType"
加入到/etc/fonts/fonts.conf里
reboot.....
ok!
谢谢
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-19 19:18 , Processed in 0.061097 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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