婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁 > 知識庫 > startx啟動圖形界面失敗的幾個解決方法

startx啟動圖形界面失敗的幾個解決方法

熱門標簽:孝感營銷電銷機器人源碼 沈陽藝匯通地圖標注 思茅地圖標注app 鄭州智能外呼系統(tǒng)招商 打電話機器人是什么軟件 智能電話機器人金融 ai電銷機器人自動篩選意向客戶 AI電銷機器人PHP源碼 騰訊美術(shù)館地圖標注

很多l(xiāng)inux用戶有如此一個慘痛經(jīng)歷。當你和平常一樣登陸和輸入這可愛的startx時,你只是接收到錯誤信息。

Many of us gnu/linux users have had such a terrible experience. When you
很多l(xiāng)inux用戶有如此一個慘痛經(jīng)歷。當你
login and type the sweet startx as usual, you only receive scrolling lines
和平常一樣登陸和輸入這可愛的startx時,你只是接收到
of error messages. One copy of the error message is usually stored in
錯誤信息。錯誤通常存儲在
/var/log/XFree86.0.log. If you can access the log file, you will notice
/var/log/XFree86.0.log。如果你讀取這個日志文件,你將會注意到
the last lines of the file may look like this:
文件的最后一行通常如這樣:
Could not init font path element unix/:7100, removing from list!
Fatal server error:
could not open default font 'fixed'

I have to admit that I was in panic when I saw this message in the first
我不得不承認我感到恐慌當我最初幾次看到這些信息。
several times. As an intermediate user of linux system, I was not so
作為一個中級的linux系統(tǒng)用戶,我感到用命令控制臺撥號和用lynx沖浪不
comfortable using text console for modem dialup and surfing with lynx. So
舒服沖浪。所以
I had to spend a lot of time on another box and use Google to search for
我不得不花費很多時間在另一臺電腦的使用Google在網(wǎng)上搜索幫助。
help on web. It was amazing that so many people like me have this exact
另人感到意外的是如此多人像我一樣擁有如此
terrible experience and those replies in web forums and mailing lists
恐怖的經(jīng)歷和那些網(wǎng)上論壇和郵件列表的答復
generally offer more sympathy than real help. Using our common sense and
一般提供更多的同情心而不是真正的幫助。用我們一般的理解和
some research, most of us can figure out this failure has something to do
研究,我們大部分可以判斷這是X字體服務(wù)的失敗。
with X font server.

After having done a little more research, now I believe that this failure
做完進一步的研究之后,我現(xiàn)在相信這
may not be so serious as it looks. Please follow me by doing the steps
不像人們想象中的那么嚴重。請跟著我做下面的這些步驟,
below, in most of the cases you will get your X windows starting up again.
在大部分的案例中你將可以重新進入X windows。
Note: The following examples run on my Red Hat box. But I believe they are
注意:這些例子在我的Red Hat系統(tǒng)上。但我相信他們
general enough to be used for other distributions.
通常足夠應(yīng)用在其它發(fā)行版上。

1. Check if the X font server is running.
1、檢查X字體服務(wù)是否正在運行。

Some people like me tend to suspect it is caused by bugs in the X font
一些人像我一樣趨向于懷疑這是由X字體服務(wù)的bugs引起的,
server, but it turned out that X font server is quite robust. We can run
但它證明這X字體服務(wù)是良好的。我們可以運行
the xfs script under /etc/init.d to see if the font server is running.
這xfs格本文件夾在/etc/init.d去看是否字體服務(wù)正在運行。

