LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2231|回复: 11

第一次遇到这种问题:( could not open default font 'fixed',内附详情

[复制链接]
发表于 2007-2-8 02:32:02 | 显示全部楼层 |阅读模式
startx的时候报错误:
could not open default font 'fixed',
看了/var/log/Xorg.0.log只有最后一行出现了这个错误,没有任何和(EE)相关的错误
google了n多的文档还是没有搞定

在一个HP nx6330的机器上新装Gentoo,虽然装过n次gentoo,可是第一次遇见这种问题
用的~x86的 ACCEPT_KEYWORDS,每个包都是最新的。

这个问题出在那里?请各位大虾明鉴。

我的xorg.conf的配置,大伙帮忙看看有什么问题。目前的这个配置在/var/log/Xorg.0.log中只有最后一个这样的错误:
Fatal server error:
could not open default font 'fixed'
XIO:fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests ( 0 known processed) with 0 events remaining.



Section "ServerLayout"

# InputDevice "Synaptics Touchpad"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "Files"
# paths to defoma fonts
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/Type1"
# FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/wqy-bitmapfont"
# FontPath "/usr/share/fonts/efont-unicode"
# FontPath "/usr/share/fonts/intlfonts"
# FontPath "/usr/share/fonts/encodings"
# FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
# FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
# Load "ati"
Load "GLcore"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "drm"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "ServerFlags"
option "AIGLX" "off"
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 "rotocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
# Option "UseEdidDpi" "FALSE"
#DisplaySize 541 470
EndSection

Section "Device"
Identifier "ATI Technologies Inc M52"
Driver "fglrx"
BusID "CI:1:0:0"
# Option "AGPMode" "4"
# Option "AGPFastWrite" "1"
# Option "RenderAccel" "on"
# Option "EnablePageFlip" "True"
# This two lines are needed to prevent fonts from being scrambled
Option "XaaNoScanlineImageWriteRect"
Option "XaaNoScanlineCPUToScreenColorExpandFill"
# Option "BIOSHotkeys" "on"
# Option "UseEdidDpi" "FALSE"
#Option "DPI" "120 x 120"
Screen 0
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies Inc M52"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x800"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection




我的emerge --info信息
[@test] ~> cat nx6330.emerge
Portage 2.1.2-r8 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo i686)
=================================================================
System uname: 2.6.20-gentoo i686 Genuine Intel(R) CPU           T2400  @ 1.83GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 07 Feb 2007 15:30:01 +0000
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli cracklib crypt ctype cups dba dlloader dri eds emboss encode esd ethereal exif expat fam fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile iconv idn imlib ipv6 isdnlog jpeg lcms libg++ libwww mad memlimit midi mikmod mng motif mozilla mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png posix pppd python qt3 qt4 quicktime readline reflection samba sdl session simplexml slang soap sockets spell spl ssl tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev vorbis x86 xml xml2 xorg xsl xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
发表于 2007-2-8 11:07:45 | 显示全部楼层
emerge media-fonts/font-misc-misc
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-2-8 12:48:03 | 显示全部楼层
楼上的哥们,这个我早就装过了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-2-8 12:48:44 | 显示全部楼层
mkfontdir, mkfontscale, fc-cache -fv都做过了
回复 支持 反对

使用道具 举报

发表于 2007-2-8 13:48:49 | 显示全部楼层
先看看font-misc-misc安装是否没问题,
即/usr/share/fonts/misc下面有没文件。

看看/etc/X11/xorg.conf中有没有加
FontPath     "/usr/share/fonts/misc/"

如果是Xgl看看在启动脚本中加
-fp /usr/share/fonts/misc ...
回复 支持 反对

使用道具 举报

发表于 2007-2-8 13:50:08 | 显示全部楼层
先看看font-misc-misc安装是否没问题,
即/usr/share/fonts/misc下面有没文件。

看看/etc/X11/xorg.conf中有没有加
FontPath     "/usr/share/fonts/misc/"

如果是Xgl看看在启动脚本中加
-fp /usr/share/fonts/misc ...
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-2-8 14:47:35 | 显示全部楼层
先看看font-misc-misc安装是否没问题,
即/usr/share/fonts/misc下面有没文件。

看看/etc/X11/xorg.conf中有没有加
FontPath "/usr/share/fonts/misc/"


这些肯定是没有问题的,第一个我想到的就是这个问题。
回复 支持 反对

使用道具 举报

发表于 2007-2-8 14:58:25 | 显示全部楼层
最后不管怎么解决的
希望你能回来把解决方法贴一下
大家一起受教
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-2-8 15:07:25 | 显示全部楼层
楼上的哥们,这个是一定的。我以前在这里问的问题,只要我自己解决了,肯定把方法贴上来的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-2-8 15:20:02 | 显示全部楼层
郁闷到家!gentoo至少我从stage1装了3,4遍,其他的发行版,包括LFS都装过,不过第一次遇到这个问题
回复 支持 反对

使用道具 举报

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

本版积分规则

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