linux fedora14 安装后,重启不能进入图形界面,显示黑屏的解决办法

fedora14安装后,不能显示图形界面,跟同事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

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值