[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
在一些案例,唯一失敗的原因是字體服務(wù)停止
dead. So, you need to restart font server like this:
所以,你需要重新啟動字體服務(wù)象這樣:
[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。當字體服務(wù)運行時,如果你仍然不可以運行X
server when the font server runs, it means you are having more serious
服務(wù),它意味著你擁有更嚴重的錯誤。
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的信息文件所占據(jù)滿的。
files occupying more than 2 GB. The font server dies when it cannot write
當它不可能寫進/tmp字體服務(wù)停止。
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
現(xiàn)在是時侯確保字體“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
CHARSET_ENCODING 1
COPYRIGHT Public domain font. Share and enjoy.
CAP_HEIGHT 9
X_HEIGHT 6
FONT -Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1
WEIGHT 10
RESOLUTION 103
QUAD_WIDTH 6

This is the normal output when 'fixed' is available. Here, we can see that
當“fixed”是可用的,這是通常輸出的情況,我們可以看到
'fixed' is actually an alias for the font
“fixed”實際上是字體的別名。
'-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1'. If

there is no font 'fixed', we first need to gain knowledge of the search
如果不是字體“fixed”,我們首先需要獲得更多的信息在字體的所在路徑。
path for fonts. We can use command chkfontpath to look at those paths:
我們可以運用命令chkfontpath去看那些路徑:

[root@localhost alex]# /usr/sbin/chkfontpath
Current directories in font path:
1: /usr/X11R6/lib/X11/fonts/misc:unscaled
2: /usr/X11R6/lib/X11/fonts/75dpi:unscaled
3: /usr/X11R6/lib/X11/fonts/100dpi:unscaled
4: /usr/X11R6/lib/X11/fonts/misc
5: /usr/X11R6/lib/X11/fonts/Type1
6: /usr/X11R6/lib/X11/fonts/Speedo
7: /usr/X11R6/lib/X11/fonts/CID
8: /usr/X11R6/lib/X11/fonts/75dpi
9: /usr/X11R6/lib/X11/fonts/100dpi
10: /usr/share/fonts/default/Type1
11: /usr/share/fonts/default/TrueType
12: /usr/share/fonts/ja/TrueType
13: /usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled
14: /usr/X11R6/lib/X11/fonts/latin2/100dpi
15: /usr/share/fonts/ISO8859-7/misc:unscaled
16: /usr/share/fonts/ISO8859-7/75dpi:unscaled
17: /usr/share/fonts/ISO8859-7/100dpi:unscaled
18: /usr/share/fonts/ISO8859-7/misc
19: /usr/share/fonts/ISO8859-7/Type1
20: /usr/share/fonts/ISO8859-7/75dpi
21: /usr/share/fonts/ISO8859-7/100dpi
22: /usr/share/fonts/ISO8859-9/misc:unscaled
23: /usr/share/fonts/ISO8859-9/100dpi:unscaled
24: /usr/share/fonts/ISO8859-9/misc
25: /usr/share/fonts/ISO8859-9/100dpi
26: /usr/share/fonts/KOI8-R/100dpi:unscaled
27: /usr/share/fonts/KOI8-R/100dpi
28: /usr/share/fonts/zh_CN/TrueType
29: /usr/share/fonts/zh_TW/TrueType
30: /usr/share/AbiSuite/fonts

These are the font paths on my box. It shows that xfs looks into these
這些字體路徑在我的電腦上。它顯示當它被修復的時候xfs觀察這些路徑尋找一個特殊的字體。
paths seeking a specific font when it is required. There are two types of
有兩種類型的重要文件:
important files: fonts.dir in each of these paths, and fonts.alias in some
fonts.dir在每一個路徑中,和fonts.alias在一些路徑中。
of the paths. For example, let's go to /usr/X11R6/lib/X11/fonts/100dpi,
例如,讓我們進入/usr/X11R6/lib/X11/fonts/100dpi,
and open the files. The files look like this:
和打開文件。文件象這樣:

[fonts.dir]


775
UTI___14.pcf.gz -adobe-utopia-regular-i-normal--19-140-100-100-p-104-iso10646-1
UTBI__14.pcf.gz -adobe-utopia-bold-i-normal--19-140-100-100-p-109-iso10646-1
UTI___12.pcf.gz -adobe-utopia-regular-i-normal--17-120-100-100-p-89-iso10646-1
UTI___24.pcf.gz -adobe-utopia-regular-i-normal--33-240-100-100-p-179-iso10646-1
courO08.pcf.gz -adobe-courier-medium-o-normal--11-80-100-100-m-60-iso10646-1
UTBI__12.pcf.gz -adobe-utopia-bold-i-normal--17-120-100-100-p-93-iso10646-1
...

The first line specifies the number of fonts under current directory.
這第一行詳細說明字體的數(shù)量在當前目錄。
Following lines map file names to font names.
以下幾行是字體文件的名字。

[fonts.alias]

lucidasans-bolditalic-8 -b&h-lucida-bold-i-normal-sans-11-80-100-100-p-69-iso8859-1
lucidasans-bolditalic-10 -b&h-lucida-bold-i-normal-sans-14-100-100-100-p-90-iso8859-1
lucidasans-bolditalic-12 -b&h-lucida-bold-i-normal-sans-17-120-100-100-p-108-iso8859-1
lucidasans-bolditalic-14 -b&h-lucida-bold-i-normal-sans-20-140-100-100-p-127-iso8859-1
lucidasans-bolditalic-18 -b&h-lucida-bold-i-normal-sans-25-180-100-100-p-159-iso8859-1
lucidasans-bolditalic-24 -b&h-lucida-bold-i-normal-sans-34-240-100-100-p-215-iso8859-1
...

This file maps font alias to font names. So it is clear that once font
這個文件顯示字體文件的別名與原名。因此清楚知道從前字體的“fixed”是需要的,
'fixed' is needed, the font server search fonts.alias in each font path
字體服務(wù)在比賽中尋找字體別名在每一字體路徑中。
for a match. If the match exists, the corresponding font file is specified
如果比賽是存在,那相應(yīng)的字體文件是指定在fonts.dir。
in fonts.dir. If no match exists, which is a rare situation, the X server
如果比賽不存在,那是非常罕見的情形,字體服務(wù)不可以運行我們需要重建字體列表。
cannot start and we need to rebuild the font lists. The rebuilding process
這重建的過程
will generate new fonts.dir and fonts.alias files.
將會產(chǎn)生新的fonts.dir和fonts.alias文件。

3. Rebuild font list.
重建字體列表。

Font list can be rebuilt using the script file xfs under /etc/init.d.
運用格本文件xfs在/etc/init.d下,字體列表可以被重建
Following is an excerpt of the script:
以下是格本文件的摘錄:

...
buildfontlist() {
pushd . &> /dev/null
for d in $(/usr/sbin/chkfontpath --list | cut -f 2 -d ':') ;do
if [ -d "$d" ]; then
cd $d
# Check if we need to rerun mkfontdir
NEEDED=no
if ! [ -e fonts.dir ]; then
NEEDED=yes
elif [ "$(find . -type f -cnewer fonts.dir 2>/dev/null)" != "" ];then
NEEDED=yes
fi
if [ "$NEEDED" = "yes" ]; then
...
}
...
start() {
if [ -L /usr/X11R6/bin/X ]; then
echo -n $"Starting $prog: "
[ -x /usr/sbin/chkfontpath ] && buildfontlist
rm -fr /tmp/.font-unix
daemon xfs -droppriv -daemon
ret=$?
[ $ret -eq 0 ] && touch /var/lock/subsys/xfs
echo
return $ret
fi
}
...

For readers not familiar with shell programming, this excerpt means that
因為讀者不熟悉運行命令程序,這格本文件的意思是每次xfs格本在運行,
each time xfs script is run, it will check whether there is a fonts.dir
它將會檢查是否有fonts.dir在列表中的每一個字本路徑中。
file in each listed font path. If fonts.dir is missing in a path, font
當fonts.dir在路徑中消失,字體列表需要重建。
list needs to be rebuilt. If a fonts.dir does exist for each path, it will
如果fonts.dir不存在于每一路徑中,它將會
check if the status of any file in the font directory is changed after the
檢查是否所有文件在字體目錄是被改變在fonts.dir最后一次改變。
last change of fonts.dir. If this is true, the font list also needs to be
如果這是真實的,字體列表也需要被重建。
rebuilt.

For newbies not interested in learning shell programming, we play a small
作為網(wǎng)絡(luò)新手是對學習命令不感興趣的,我們玩一個小竅門在子程序buildfontlist()。
trick in the subroutine buildfontlist(). We can set "NEEDED=yes" in the
我們可以設(shè)置"NEEDED=yes" 在第一情況下強制重建字體列表。
first instance to force the rebuilding of font list.

4. Fonts really missing?
字體確實不見了?

If all steps above fail. My last suggestion is to check if the font file
如果以上所有的步驟都失敗了。我的最后一個意見書是檢查是否字體文件
is really removed by some processes. Then you need to reinstall the font.
真正地被一些程序刪去。然后你們需要重新設(shè)置字體.'

標簽:透傳 臨汾 淄博 江蘇 延安 張掖 和田 甘孜

巨人網(wǎng)絡(luò)通訊聲明:本文標題《startx啟動圖形界面失敗的幾個解決方法》,本文關(guān)鍵詞  startx,啟動,圖形,界面,失,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《startx啟動圖形界面失敗的幾個解決方法》相關(guān)的同類信息!
  • 本頁收集關(guān)于startx啟動圖形界面失敗的幾個解決方法的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av
    日韩视频在线观看一区二区| 国产精品国产三级国产| 亚洲精品在线观看视频| 青青草原综合久久大伊人精品优势| 在线精品国精品国产尤物884a | 麻豆一区二区99久久久久| 在线综合亚洲欧美在线视频| 激情综合色播五月| 中文字幕免费在线观看视频一区| eeuss鲁一区二区三区| 亚洲日本护士毛茸茸| 日本韩国一区二区| 日韩**一区毛片| 欧美精品一区二区在线观看| 在线视频综合导航| 一区二区三区.www| 日韩欧美一二三区| 99在线精品观看| 首页欧美精品中文字幕| 欧美精品一区二区三区四区| 成人禁用看黄a在线| 天天色综合天天| 国产精品网曝门| 欧美三级日韩三级| 激情综合色综合久久综合| 自拍偷拍欧美精品| 日韩一区二区三区视频| 成人avav在线| 免费高清在线一区| 亚洲欧美激情在线| 久久久噜噜噜久噜久久综合| 在线看一区二区| 国产精品99久| 日韩—二三区免费观看av| 国产精品久久久久久久岛一牛影视 | 中文字幕中文乱码欧美一区二区 | 欧美人妖巨大在线| 成人性生交大片免费看视频在线| 午夜久久久久久久久| 国产精品美女一区二区三区| 日韩精品一区二区三区老鸭窝| 99精品欧美一区二区三区小说| 免费欧美在线视频| 亚洲图片欧美一区| 亚洲人成网站色在线观看| 久久伊人中文字幕| 日韩免费观看2025年上映的电影 | 日韩一级欧美一级| 欧美少妇xxx| 色吧成人激情小说| 97久久精品人人澡人人爽| 粉嫩蜜臀av国产精品网站| 久久av中文字幕片| 久久99久久精品欧美| 欧美a级理论片| 日本欧美韩国一区三区| 首页综合国产亚洲丝袜| 亚洲国产日韩综合久久精品| 亚洲一区欧美一区| 亚洲va国产天堂va久久en| 一区二区三区四区国产精品| 婷婷亚洲久悠悠色悠在线播放| 国产欧美精品国产国产专区| 久久这里都是精品| 久久精品一区蜜桃臀影院| 欧美α欧美αv大片| 欧美不卡一区二区三区四区| 日韩欧美一区二区在线视频| 91精品国产91久久综合桃花| 91精品国产乱码久久蜜臀| 日韩欧美久久一区| 久久人人超碰精品| 中文一区在线播放 | 久久久久国产一区二区三区四区 | 国产剧情一区在线| 国产精品一级二级三级| 国产成人精品免费网站| 99国产精品久| 欧美精品黑人性xxxx| 精品蜜桃在线看| 欧美国产激情二区三区| 日韩理论片一区二区| 天天亚洲美女在线视频| 久久 天天综合| 成人午夜精品在线| 欧美午夜精品久久久久久超碰| 555夜色666亚洲国产免| 国产欧美一区二区精品久导航| 国产精品国产三级国产aⅴ无密码| 亚洲永久免费av| 久久国产婷婷国产香蕉| 99这里都是精品| 欧美一区二区三区四区久久| 国产欧美精品在线观看| 日韩精品成人一区二区三区 | 欧美性色aⅴ视频一区日韩精品| 7777精品伊人久久久大香线蕉完整版 | 国产做a爰片久久毛片| 成人免费毛片app| 在线电影院国产精品| 国产欧美1区2区3区| 亚欧色一区w666天堂| 国产成人8x视频一区二区| 欧美狂野另类xxxxoooo| 国产精品免费aⅴ片在线观看| 午夜精品免费在线| 国产成人aaa| 欧美岛国在线观看| 亚洲图片欧美色图| 成人av电影观看| 久久久一区二区三区捆绑**| 偷偷要91色婷婷| 在线视频欧美区| 中文字幕亚洲在| 国产夫妻精品视频| 国产无人区一区二区三区| 亚洲国产欧美日韩另类综合 | 欧美另类一区二区三区| 国产精品久久综合| 狠狠色综合日日| 日韩欧美一级特黄在线播放| 午夜成人在线视频| 在线观看国产精品网站| 日韩理论电影院| 99vv1com这只有精品| 欧美经典一区二区| 国产麻豆日韩欧美久久| 欧美成人女星排名| 美腿丝袜在线亚洲一区| 制服丝袜日韩国产| 蜜臀久久99精品久久久画质超高清| 91福利在线播放| 亚洲一区二区精品久久av| 色狠狠桃花综合| 一区二区欧美视频| 欧美日韩精品系列| 天天色天天操综合| 欧美一区二区在线观看| 日韩电影在线观看一区| 91精品国产免费久久综合| 看国产成人h片视频| 日韩三级免费观看| 激情久久五月天| 欧美高清在线精品一区| 成人福利视频网站| 一区二区在线免费观看| 欧美日韩专区在线| 老司机免费视频一区二区| 久久久久久久久免费| youjizz国产精品| 亚洲午夜电影在线| 欧美成人aa大片| av高清久久久| 五月婷婷综合网| 久久综合九色综合97_久久久 | 韩日精品视频一区| 国产欧美一区二区精品婷婷| 成人免费毛片嘿嘿连载视频| 亚洲精品成人天堂一二三| 欧美电影一区二区| 国产69精品久久777的优势| 国产精品免费丝袜| 91精品午夜视频| 国产成人在线视频播放| 亚洲成av人片观看| 国产视频一区二区在线| 91久久人澡人人添人人爽欧美 | 成人av在线观| 一区二区三区四区在线免费观看| 欧美日韩在线电影| 国产另类ts人妖一区二区| 一区二区三区成人| 国产亚洲欧洲一区高清在线观看| 色视频欧美一区二区三区| 久久se这里有精品| 亚洲国产精品麻豆| 国产亚洲污的网站| 5月丁香婷婷综合| 99视频一区二区| 国产成人精品影视| 日本最新不卡在线| 中文字幕在线一区| 精品福利一区二区三区免费视频| 一本色道久久综合亚洲精品按摩| 麻豆一区二区在线| 亚洲mv在线观看| 国产精品萝li| 亚洲精品一区在线观看| 欧美日韩不卡在线| 91麻豆精品视频| 懂色av一区二区三区免费看| 日韩精品国产欧美| 亚洲国产精品一区二区久久| 中文字幕一区二区三| 国产日韩精品一区| www久久久久| 精品国产网站在线观看| 日韩一区二区三| 欧美肥妇bbw| 制服丝袜成人动漫|