centos 5 和fedora安装完成以后,不能进入x图形界面,界面是黑屏。显卡是via集成显卡。
重启电脑进入grub,然后键入e,再 键入e,在最后输入空格 和1,回车,按b以单用户启动linux。
进入命令行,可以输入system-config-display修改显卡 改成vesa.
或者进入/etc/x11下通过vi编辑器编辑xorg.conf文件。
下面是该文件。
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics" "CorePointer"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice" <
重启电脑进入grub,然后键入e,再 键入e,在最后输入空格 和1,回车,按b以单用户启动linux。
进入命令行,可以输入system-config-display修改显卡 改成vesa.
或者进入/etc/x11下通过vi编辑器编辑xorg.conf文件。
下面是该文件。
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics" "CorePointer"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice" <