热门标签 | HotTags
当前位置:  开发笔记 > 开发工具 > 正文

Fedora14不能进入图形界面显示黑屏的解决办法

Fedora14安装后,不能显示图形界面,跟同事ly折腾了好久,解决办法如下:(1)首先进入系统后,进入文本输入模式,a+init3;(2)终端进入系统后,root用户运行Xorg–configure:1,生成xorg.conf.new文件;(3)运行Xorg–configxorg.conf.new–retro进行测试;ctr+alt+backspace退出测试;(

Fedora 14安装后,不能显示图形界面,跟同事ly折腾了好久,解决办法如下:

(1)首先进入系统后,进入文本输入模式,a +init3;

(2)终端进入系统后,root用户运行Xorg –configure :1,生成xorg.conf.new文件;

(3)运行Xorg –config xorg.conf.new –retro进行测试;ctr+alt+backspace退出测试;

(4)Cp xorg.conf.new /etc/X11/xorg.conf

(5) Cd 到xorg.conf目录下,vim xorg.conf 修改里面的内容如下:

Section “Monitor0”

       Identifier  “Monitor0”

       VendorName “Monitor Vendor”

       ModelName  “Monitor Model”

       HorizSync    30-107

       VertRefresh   48-120

EndSection

设置分辨率和色彩深度

Section “screen”

       Identifier  “Screen0”

       Device  “Card0”

       ModelName  “Monitor0”

       Default Depth    24

       SubSection   “Display”

                            ViewPort  0 0

                            Depth    24

                            Modes     “1024*768”

          EndSubSection

EndSection

修改主板网卡驱动如下:将原来的驱动intel换成vesa

       Driver      "vesa"

(5)reboot 就能进入系统了。

附:修改过的xorg.conf文件

Section "ServerLayout"

       Identifier     "X.org Configured"

       Screen      0  "Screen0" 0 0

       InputDevice    "Mouse0" "CorePointer"

       InputDevice    "Keyboard0" "CoreKeyboard"

EndSection

 

Section "Files"

       ModulePath   "/usr/lib/xorg/modules"

       FontPath     "catalogue:/etc/X11/fontpath.d"

       FontPath     "built-ins"

EndSection

 

Section "Module"

       Load  "dbe"

       Load  "extmod"

       Load  "dri"

       Load  "dri2"

       Load  "glx"

       Load  "record"

EndSection

 

Section "InputDevice"

       Identifier  "Keyboard0"

       Driver      "kbd"

EndSection

 

Section "InputDevice"

       Identifier  "Mouse0"

       Driver      "mouse"

       Option         "Protocol" "auto"

       Option         "Device" "/dev/input/mice"

       Option         "ZAxisMapping" "4 5 6 7"

EndSection

 

Section "Monitor"

       Identifier   "Monitor0"

       VendorName   "Monitor Vendor"

       ModelName    "Monitor Model"

       HorizSync    30-107

       VertRefresh  48-120

EndSection

 

Section "Device"

        ### Available Driver options are:-

        ### Values: : integer, : float, : "True"/"False",

        ### : "String", : " Hz/kHz/MHz",

        ### : "%"

        ### [arg]: arg optional

        #Option     "NoAccel"                   # []

        #Option     "SWcursor"                  # []

        #Option     "ColorKey"           #

        #Option     "CacheLines"         #

        #Option     "Dac6Bit"            # []

        #Option     "DRI"                      # []

        #Option     "NoDDC"                  # []

        #Option     "ShowCache"                # []

        #Option     "XvMCSurfaces"             #

        #Option     "PageFlip"             # []

       Identifier  "Card0"

       Driver      "vesa"

       BusID       "PCI:0:2:0"

EndSection

 

Section "Screen"

       Identifier "Screen0"

       Device     "Card0"

       Monitor    "Monitor0"

       DefaultDepth     24

       SubSection "Display"

              Viewport   0 0

              Depth     24

              Modes     "1024*768"

       EndSubSection

EndSection


推荐阅读
author-avatar
百变精灵99
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有