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

My problem began when I have restarted my laptop after I have installed a new GUI, I have Ubuntu 12.04 with ATI mobility HD 5470, but all was fine and working good. On my Ultimate Edition 3.4 I have Google-d how to fix that and someone suggested that :

sudo apt-get remove lightdm then sudo apt-get install lightdm

would solve the problem, but my problem was I only could apply sudo apt-get remove lightdm, then it wont take the install lightdm order, and I ended up with only a black screen after I boot and choose Ubuntu from my dual OS booting (I have Linux and win7), I cant even switch or see tty. I have worked on my Ubuntu a lot and don't want just reinstall it again and lose all I have built in it before.

share|improve this question
Try sudo apt-get upgrade && sudo apt-get update – Mitch Apr 18 '13 at 4:18
In the future please be more specific. For example, "new GUI" and "how to fix that" are not clear enough as to what you're talking about. We can't effectively help you without these details. – strugee Apr 18 '13 at 5:55

You should be able to press CMD-ALT-F1 to get to a console. Type your username and password, then run sudo apt-get install lightdm. Then, just in case, run sudo service lightdm start. Press CMD-ALT-F7 to get to the login screen.

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.