為啦這不怎麼第的機子效率高些,前些天偶把能關的服務都關啦包含進入案頭系統用的xfs服務(只開啦 xinetd,crond,atd,anacron,iiim,syslog,cpuspeed,smartd,iptables,network,autofs),第一次進入還沒怎麼習慣,每次都/etc/init.d/xfs xfs ;startx 1>startx.info 2>startx.error &
有時候不主意省啦第一步 ,.正個黑屏,沒點反應,等啦半天,還是,連alt ctrl F1~F12都不能用,ctrl alt del也不行,只好硬重起,因為每次都有xwindow的出錯資訊和啟動資訊記錄在檔案startx.error startx.info中,這不,這次又有犯啦(,想到好像是昨天吧,一個網友的startx沒進入系統,留下一串出錯資訊在螢幕上,他用的虛擬機器,幸運能看到指令執行提示資訊,)看看執行資訊有沒.@_@
startx.info 是空的,startx.error也就是執行失敗的指令的提示資訊是這樣的(我直接複製的出錯資訊):
X Window System Version 6.8.1
Release Date: 17 September 2004
X Protocol Version 11, Revision 0, Release 6.8.1
Build Operating System: Linux 2.4.21-14.ELsmp i686 [ELF]
Current Operating System: Linux clin003 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 i686
Build Date: 20 October 2004
Build Host: tweety.build.redhat.com
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.9-1.667 (bhcompile@tweety.build.redhat.com) (gcc version 3.4.
2 20041017 (Red Hat 3.4.2-6.fc3)) #1 Tue Nov 2 14:41:25 EST 2004
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Thu Dec 8 08:25:10 2005
(==) Using config file: "/etc/X11/xorg.conf"
(WW) NV(0): Failed to set up write-combining range (0xe4000000,0x2000000)
Could not init font path element unix/:7100, removing from list!
Fatal server error:
could not open default font 'fixed'
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.1.log" for additional information.
*** If unresolved symbols were reported above, they might not
*** be the reason for the server aborting.
FatalError re-entered, aborting
Caught signal 11. Server aborting
XIO: fatal IO error 104 (Connection reset by peer) on X server ":1.0"
after 0 requests (0 known processed) with 0 events remaining.
===================================
(今天我寫啦個指令碼startx.sh以後就執行這個啦)
============startx.sh==========
#!/bin/bash
#en2zh.sh是我設定/etc/sysconfig/i18n的指令碼指令
cat startx.sh
sh ./en2zh.sh |grep "" | /etc/init.d/xfs restart |grep "" |startx -- :$1 1>startx.info 2>startx.error &
#edit by clin003 2005-12-10 start ---> restart這樣為防止第一次不正確運行,造成第二次正確運行不能進xwindows@_@
#usage ./startx.s-h 參數[0-n] 主意:(chmod a+x startx.sh)
======= en2zh.sh===========-
cp -f /home/clin003/i18n/zh_CN.UTF-8 /etc/sysconfig/i18n
#我的使用者檔案目錄下i18n中有兩個(en_US zh_CN.UTF-8)我修改好的i18n檔案,分別對應中文和英文
......