为啦这不怎么第的机子效率高些,前些天偶把能关的服务都关啦包含进入桌面系统用的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以后就执行这个啦)
============startx==========
#!/bin/bash
sh en2zh.sh
#en2zh.sh是我设置/etc/sysconfig/i18n的脚本指令
/etc/init.d/xfs start
startx -- :$1 1>startx.info 2>startx.error &
#usage startx 参数[0-n]
======= en2zh.sh===========
cp -f /home/clin003/i18n/zh_CN.UTF-8 /etc/sysconfig/i18n
#我的用户文件目录下i18n中有两个(en_US zh_CN.UTF-8)我修改好的i18n文件,分别对应中文和英文
......