This question is a follow up on this one. I have recently upgraded from Ubuntu 12.04 to 14.04 and xserver broke during the process. I have tried reinstalling from the command line running the following:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get -y install xserver-xorg
sudo apt-get -y install x11-xserver-utils
sudo apt-get install xorg openbox
sudo apt-get install xserver-xorg-core
sudo apt-get install xorg
sudo apt-get install ubuntu-desktop

None of the above fixed x. I've also tried "upgrading" from a live DVD. I could not find an upgrade option, however. Most options implied erasing current partitions and one a side-by-side installation with previous ones. Now I'm thinking about restoring the xorg files from the live installation on the previous(already upgraded 14.04) installation. How should I approach this issue?

1 Answer 1


I think that the easiest way to do this is to simply to, yes, re-install.

You might also get away by purgeing the Xorg packages. To do this, you need to find out all of the installed X11 server packages and run:

sudo apt-get --purge remove <X11 packages>
sudo apt-get --purge autoremove
sudo apt-get install ubuntu-desktop

Note that this may remove all configs for X11, GNOME, and potentially many other packages. It is VERY DANGEROUS. I do not take responsibility if you break your computer.

You might also have luck deleting the X11 configs. I think most of them are housed in /etc/X11, but there may be more scattered around.

  • I'm looking for an option that does not involve these kinds of risks.
    – Sebi
    Aug 30, 2014 at 19:55
  • That is the problem with Linux, unfortunately. There are always risks to everything. Especially when you are playing with system configs.
    – Kaz Wolfe
    Aug 30, 2014 at 19:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.