LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: 超级用户

又升级了一次,X彻底挂了. (OK now)

[复制链接]
发表于 2006-4-16 22:52:39 | 显示全部楼层
fc-cache 遵照的/etc/fonts/fonts.conf中的路径,不要跟X server的字体路径混为一谈。
回复 支持 反对

使用道具 举报

发表于 2006-4-16 22:56:17 | 显示全部楼层
于是我们只要修改/usr/X11R6/lib/X11/fonts 路径,将它连接到 /usr/share/fonts/X11/下就可以正常起动拉。


不是这么改的,是改xorg.conf中的FontPath。

  1. * On xserver-xorg postinst, reconfigure for all versions less than or equal
  2.     to this one. This will only occur if the file is not customized. This will
  3.     automatically correct for new font and xkb data paths. Users with
  4.     customized files will have to make the necessary changes, documented in
  5.     the NEWS.Debian file for the xserver-xorg-core package.
复制代码
回复 支持 反对

使用道具 举报

发表于 2006-4-16 23:27:28 | 显示全部楼层
Post by seamonkey
fc-cache 遵照的/etc/fonts/fonts.conf中的路径,不要跟X server的字体路径混为一谈。

我的fonts.conf可没有任何/usr字样的目录出现, 而fc-cache下出现了一堆.
If directory arguments are not given, fc-cache uses each directory in the current font configuration. Each directory is scanned for font files readable by FreeType.
fc-cache是为了创建fontconfig的字体缓存的命令, 和x字体没有关系, 但事实上fc-cache -fv的确给出了x server字体的路径, 不相信你自己试一下.
回复 支持 反对

使用道具 举报

发表于 2006-4-16 23:37:56 | 显示全部楼层
不过还是有些不懂?
为什么还有这样的错误呢?
Couldn't open RGB_DB '/usr/share/X11/rgb'  #这个是什么错误?不懂?!!
error opening security policy file /usr/lib/xserver/SecurityPolicy
Could not init font path element unix/:7100,removing from.list!
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.
回复 支持 反对

使用道具 举报

发表于 2006-4-17 02:31:43 | 显示全部楼层
快气疯我了 还没有搞定啦 :mad::mad::mad:
回复 支持 反对

使用道具 举报

发表于 2006-4-17 08:11:16 | 显示全部楼层
Post by linfans
不过还是有些不懂?
为什么还有这样的错误呢?
Couldn't open RGB_DB '/usr/share/X11/rgb'  #这个是什么错误?不懂?!!
error opening security policy file /usr/lib/xserver/SecurityPolicy
Could not init font path element unix/:7100,removing from.list!
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.

那个rgb无关紧要,主要是底下的那个fatal error,把你的xorg.conf字体路径重新设置一下。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-17 09:48:30 | 显示全部楼层
Post by seamonkey
如何不正常,是不是

http://south.linuxsir.cn/bbs/showthread.php?t=252520&page=2

提到的bug #359328


不是的,这可能是我的个例。
以前6.9的时候也不对,ubuntu也不行。

具体表现是 用i810驱动,在1024x768@85下,屏幕闪烁。
但是用fbdev驱动,同样的配置就正常……
回复 支持 反对

使用道具 举报

发表于 2006-4-17 09:53:25 | 显示全部楼层
我的fonts.conf可没有任何/usr字样的目录出现, 而fc-cache下出现了一堆.


grep \<dir\> /etc/fonts/fonts.conf

自己看结果。如果你固执己见,那我也没办法。

再说一遍,fc-cache和X字体路径一点关系也没有。
回复 支持 反对

使用道具 举报

发表于 2006-4-17 10:04:45 | 显示全部楼层
我升级之后进不了X是因为/usr/X11R6/bin/下面的X链接没有了。链接过去就可以正常了。
不过有一个问题就是现在mkfontscale和mkfontdir不能检测到simsun.ttf之类的字体的gb2312之类的编码了。郁闷。
回复 支持 反对

使用道具 举报

发表于 2006-4-17 12:04:24 | 显示全部楼层
最关键的错误还是找不到 fixed 字体
在 /etc/X11/xorg.conf 里面添加上包含 fixed 字体的路径就行了
Post by linfans
不过还是有些不懂?
为什么还有这样的错误呢?
Couldn't open RGB_DB '/usr/share/X11/rgb'  #这个是什么错误?不懂?!!
error opening security policy file /usr/lib/xserver/SecurityPolicy
Could not init font path element unix/:7100,removing from.list!
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.
回复 支持 反对

使用道具 举报

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

本版积分规则

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