linux在图形界面打不开文件,linux无法启动图形界面

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"

Identifier "Synaptics"

Driver      "synaptics"

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

Option        "Protocol" "auto-dev"

Option        "Emulate3Buttons" "yes"

EndSection

Section "Device"

Identifier "Videocard0"

Driver      "via"

EndSection

Section "Screen"

Identifier "Screen0"

Device     "Videocard0"

DefaultDepth     24

SubSection "Display"

Viewport   0 0

Depth     24

EndSubSection

EndSection

修改driver对应的值为 vesa

Section "Device"

Identifier "Videocard0"

Driver      "vesa"

EndSection

重新启动计算机

这样可以保持 800*600的分辨率。然后在按照上篇文章的方法,安装驱动。

祝你好运!

作者:tshfang

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值