Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: How to repair xorg without reinstalling ubuntu?

  1. #1
    Join Date
    Nov 2007
    Location
    Australia
    Beans
    70
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    How to repair xorg without reinstalling ubuntu?

    I am running Jaunty 64bit (Thinkpad T500 with GMA 4500 integrated intel grpahics) which I installed during the testing period last year. Since then something happened to my intel xorg drivers and, basically, they don't work (garbled screen, regardless of xorg.conf settings) and I am stuck using the vesa drivers. Everything works from a live usb, including 3d acceleration, but I don't want to have to reinstall!

    How can I perform a complete reconfiguration of xorg so that it completely resets its files and drivers to default? Which packages must I remove/reinstall to achieve this?

    Thanks very much in advance.

  2. #2
    Join Date
    Mar 2008
    Location
    Cloud 9
    Beans
    1,428
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: How to repair xorg without reinstalling ubuntu?

    I'm not versed in xorg files but you can boot in recovery mode and the last option in the list of tasks is xfix. It's saved me a couple of times.

  3. #3
    Join Date
    Nov 2007
    Location
    Australia
    Beans
    70
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: How to repair xorg without reinstalling ubuntu?

    I just tried that, however it appears to only repair xorg.conf. In any case, no joy. I think somewhere I have a corrupted or incompatible package that is causing problems - hence why I think I need to reinstall xorg and its drivers.

  4. #4
    Join Date
    Feb 2008
    Location
    Phoenix, Arizona
    Beans
    850
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to repair xorg without reinstalling ubuntu?

    remove:
    Code:
    sudo apt-get remove xserver-xorg
    install:
    Code:
    sudo apt-get install xserver-xorg
    reconfigure:
    Code:
    sudo dpkg-reconfigure xserver-xorg
    If variety is the spice of life, monotony must therefore be the kiss of death.

  5. #5
    Join Date
    Nov 2007
    Location
    Australia
    Beans
    70
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: How to repair xorg without reinstalling ubuntu?

    Thankyou pbpersson,

    I just performed those commands. It went along smoothly and xorg was reinstalled, etc.

    Unfortunately, it has not fixed my problem. I cannot figure out where the issue is now. I would have thought that all of the video related packages and configuration options are reinstalled with those commands, but the video still crashes on trying the intel drivers instead of vesa.

    Perhaps I will have to reinstall the entire OS after all?

  6. #6
    Join Date
    Feb 2008
    Location
    Phoenix, Arizona
    Beans
    850
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to repair xorg without reinstalling ubuntu?

    Quote Originally Posted by Grey Box View Post
    Everything works from a live usb, including 3d acceleration, but I don't want to have to reinstall!
    What is different on the live USB? How is it setup? How does xorg.conf appear? What driver version is used? Are there other configuration settings outside of xorg.conf?
    If variety is the spice of life, monotony must therefore be the kiss of death.

  7. #7
    Join Date
    Nov 2007
    Location
    Australia
    Beans
    70
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: How to repair xorg without reinstalling ubuntu?

    The live USB is the generic [actually, amd64] 9.04 desktop version, with no modifications. It doesn't have an xorg.conf. My hard drive install is 9.04 [amd 64] with all updates, no experimental repositories and no xorg.conf.

    My current intel-xorg drivers are 2.6.3.

    The behaviour I'm having isn't any of the known bugs with the intel drivers, but on trying to enable 3D effects, it "searchers for available drivers" then dies without a message - xorg restarts and I have to login again, with vesa drivers. I'm guessing that a config file somewhere or a library or something is broken or the wrong version, but at that point it's way beyond my abilities I think.
    Last edited by Grey Box; May 6th, 2009 at 07:31 AM.

  8. #8
    Join Date
    Feb 2008
    Location
    Phoenix, Arizona
    Beans
    850
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to repair xorg without reinstalling ubuntu?

    When you ran the "sudo dpkg-reconfigure xserver-xorg" command it was supposed to write all the settings to the xorg.conf file. I don't understand how you can be running XServer without an xorg.conf file so I am clearly no help to you. You must be running a totally different sort of setup.
    If variety is the spice of life, monotony must therefore be the kiss of death.

  9. #9
    Join Date
    Nov 2007
    Location
    Australia
    Beans
    70
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: How to repair xorg without reinstalling ubuntu?

    Quote Originally Posted by pbpersson View Post
    When you ran the "sudo dpkg-reconfigure xserver-xorg" command it was supposed to write all the settings to the xorg.conf file. I don't understand how you can be running XServer without an xorg.conf file so I am clearly no help to you. You must be running a totally different sort of setup.
    I very much appreciate your help all the same!

    With the latest xorg you can pretty much do away with the xorg.conf for many configurations, because it auto-detects on startup and adjusts to whatever display and graphics card you might have (eg: external displays and so on), depending on available drivers.

    I've probably broken something along the way without realizing it. When I have a moment I'll take a look at the log files and see if I can understand any of them.

    Either way I'll inform the thread of my outcome. Cheers.

  10. #10
    Join Date
    Mar 2008
    Location
    Cloud 9
    Beans
    1,428
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: How to repair xorg without reinstalling ubuntu?

    Quote Originally Posted by pbpersson View Post
    remove:
    Code:
    sudo apt-get remove xserver-xorg
    install:
    Code:
    sudo apt-get install xserver-xorg
    reconfigure:
    Code:
    sudo dpkg-reconfigure xserver-xorg
    Follow pbpersson's advice again, but in the first command, use
    Code:
    sudo apt-get remove --purge xserver-xorg
    The --purge will also remove your config files.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •