Chinaunix首页 | 论坛 | 博客
  • 博客访问: 566682
  • 博文数量: 52
  • 博客积分: 2673
  • 博客等级: 少校
  • 技术积分: 1432
  • 用 户 组: 普通用户
  • 注册时间: 2006-05-24 09:55
文章分类

全部博文(52)

文章存档

2011年(2)

2010年(20)

2009年(14)

2008年(16)

分类: LINUX

2008-07-10 11:51:52

   今天在dell的一台机器上安装了centos 5.1,启动后进入不了图形界面,在网上找到下面的文档,如果您也遇到相同的问题,希望能帮助您!同时也感谢文章的原创作者。
 
 
 
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
来源: 泥胚文章写作 原文地址:

阅读(4857) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~