Ubuntu Tip:How to remove,install and reconfigure xorg without reinstalling ubuntu

The X.Org Server (officially the X.Org Foundation Open Source Public Implementation of X11) is the X server in the official reference implementation of the X Window System.

This tutorial will explain How to remove,install and reconfigure xorg, without reinstalling ubuntu this is very useful if you messup with your xorg file.

Open terminal and run these commands

Remove existing xorg using the following command

sudo apt-get remove --purge xserver-xorg

Install xorg using the following command

sudo apt-get install xserver-xorg

Reconfigure xorg using the following command

sudo dpkg-reconfigure xserver-xorg

I hope this helps some users to fix their xorg problems.

Sponsored Link

You may also like...

37 Responses

  1. Casydy says:

    thanks, works for me

  2. augusto says:

    worked fine. thanks

  3. Jonay says:

    Thanks.. will try tonight when i get home and see if i can recover my ubuntu ^^!

  4. ryan says:

    it does not work for me on ubuntu 12.04 server version

    I got the follwing info, it seems the version does not match.
    ——————————
    X.Org X Server 1.11.3
    Release Date: 2011-12-16
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 2.6.42-37-generic x86_64 Ubuntu
    Current Operating System: Linux ubuntuserver 3.8.0-33-generic #48~precise1-Ubuntu SMP Thu Oct 24 16:28:06 UTC 2013 x86_64
    Kernel command line: BOOT_IMAGE=/vmlinuz-3.8.0-33-generic root=/dev/mapper/ubuntuserver–vg-root ro
    Build Date: 16 October 2013 04:41:23PM
    xorg-server 2:1.11.4-0ubuntu10.14 (For technical support please see http://www.ubuntu.com/support)
    Current version of pixman: 0.24.4
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (–) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: “/var/log/Xorg.0.log”, Time: Thu Nov 21 22:05:55 2013
    List of video drivers:
    sisusb
    vmware
    mga
    s3
    savage
    neomagic
    tdfx
    ati
    r128
    qxl
    mach64
    sis
    nouveau
    siliconmotion
    cirrus
    openchrome
    intel
    radeon
    trident
    fbdev
    vesa
    (++) Using config file: “/home/ryan/xorg.conf.new”
    (==) Using system config directory “/usr/share/X11/xorg.conf.d”
    Number of created screens does not match number of detected devices.
    Configuration failed.
    ddxSigGiveUp: Closing log
    Server terminated with error (2). Closing log file.

  5. vikroot says:

    Excellent !!, works for me too…. thanks

  6. Moataz says:

    Saved my life. thnx

  7. Noobie xdm says:

    Thank you for the tip, helped to get the X up. Window manager is no more, but that is probably easier to fix.

Leave a Reply

Your email address will not be published. Required fields are marked *