I no longer have a GUI with Ubuntu 13.04. I can log in and use the command line, but nothing more exotic than that.

Is there anything I can do to fix this without resorting to a full reinstallation?

Alternatively, can I upgrade to 13.10 from command line and expect everything to be fine even though there's something amiss in my current system?

  • I tried unity-tweak-tool from the first link, bit I got several screenfuls of errors like (unity-tweak-tool:2321): dconf-WARNING **: failed to commit changes to dconf: Error spawning command line 'dbus-launch -- autolaunch=[loads of numbers] --binary-syntax --close-stderr' : Child process exited with code 1. (Apologies for the formatting, I'm on a mobile and can't make it any more presentable) – Leo Nov 11 '13 at 18:57

Try this

sudo apt-get -f install


sudo apt-get update
sudo apt-get install unity-2d
sudo apt-get install ubuntu-desktop
sudo apt-get install compizconfig-settings-manager
sudo apt-get install compiz-plugins-extra
sudo apt-get update 


sudo shutdown -r now

Hope this will work for you.


Open virtual terminal by pressing ctrl+alt+F1.Login with your username and password.
Then run the below commands,

sudo rm /etc/X11/xorg.conf
sudo shutdown -h now

Poweron your pc,i hope it works.

  • Interesting. Cannot remove. No such file or directory. Would it make any sense to completely remove and reinstall X11, or would I just be causing more trouble for myself? – Leo Nov 11 '13 at 14:19
  • did you run sudo service lightdm restart command. – Avinash Raj Nov 11 '13 at 14:35

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.