分页: 1 / 1
紧急求助:启动进不去X
发表于 : 2005-09-11 16:00
由 forcedsmile
x不能启动,说:
(==)using config file"/etc/x11/xorg.conf"
Parse error on line 49 of section module in file /etc/x11/xorg.conf
"section" is not a valid keyword in this section
(EE) Problem parsing the config file
(EE) Error parsing the config file
Fatal server error
no screens found
XIO :fatal IO error 104(connection reset by peer) on x server ":0.0)
after 0 requests (0 known processed) with 0 events remaining.
我猜想是那个 config文件错误导致的但是不知道怎么修复。
btw,我不会用任何命令,所以指点者请详细说明.
我用vi,但是乱码.
Re: 紧急求助:启动进不去X
发表于 : 2005-09-11 16:09
由 leal
forcedsmile 写了:x不能启动,说:
(==)using config file"/etc/x11/xorg.conf"
Parse error on line 49 of section module in file /etc/x11/xorg.conf
"section" is not a valid keyword in this section
(EE) Problem parsing the config file
(EE) Error parsing the config file
Fatal server error
no screens found
XIO :fatal IO error 104(connection reset by peer) on x server ":0.0)
after 0 requests (0 known processed) with 0 events remaining.
我猜想是那个 config文件错误导致的但是不知道怎么修复。
btw,我不会用任何命令,所以指点者请详细说明.
我用vi,但是乱码.
把xorg.conf帖出来看看
发表于 : 2005-09-11 16:13
由 forcedsmile
问题是,我不知道怎么打开config啊,要是知道,我就把那行删掉了。
发表于 : 2005-09-11 16:30
由 oneleaf
sudo vim /etc/x11/xorg.conf
sudo nano /etc/x11/xorg.conf
发表于 : 2005-09-11 16:30
由 yongyi
vi 乱码?那文件好像是E文来的哦。
试试 nano
叶兄的应该是X11
发表于 : 2005-09-11 16:35
由 forcedsmile
出现的是一大堆空白:(
全是波浪符号
发表于 : 2005-09-11 16:38
由 shadowclover
lz没找对文件位置……
应该是 sudo vi /etc/X11/xorg.conf,打开后里面应该有不少文字的。
发表于 : 2005-09-11 17:01
由 forcedsmile
感谢大家的帮助 ,现在问题已经解决。
1 用sudo nano /etc/x11/xorg.conf可以打开文件并进行编辑。
2 用VI M出现的是一大堆~,就是看不到文字。
我不知道原因。
现在把出问题的部分写下来,以供别人参考。
上午我在论坛上《文档指南》中发现一篇文章:指南 - 在Hoary中设置你的窗口,让它更加漂亮
其中有这样一段话
Now, the next thing you have to do is actually enable compositing. This is done via a simple edit of your /etc/X11/xorg.conf
现在,你要做的就是设置允许混合,这只要简单的编辑你的/etc/X11/xorg.conf
代码:
代码:
sudo gedit /etc/X11/xorg.conf
Add the following section after the "module" section:
在"module"章节后添加下列章节
代码:
代码:
Section "Extensions" Option "Composite" "Enable" EndSection
This tells xorg to enable compositing. Now, just so you know, unless you have a good video card, compositing most likely slow down xorg. Apparantly nvidia cards fare better than ati cards, since you can enable acceleration (which we'll do later) which'll actually make x use your video card for rendering.
这是告诉xorg允许混合。现在你要知道混合大多数情况下可能会减慢xorg,除非你有一个好的显卡。装备nvidia显卡要比ati显卡感觉要好,因为你可以设置加速(后面就要设置)这可以使得X使用显卡来渲染。
我根据这段话修改了/etc/X11/xorg.conf
结果导致X不能启动。
结论:象我们这样的菜鸟(不会程序,不懂系统,电脑只是用来文字处理工作和娱乐),还是要小心修改程序里的文件。按照新手指南里去做比较保险 。
再次感谢以上各位的帮助 。
发表于 : 2005-09-11 17:15
由 shadowclover
呵呵,赞同lz的观点。
电脑能用就好,没事的话最好少折腾,这玩意儿是拿来用的,除了专业人士外,没必要过于深入研究。
发表于 : 2005-09-11 20:06
由 leal
forcedsmile 写了:感谢大家的帮助 ,现在问题已经解决。
1 用sudo nano /etc/x11/xorg.conf可以打开文件并进行编辑。
2 用VI M出现的是一大堆~,就是看不到文字。
……
我根据这段话修改了/etc/X11/xorg.conf
结果导致X不能启动。
结论:象我们这样的菜鸟(不会程序,不懂系统,电脑只是用来文字处理工作和娱乐),还是要小心修改程序里的文件。按照新手指南里去做比较保险 。
再次感谢以上各位的帮助 。
不要怕出问题,经验都是从修修改改中积累起来的。改配置文件就更不用担心了,修改之前先cp need-backup-conf need-backup-conf_back做个备份,出了问题最直接的方法就是cp回去喽