Ubuntu启动时候黑屏的解决

 单位的电脑是集成显卡的,以前没有碰到这样的情况,装好ubuntu 后,装ati的驱动,可一重启就整一个黑屏 系统 已经启动 好了,可就是看不到x界面。。。

       在网上查了一堆攻略,失败了无数次后总算成功了,现在把偶的血泪过程总结下:

       1、安装完ubuntu后,直接安装:系统--》系统管理 --》硬件驱动,选择ubuntu列出的ati驱动安装,然后重启

        2、如果能正常启动那是最好,如果黑屏了,则ctrl+alt+f1进入shell 界面,然后打开/etc/X11/xconf.org这个文件 ,对着下面的提示进行修改:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Monitor"
    Identifier    "Configured Monitor"
    HorizSync    31-101           #频率范围
    VertRefresh    50-60           #刷新
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Monitor        "Configured Monitor"
    Device        "Configured Video Device"
    DefaultDepth    24
    SubSection    "Display"
        Depth    24
        Modes    "1440x900"   #分辨率
    EndSubSection
EndSection

Section "Module"
    Load    "glx"
EndSection

Section "Device"
    Identifier    "Configured Video Device"
    Driver    "fglrx"
EndSection
然后重启应该就ok了~~
如果出现xconf解析错误之类的提示,那就说明添加的时候语法不对~~,变量和值之间都是tab要注意了~~

你可能感兴趣的:(Linux)