How to force Ubuntu to re-detect and re-configure Graphics chipset?

Posted on 2007-10-19
Last Modified: 2013-12-16
Using Ubuntu 7.10 and got a malfunctioning graphics support after messing around with the configuration. How do I cause Ubuntu to re-detect the graphics hardware and re-install the same drivers it had installed during the operating system installation, which worked fine?
Question by:gsaito
    LVL 20

    Expert Comment

    To invoke initial X server configuration on Ubuntu ( and all other Debian based Linux distribution ) just issue command:

    sudo dpkg-reconfigure xserver-xorg

    good luck

    Author Comment

    Thanks again nedvis. I have run this command but it didn't solve the problem. It restored my integrated graphics chipset so that I can run X/Gnome, but still I can't enable desktop effects. That is weird because when I originally installed Ubuntu 7.10 with my Intel graphics adapter switched on, it worked perfectly.
    LVL 20

    Accepted Solution

    OK, I know all those problems Ubuntu is having with display setting ( BTW, that's the reason I don't use Ubuntu ) .
    You may try booting your laptop from Ubuntu Live CD and in case  display setting is correct (including 3D effects) then you can just copy /etc/X11/xorg.conf  file from Live-CD session to your hard-disk and you're done !
    While it's still not too late , you might wish to reinstall Linux as well.

    Author Comment

    I'm puzzled. I booted from the install CD, which works great right out of the box, recognized my Intel graphics adapter with compiz. Then I copied the entire /etc/X11 directory to my hard disk partition.

    When I booted from the hard disk, Ubuntu loaded the graphics environment OK, but compiz  (ie, "desktop effects") still don' t work...

    I think I will have to reinstall.. That's so frustrating...
    LVL 20

    Expert Comment

    As someone posted at
    "Ubuntu gets Sid from Debian - Debian gets Users from Ubuntu."
     Ubuntu ( not only 7.10 ) is already known by their poor xorg  detection/configuration
     and I agree it is very frustrating , especially since it's worldwide popularity which might
     shade bad light on entire Linux OS.
    As for learning Linux (what is your primary goal as a computer hobbyst / enthusiast )
    you might be better of having your hands on Debian Etch or , also Debian based Linux
    distribution Sidux .
    Ubuntu really is user friendly but the level of making it running in "stealth" mode ( no root account allowed for example as well as other Ubuntu specific tweaks ) is gone too far ,
    by my honest opinion, so you'll have to relearn everything next time you switch to other (more standard, more generic) Linux distribution such as Debian, Slackware, Fedora and that's
    why I dislike it.

    LVL 1

    Expert Comment

    Forced accept.

    EE Admin

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
    1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now