startx後沒有進入xwindows的問題(xfs沒有啟動導致的出錯資訊)

來源:互聯網
上載者:User
為啦這不怎麼第的機子效率高些,前些天偶把能關的服務都關啦包含進入案頭系統用的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檔案,分別對應中文和英文
......

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.