[问题]我的UBUNTU 8.04出现no screens found了怎么办?
发表于 : 2008-07-04 21:17
我的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。
还望能得到大侠们的指点,先谢谢了。
刚开始时是还可以进到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。
还望能得到大侠们的指点,先谢谢了。