Linux "could not open default font 'fixed'."错误解决

水深无声 2022-08-07 15:56 336阅读 0赞

昨天更改了Xwindow的字体,结果今天一开机出现如下错误提示:

Linux “could not open default font ‘fixed’.”错误解决

不能进入Xwindow,错误如下:

log file:”/var/log/XFree86.o.log”
Using config file:”/etc/X11/XF86Config.
Warninging: font renderer for “.TTF” already registered at priority 10
Warninging: 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’.
XID: fatal ID error 104 (Connection reset by peer) on X server “ :0.0”

进不去Xwindow了,很郁闷。。。后来google了一下,看来很多人都有过类似的情况,他们给出的解决方案如下:

进入/etc/X11/XF86Config

vi XF86Config 找到这里的内容:

section “Files”
……
FontPath “/usr/share/fonts/simsum “
FontPath “unix/:7100 “ (就这两个FontPath)

然后用 # 把 FontPath “unix/:7100 “ 注释掉重启后,顺利进入了Xwindow。

看来linux还是很有意思的,他不是一个懒人可以使用的系统,更不是傻瓜式的系统(windows),什么都要靠自己。。哈哈

发表评论

表情:
评论列表 (有 0 条评论,336人围观)

还没有评论,来说两句吧...

相关阅读