1、问题:
安装完成debian后,重启后,屏幕显示“OUT OF RANGE”,系统只能在文本下使用。
2、解决的思路:
在一台成功运行ubuntu的电脑上,文件xorg.conf总会对debian有帮助,因此,移植是可能的。
本文之提供在1024x768@60的解决办法。
3、准备工作:
打印ubuntu的xorg.conf文件,用于对照修改debian;
4、操作步骤:
a、ctrl+alt+f1,进入tty1
b、以root登录,cd /etc/X11,
c、vi xorg.conf,对照打印的ubuntu的xorg.conf文件,修改。
d、将(Modes "1024x768")写入Section "Screen"部分,这是最重要的操作!确保系统进入图形界面。
5、下面是最终的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 "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
EndSection
Section "Device"
Identifier "Device0"
EndSection
Section "Monitor"
Identifier "Monitor0"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Screen"
Identifier "Screen0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
6、对比ubuntu的xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder75) Thu Apr 22 11:44:23 PDT 2010
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
7、结论:
出现“OUT OF RANGE”,论坛给出的办法几乎没有!诸如换显示器、安装驱动,完全无效!
本办法是作者独立思考、亲自操作成功,提供给debian爱好者。
成功解决“OUT OF RANGE”
-
- 帖子: 86
- 注册时间: 2007-03-01 11:44
- 枫叶饭团
- 帖子: 14683
- 注册时间: 2010-06-16 1:05
- 系统: Mac OS X
- 来自: Tencent
- 联系:
- cpu太雷
- 帖子: 85
- 注册时间: 2010-07-25 14:00