我的UBUNTU 8.04进不了XWINDOWS了,原因就是我配置系统字体之后可能由于xorg.conf出现问题了(由于我还是菜鸟,并不是很确定)。已经在论坛和其它地方找了三四天的答案了,也试了网上提供的诸如dpkg-reconfigrue xserver-xorg之类的答案,结果却是一点进展都没有,还是一样错误。
刚开始时是还可以进到Xwindows,只是需要手动输入startx,后来又不知道卸载了什么东西,导致现在完全不能进入xwindows了。
现在进到控制台输入用户名和密码之后,输入statrx,出现:
(==)log file:"/var/log/xorg.0.log",time:......
(==)using config file:"/etc/x11/xorg.conf"
Device section"Configured Video Device"must have a Driver line.
(EE)Problem parsing the config file.
(EE)Error parsing the config file.
Fatal Server error:
no screens found.
giving up.
在WINDOWS XP下面进到LOG文件夹,找到xorg.0.log,其内容如下:
X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.17-6-686 i686
Current Operating System: Linux yu-GDUT 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686
Build Date: 16 March 2006
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
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.0.log", Time: Fri Jul 4 20:40:27 2008
(==) Using config file: "/etc/X11/xorg.conf"
Data incomplete in file /etc/X11/xorg.conf
Device section "Configured Video Device" must have a Driver line.
(EE) Problem parsing the config file
(EE) Error parsing the config file
Fatal server error:
no screens found
(WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
(WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
如果按照提示,说明是xorg.conf 文件当中需要有Driver line, 可是我没有备份原来的Xorg.conf文件,现在的 Xorg.conf内容如下:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "cn"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection
Section "Device"
Identifier "Configured Video Device"
Option "UseFBDev" "true"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection
那么应该如何更改这个文件使系统恢复正常呢。
我所使用的主板是技嘉P915 DUO 2.1,显卡是微星RADEON X300/X500 series。
还望能得到大侠们的指点,先谢谢了。
[问题]我的UBUNTU 8.04出现no screens found了怎么办?
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 10
- 注册时间: 2007-12-13 20:54
- 来自: 广州大学城
- cnkilior
- 论坛版主
- 帖子: 4984
- 注册时间: 2007-08-05 17:40
-
- 帖子: 10
- 注册时间: 2007-12-13 20:54
- 来自: 广州大学城
嗯,首先谢谢您的帮助。cnkilior 写了:建议:用live-cd的xorg.conf替换掉现有的xorg.conf
--------------
如果你没有删掉一些和x有关的包应该live-cd能进x的配置硬盘启动也应该能!
----------
不保证一定成功!
-------
呵呵!
能向你请教一下,live-cd的xorg.conf这个文件是哪个,我使用的是DVD版本,没有搜到这个文件。
第二次卸载的时候应该错卸载了一些与X有关的文件才导致进不了Xwindows的。现在就是不知道该如何重新安装 xwindows,
一般上UBUNTU不需要全部重新安装的,要全部重装代价稍微重了点。可是我现在还没有自己搞定的能力,如果真找不到解决方法的话考虑要全新安装一次了。汗,虽然我是很讨厌重装系统的。
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
-
- 帖子: 10
- 注册时间: 2007-12-13 20:54
- 来自: 广州大学城
- norx
- 帖子: 47
- 注册时间: 2008-10-30 3:20
Re: [问题]我的UBUNTU 8.04出现no screens found了怎么办?
我的问题和你一模一样,也是因为改字体时的误操作,也是出现无法进入xwindows的情况。
我改字体时参看的文章是 - http://hi.baidu.com/netfish_bd/blog/ite ... c9a63.html (这篇害人的文章!!!)
根据这篇文章的方法,我仅在xorg.conf最后加了一句
应用后系统字体无法正常显示,注销后出现进不了xwindows的情况。为此,我在shell下把xcon.cof中的那句加进去的话给删了,再次执行
使“xorg.conf”文件生效,却依然无法进入xwindows.........
请问你解决了这个问题了没有? 怎么解决的?[/size]
我改字体时参看的文章是 - http://hi.baidu.com/netfish_bd/blog/ite ... c9a63.html (这篇害人的文章!!!)
根据这篇文章的方法,我仅在xorg.conf最后加了一句
代码: 全选
FontPath "/usr/share/fonts/truetype/msfonts"
代码: 全选
sudo dpkg-reconfigure fontconfig
请问你解决了这个问题了没有? 怎么解决的?[/size]
上次由 norx 在 2008-10-30 16:17,总共编辑 3 次。
思辨 - 进取 - 乐观
-
- 帖子: 146
- 注册时间: 2008-10-27 9:38
Re: [问题]我的UBUNTU 8.04出现no screens found了怎么办?
似乎可以在启动菜单选recovery的那项,然后尝试修复xwindows
- norx
- 帖子: 47
- 注册时间: 2008-10-30 3:20
Re: [问题]我的UBUNTU 8.04出现no screens found了怎么办?
“尝试修复”?也就是说如何修复?More clearly. OK?LuciferStar 写了:似乎可以在启动菜单选recovery的那项,然后尝试修复xwindows
思辨 - 进取 - 乐观
-
- 帖子: 10
- 注册时间: 2007-12-13 20:54
- 来自: 广州大学城
Re: [问题]我的UBUNTU 8.04出现no screens found了怎么办?

重新安装后的文件和发生故障的配置文件没有差别,因此估计问题还不只出现在这个配置文件上面。对不起了,这方面没有经验可以帮上你的忙,虽然我知道没有建设性的帮助意见是件很痛苦的事情,但也正因为痛苦并快乐着,一直爱着我们的UBUNTU。PS,有共的时候我再整整8.10版的去,呵呵。
如若你发现了有什么好的解决方法,欢迎提出来共享,方便下次遇到类似问题时不至于又以重装收场。
norx 写了:我的问题和你一模一样,也是因为改字体时的误操作,也是出现无法进入xwindows的情况。
我改字体时参看的文章是 - http://hi.baidu.com/netfish_bd/blog/ite ... c9a63.html (这篇害人的文章!!!)
根据这篇文章的方法,我仅在xorg.conf最后加了一句应用后系统字体无法正常显示,注销后出现进不了xwindows的情况。为此,我在shell下把xcon.cof中的那句加进去的话给删了,再次执行代码: 全选
FontPath "/usr/share/fonts/truetype/msfonts"
使“xorg.conf”文件生效,却依然无法进入xwindows.........代码: 全选
sudo dpkg-reconfigure fontconfig
请问你解决了这个问题了没有? 怎么解决的?[/size]