If you're new here, you may want to subscribe to my RSS feed and if you have questions related to your ubuntu system post question to our forums. Thanks for visiting!
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.







I prefer use
sudo dpkg-reconfigure xserver-xorg
before remove xserver-xorg that may cause that many other depended package remove!
This tip worked perfectly for me removing the xorg and reinstalling it. After removing it in safe mode and reinstalling it. My system rebooted just fine. Although I crossed my fingers before hand. lol
AMAZING!!! thank you solved ny problem in no time and I had even erased my only working xorg.conf.
YAYY!!!
Thanks, this worked for me too. Also had to install ubuntu-desktop because that was removed by the above process.
Thanks a bunch!!! This fixed an update that went very wrong!! Strongly recommend if dealing with proprietary driver updates.
Nice !
Tried it, but got a funny result… After boot, I only got som pixels at the top of the screen lightning up. I could jump to different colours with the Ctrl+Alt+F1 through F7, but it’s not giving me the logon screen. Splash is never presented. I figure I have to do a re-install. I’ve tried all sorts of commands and tweaks. Nothing helps. Can get into the safemode menu, and start in failsafeX.
Those terminal fixes didn’t worky on my netbook ubuntu installation 10.15. for purge i got couldn’t find purge
for install couldn’t find package xserver-org
and on reconfigure it couldn’t find xserver-org
nice try though
Thanks a bunch. This saved my ass. Where do i send the beer.
Interesting concept.
I am having serious issues with xserver-org Version: 1:7.5+5ubuntu1 in lucid 10.04 and the last release of the Matrox Parhelia Series Linux Display Driver v1.4.7 drivers for my Matrox P650 display card.
They claim they tested with 8.04 and 8.10.
I was able to use it in 9.04, but with a non-Ubuntu realtime kernel.
Question:
Would it be possible to use this method to install the xserver-xorg version that came with, say, 8.10, 9.04 or 9.10 on a lucid base, and pin it so that it doesn’t get upgraded.
If so how and would it work with the new change to kernel-based mode-setting.