[分享]解决字体问题导致ubuntu无法启动

为当前最终发行版之前的所有版本提供支持
回复
yatwql
帖子: 9
注册时间: 2005-10-30 3:08
送出感谢: 0
接收感谢: 0

[分享]解决字体问题导致ubuntu无法启动

#1

帖子 yatwql » 2005-10-30 3:10

这几天也想看看ubuntu是啥样子的,于是装了一个。
之前没有使用过debian,所以解决这个问题还google了好一会.

似乎上一次鼓捣那台ubuntu是装了个5.0的sun jdk,用的是bin的方式,后apt-get install eclipse-jdt,

中间报了好些错,因为想睡觉,没理会,搞完就关机了。

于是,大事了........

今天兴起开机,无法启动xwindow,死跳出一个窗口

I cannot start the X server (your graphical interface).
It is likely that it is not setup correctly. Would you like to view the X server output to diagnose the problem?

而且键盘也死掉了

好彩有一个recovery mode,查看
/var/log/Xorg.0.log

发现类似字眼

/usr/share/X11/fonts/misc does not exist
Entry deleted from font path
/usr/share/X11/fonts/75dpi/ does not exist

"fonts.dir" not found in " /var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"

..
the X server's font paths might be misconfigured , remote font server(s) may be unreachable, an/or local fonts may not be installed or are not configured correctly.

哦,再瞧瞧/usr/share/X11/fonts确实空空如也,赶紧做了个link连去/etc/X11/fonts
嗯,无效
后来将fonts下面相应字体目录的font.alias都转变为777也不行

重新安装x-window
apt-get install x-window-system-core
apt-get insall x-window-system
重新安装字体和字体的管理工具
apt-get install xkb-utils
apt-get install --reinstall xfonts-base
也没有见效

再后来似懂非懂地

将/etc/X11/xorg.conf中的
Section "Module"下的
Load "dri"注释
再dpkg-reconfigure xserver-org

发达了,我终于见到了xwindow

估计错误原因应该如这位仁兄所说的一样

have been moved. The font paths in xorg.conf are wrong, but even if they were
correct, there would still be problems because the newly located fonts are not
fully configured.

They are supposed to be managed by defoma (debian font config), but it can't
do its job properly, because the tool called mkfontdir is missing (along with
lots of other tools that are supposed to be in the xutils package).

可不知道为啥重装这个xutils也不行


看来在ubuntu上装个软件还得注意着那家伙有没有吧自己的字体给删除了
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙
送出感谢: 4 次
接收感谢: 256 次

#2

帖子 eexpress » 2005-10-30 17:53

dpkg-reconfigure xserver-org就可以了吧。反正是修改xorg.conf。自己在这之前修改的可能都会被去掉的。
● 鸣学
回复

回到 “老旧版本支持”