升级xorg,如何更改fontpath?

为当前最终发行版之前的所有版本提供支持
回复
chiefsailor
帖子: 11
注册时间: 2006-05-16 20:05
送出感谢: 0
接收感谢: 0

升级xorg,如何更改fontpath?

#1

帖子 chiefsailor » 2006-05-19 16:50

ubuntu(5.04)升级后,无法进入图形界面,基本确定是xorg.conf惹的祸
但是不知道如何修改,网上搜了些,改了,还是进不去,贴上xorg.0.log和xorg.conf
大虾告诉我如何修改xorg.conf,谢谢!

====================================================================
xorg.0.log
... ...
(II) XINPUT: Adding extended input device \"Configured Mouse\" (type: MOUSE)
(II) XINPUT: Adding extended input device \"Generic Keyboard\" (type: KEYBOARD)
(II) Configured Mouse: ps2EnableDataReporting: succeeded
Warning: font renderer for \".pcf\" already registered at priority 0
Warning: font renderer for \".pcf.Z\" already registered at priority 0
Warning: font renderer for \".pcf.gz\" already registered at priority 0
Warning: font renderer for \".snf\" already registered at priority 0
Warning: font renderer for \".snf.Z\" already registered at priority 0
Warning: font renderer for \".snf.gz\" already registered at priority 0
Warning: font renderer for \".bdf\" already registered at priority 0
Warning: font renderer for \".bdf.Z\" already registered at priority 0
Warning: font renderer for \".bdf.gz\" already registered at priority 0
Warning: font renderer for \".pmf\" already registered at priority 0

Fatal server error:
could not open default font \'fixed\';
the X server\'s font paths might be misconfigured, remote font server(s)
may be unreachable, and/or local fonts may not be installed or are not
configured correctly.

People inexperienced with the X Window System should have either the
\"x-window-system\" or \"x-window-system-core\" packages installed.
# apt-get install x-window-system-core
# apt-get install x-window-system

Other useful commands to run include:
$ dpkg --status xserver-common
$ dpkg --status xfonts-base
$ zmore /usr/share/doc/xorg-common/FAQ.gz

Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at \"/var/log/Xorg.0.log\" for additional information.
====================================================================
xorg.conf文件
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type \"man /etc/X11/xorg.conf\" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section \"Files\"

#原来没有相关的东西,按照网上有人写的,我尝试了下,不行,后来给我注释掉了
#RgbPath \"/usr/share/X11/rgb\"
#ModulePath \"/usr/lib/xorg/modules\"
#****END****

#原来的
FontPath \"/usr/share/X11/fonts/misc\"
FontPath \"/usr/share/X11/fonts/cyrillic\"
FontPath \"/usr/share/X11/fonts/100dpi/:unscaled\"
FontPath \"/usr/share/X11/fonts/75dpi/:unscaled\"
FontPath \"/usr/share/X11/fonts/Type1\"
FontPath \"/usr/share/X11/fonts/CID\"
FontPath \"/usr/share/X11/fonts/100dpi\"
FontPath \"/usr/share/X11/fonts/75dpi\"

#****我添加的****
FontPath \"/usr/share/fonts/misc\"
FontPath \"/usr/share/fonts/75dpi\"
FontPath \"/usr/share/fonts/100dpi\"
FontPath \"/usr/share/fonts/TTF\"
FontPath \"/usr/share/fonts/Type1\"
FontPath \"/usr/share/fonts/wqy\"
FontPath \"/usr/share/fonts/CID\"
FontPath \"/usr/share/fonts/cyrillic\"
FontPath \"/usr/share/fonts/75dpi/:unscaled\"
Fontpath \"/usr/share/fonts/100dpi/:unscaled\"
#****END****

# paths to defoma fonts
FontPath \"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType\"
FontPath \"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID\"
EndSection

Section \"Module\"
Load \"GLcore\"
Load \"i2c\"
Load \"bitmap\"
Load \"ddc\"
Load \"dri\"
Load \"extmod\"
Load \"freetype\"
Load \"glx\"
Load \"int10\"
Load \"type1\"
Load \"vbe\"
EndSection

Section \"InputDevice\"
Identifier \"Generic Keyboard\"
Driver \"kbd\"
Option \"CoreKeyboard\"
Option \"XkbRules\" \"xorg\"
Option \"XkbModel\" \"pc104\"
Option \"XkbLayout\" \"us\"
EndSection

Section \"InputDevice\"
Identifier \"Configured Mouse\"
Driver \"mouse\"
Option \"CorePointer\"
Option \"Device\" \"/dev/input/mice\"
Option \"Protocol\" \"ImPS/2\"
Option \"Emulate3Buttons\" \"true\"
Option \"ZAxisMapping\" \"4 5\"
EndSection

Section \"Device\"
Identifier \"NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]\"
Driver \"nv\"
BusID \"PCI:2:0:0\"
EndSection

Section \"Monitor\"
Identifier \"MAG 770FT\"
Option \"DPMS\"
EndSection

Section \"Screen\"
Identifier \"Default Screen\"
Device \"NVIDIA Corporation NV18 [GeForce4 MX 440 AGP 8x]\"
Monitor \"MAG 770FT\"
DefaultDepth 24
SubSection \"Display\"
Depth 1
Modes \"1024x768\" \"800x600\" \"720x400\" \"640x480\"
EndSubSection
SubSection \"Display\"
Depth 4
Modes \"1024x768\" \"800x600\" \"720x400\" \"640x480\"
EndSubSection
SubSection \"Display\"
Depth 8
Modes \"1024x768\" \"800x600\" \"720x400\" \"640x480\"
EndSubSection
SubSection \"Display\"
Depth 15
Modes \"1024x768\" \"800x600\" \"720x400\" \"640x480\"
EndSubSection
SubSection \"Display\"
Depth 16
Modes \"1024x768\" \"800x600\" \"720x400\" \"640x480\"
EndSubSection
SubSection \"Display\"
Depth 24
Modes \"1024x768\" \"800x600\" \"720x400\" \"640x480\"
EndSubSection
EndSection

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

Section \"DRI\"
Mode 0666
EndSection
====================================================================
头像
vovoy
帖子: 30
注册时间: 2006-03-18 0:43
送出感谢: 0
接收感谢: 0

#2

帖子 vovoy » 2006-05-20 13:52

我也有此问题,那位高人解答一下?
回复

回到 “老旧版本支持”