这是由于设置的显示分辨率或者模式不识别:
解决方法如下:
方法①:
入单用户模式:
出现grub菜单时 编辑启动项:e
第二个菜单 e 编辑 最后添加 single 或者 1 按b 启动操作系统
系统重启会进入单用户模式:
编辑 /etc/X11/xorg.conf 配置文件 (备份)
原:
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
修改为:
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
EndSection
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
EndSection
保存退出,重启系统。
方法②:
我的这个系统时RedHat AS3 有点老了哈(参考)
RedHat 7.x/8.0/9和Fedora Core 1的用户打"
redhat-config-xfree86
"。Fedora Core 2 或以后因为转用了Xorg,所以命令也变成"
system-config-display
"。(redhat-config-xfree86或system-config-display的用法基本上是差不多的。
redhat-config-xfree86
system-config-display
图形界面 修改分辨率。
进入单用户模式,修改 /etc/inittab 文件 设置默认启动级别为3
id:3:initdefault:
保存退出,重启系统。
进入系统后使用命令: redhat-config-xfree86 --reconfig
出现 调整分辨率 界面 按照 屏幕分辨率调试。
然后 可以输入init 5 切换到图形界面 测试。
可以正常出来了, 再把 /etc/inittab 默认级别改为5 图形界面
保存退出,重启系统
OK
转载于:https://blog.51cto.com/91boy/786658