当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 升级xorg,如何更改fontpath?
帖子发表于 : 2006-05-19 16:50 

注册: 2006-05-16 20:05
帖子: 11
送出感谢: 0 次
接收感谢: 0 次
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
====================================================================


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2006-05-20 13:52 
头像

注册: 2006-03-18 0:43
帖子: 30
送出感谢: 0 次
接收感谢: 0 次
我也有此问题,那位高人解答一下?


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 2 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译