从Redhat 6.0和Ubuntu 9.0以后xorg.conf这个老古董文件突然不见了,让很多DIY爱好者不知所踪,但你man xorg.conf时却
能得到xorg.conf的帮助信息,为什么呢?官方解释是:The reason for this is that the configuration to be done on user
level. OK那么就是说这件事要用户自己去做,很多高手会说这个简单用Xorg -configure这个命令就可以生成,但事,可但是那是在
TEXT界面,但大部分用户在Graphic界面,那么我们要怎么做呢?切控制台肯定是不可以的,所以我们使用init 3这个命令就可以在
Graphic mode直接切到TEXT mode,用init 5就可以切回来.恩,那么就没有障碍了,写如下script:
init 3
sleep 3
Xorg -configure
sleep 3
mv xorg.conf.new /etc/X11/xorg.conf
sleep 1
init 5
本文介绍了当xorg.conf文件消失时如何手动配置的方法。针对Redhat6.0及Ubuntu9.0之后版本,提供了使用init3切换到文本模式并通过Xorg-configure命令生成配置文件的步骤。
706

被折叠的 条评论
为什么被折叠?



