[问题]不能启动X,字体问题(完成)

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
回复
kara
帖子: 26
注册时间: 2005-11-05 22:45
送出感谢: 0
接收感谢: 0

[问题]不能启动X,字体问题(完成)

#1

帖子 kara » 2005-11-09 14:26

大家好,还记得我装了scim后,网页不能显示任何字体,重装firefox后问题解决。

可是后来重启后不能进入X了。启动的时候会有提示:Cannot set LC_CTYPE to default locale: No such file or directory

然后出来一个框框:I cannot start the X server(your grahpical interface).It is likely that it is not set up correctly. would you like to view the X server output to diagnose the problem?

我怀疑是我的字体服务出了问题。但google了半天还是没解决。谢谢各位帮我分析一下。



下面我贴出我的Xorg.0.log中有报错的部分:

WW) The directory "/usr/share/X11/fonts/cyrillic" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/X11/fonts/100dpi/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/X11/fonts/75dpi/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/X11/fonts/Type1" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/X11/fonts/CID" does not exist.
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.
头像
catinsnow
帖子: 773
注册时间: 2005-08-02 7:23
来自: 上海
送出感谢: 0
接收感谢: 1 次

#2

帖子 catinsnow » 2005-11-09 17:06

log的后面给了一些方案,你做一下,再运行一下
sudo dpkg-reconfigure locales
重设一下local.
Ubuntu Intrepid
#P4 2.4
P4 2.4C
#1024MB
2048MB
#120G
500G+120G
Nvidia FX5700
#ATI9100 --拆了,受不了ATI的驱动.
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙
送出感谢: 4 次
接收感谢: 256 次

#3

帖子 eexpress » 2005-11-09 17:07

你是breezy吧。/usr/share/X11/fonts/目录有吗。是升级了出的?hoary的目录不同。升级会自动建立一个ln,指向这个目录的。
● 鸣学
kara
帖子: 26
注册时间: 2005-11-05 22:45
送出感谢: 0
接收感谢: 0

#4

帖子 kara » 2005-11-09 20:25

谢谢你们的建议~ :P
终于解决了,憋了两天。师兄帮忙的,试了很多方法,谢谢他~~

最后参考了Bavon 兄的帖子,也向他表示感谢


回到了/usr/X11R6/lib/X11/fonts
sudo fc-cache -fv misc
完成后,修改你的xorg.conf
sudo gedit /etc/X11/xorg.conf
在Section "Files"添加
FontPath "/usr/X11R6/lib/X11/fonts/misc"
保存,重启。

就看到亲爱的X了
回复

回到 “办公、图像、机械电子设计等”