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

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: <i>: integer, <f>: float, <bool>: "True"/"False",

        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",

        ### <percent>: "<f>%"

        ### [arg]: arg optional

        #Option     "NoAccel"                   # [<bool>]

        #Option     "SWcursor"                  # [<bool>]

        #Option     "ColorKey"           # <i>

        #Option     "CacheLines"         # <i>

        #Option     "Dac6Bit"            # [<bool>]

        #Option     "DRI"                      # [<bool>]

        #Option     "NoDDC"                  # [<bool>]

        #Option     "ShowCache"                # [<bool>]

        #Option     "XvMCSurfaces"             # <i>

        #Option     "PageFlip"             # [<bool>]

       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

相关推荐