一些人像我一样趋向于怀疑这是由X字体服务的bugs引起的,
server, but it turned out that X font server is quite robust. We can run
但它证明这X字体服务是良好的。我们可以运行
the xfs script under /etc/init.d to see if the font server is running.
这xfs格本文件夹在/etc/init.d去看是否字体服务正在运行。
[root@localhost /root]# /etc/init.d/xfs status
xfs (pid 1385) is running...
In some cases, the only reason for the failure is that the font server is
在一些案例,唯一失败的原因是字体服务停止
dead. So, you need to restart font server like this:
所以,你需要重新启动字体服务象这样:
[root@localhost /root]# /etc/init.d/xfs start
Starting xfs: [ OK ]
Well, my learned lesson is don't take this '[OK]' for granted. You have to
好,我的学习课程不承认OK是真的。你必须
check the status again to see if it is running. If it does run, you can
再次检查状况去看看是否正在运行。如果它不运行,你可以尝试
try startx to see if you can start X windows. If you still cannot start X
startx去看看是否可以开始X windows。当字体服务运行时,如果你仍然不可以运行X
server when the font server runs, it means you are having more serious
服务,它意味着你拥有更严重的错误。
trouble. You need to waste a little more time reading on the following
你需要花费更多的一点时间阅读以下的步骤。
steps.
Note: In a weird case, my root partition was fully filled by two huge log
注意:在一个古怪的案例,我的根目录是被两个大于2GB的信息文件所占据满的。
files occupying more than 2 GB. The font server dies when it cannot write
当它不可能写进/tmp字体服务停止。
to /tmp. So the simple solution was finding the huge files and deleting
因此一些例子的解决办法是寻找巨大文件的删除掉他们。
them.
2. Check if the font 'fixed' is accessible.
检查是否字体“fixed”可以理解的。
Now it is time to ensure that the font 'fixed' is accessible. First, we
现在是时侯确保字体“fixed”是受影响的。首先
can use command fslsfonts to see if font 'fixed' exists in the search
我们可以运行命令fslsfonts去看是否字体存在在所寻找的路径:
path:
[root@localhost alex]# fslsfonts -server unix/:7100 -ll -fn fixed
DIR MIN MAX EXIST DFLT ASC DESC NAME
--> 0 255 some 0 11 2 fixed
FONTNAME_REGISTRY
FOUNDRY Misc
FAMILY_NAME Fixed
WEIGHT_NAME Medium
SLANT R
SETWIDTH_NAME SemiCondensed
ADD_STYLE_NAME
PIXEL_SIZE 13
POINT_SIZE 120
RESOLUTION_X 75
RESOLUTION_Y 75
SPACING C
AVERAGE_WIDTH 60
CHARSET_REGISTRY ISO8859










