Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed Unity 5.0 to test on my 11.10 setup and I've just removed it recently. Restarting the computer, I can't logon to my desktop now. I insert my password, then a black screen comes up and then it goes back to the login screen.


sudo add-apt-repository ppa:unity-team/stages
sudo apt-get update
sudo apt-get dist-upgrade


sudo ppa-purge ppa:unity-team/stages
share|improve this question
up vote 0 down vote accepted

Try booting your system in 'recovery mode' do the fsck option. After it's done press enter and select booting to root shell with networking (netroot) put in
apt-get install unity
If unity is still installed it won't do anything, if it's not installed anymore it will reinstall it.
You should also do dpkg-reconfigure unity and dpkg-reconfigure gdm.
This helped me with a similar problem on 'Lubuntu', where lxde (the desktop environment) wouldn't load.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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