LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 773|回复: 2

成功解决“OUT OF RANGE”

[复制链接]
发表于 2010-8-15 10:19:41 | 显示全部楼层 |阅读模式
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 "rotocol" "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爱好者。
发表于 2010-8-15 10:32:22 | 显示全部楼层
很好很强大  ,,
回复 支持 反对

使用道具 举报

发表于 2010-8-15 15:05:05 | 显示全部楼层
很基础的问题了,不过鼓励独立思考。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表