歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Fedora 14 不能進入圖形界面 顯示黑屏的解決辦法

Fedora 14 不能進入圖形界面 顯示黑屏的解決辦法

日期:2017/2/28 16:18:53   编辑:Linux教程

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

Copyright © Linux教程網 All Rights Reserved