RedHat9中由于字体问题导致不能启动图形界面
我的RH9现在不能进入图形界面了,有以下出错信息:#startx
: Initializing GLX extension
font renderer for ".TTF" already registered at priority 10
font renderer for ".TTC" already registered at priority 10
Could not init font path element Unix/:7100,removing from list!
Fatal server error:
Could not open default font "fixed"
请问我该如何解决这个问题?
另外我以前曾安装过全自动字体美化包linuxsir-fontconfig-3.4.bin,是不是和这个有关系? 没人愿意帮忙吗?我很着急的…… 贴出你的XF86Config文件的File段 我的XFree86配置全文如下:
# XFree86 4 configuration created by redhat-config-xfree86
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/share/fonts/simsun"
FontPath "unix/:7100"
EndSection
Section "Module"
Load"xtt"
Load"dbe"
Load"extmod"
Load"fbdevhw"
Load"glx"
Load"record"
Load"type1"
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" "IMPS/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 "Benq 77p"
DisplaySize310 230
HorizSync 30.0 - 72.0
VertRefresh50.0 - 120.0
Option "dpms"
EndSection
Section "Device"
Identifier"Videocard0"
Driver "nvidia"
VendorName"Videocard vendor"
BoardName "NVIDIA GeForce 2 MX (generic)"
VideoRam 65536
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection 请大家帮帮忙吧,谢谢! 是不是把 xfs 给关了?
/etc/init.d/xfs start
看能不能启动,不行的话注释掉XF86Config中的FontPath "unix/:7100",就是改成 #FontPath "unix/:7100" ,启动后修改你的字体配置…… 是不是把 xfs 给关了?
/etc/init.d/xfs start
看能不能启动,不行的话注释掉XF86Config中的FontPath "unix/:7100",就是改成 #FontPath "unix/:7100" ,启动后修改你的字体配置……
1、#/etc/init.d/xfs start
显示几个乱码(可能是中文提示信息),然后startx仍然不能启动,出错信息和前面一样。
2、注释掉XF86Config中的 FontPath "unix/:7100" 后,startx,出错信息和前面一样。
请再帮我想想办法吧,十分感谢! 把Load xtt注释掉! 用什么xtt啊...嘿嘿 把Load xtt注释掉! 用什么xtt啊...嘿嘿
xtt对画中文字比较优秀,但是慢些
他又没读取freetype模块。 恢复你做的所有的改动,
执行:
cd /usr/X11R6/lib/X11/fonts/misc
mkfontdir
再startx看看
如果还不行:
修改XF86Config,
在FontPath "unix/:7100"下面加一行:
FontPath "/usr/X11R6/lib/X11/fonts/misc"
修改XF86Config,
在FontPath "unix/:7100"下面加一行:
FontPath "/usr/X11R6/lib/X11/fonts/misc"
这样也是不行,出错信息和前面一样,我都开始绝望了…………
事情是这样的:我用mplayer1.0pre3播放电影,可是播放很不流畅(电影我已经考到硬盘上),以前mplayer1.0pre3播放效果还是不错的,于是我就重新启动进入windows看了,以后再进入REDHAT9就出现这种情况了……
真是奇怪…… NND,重装 :evil:
:mrgreen:
页:
[1]