When I was trying to reinstall compiz, first I tried to remove it and I think I have deleted my ubuntu-desktop and unity at the same time. I have tried to reinstall them but no use and now I'm stuck in a black screen after the Ubuntu logo. No desktop, no Unity, just a black screen and all I can do is reach the terminal through Alt+ctrl+F1

So if anyone can help I would really appreciate it.

  • what do you mean with "i have tried to reinstall" - what have you tried? have you tried (in the terminal (alt+ctrl+f1)) an sudo apt-get install compiz and sudo apt-get install unity (if that package does not exist do a apt-cache search unity - maybe the package is named something like "unity8"
    – Wolfgang
    Feb 12, 2014 at 12:35

1 Answer 1


Login into virtual console (ctrl+alt+F1) during the black screen appears,then run the below commands,

sudo apt-get install ubuntu-desktop
sudo apt-get install unity

After that run the below command to restart your pc,

sudo shutdown -r now

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.