Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
My computer boots to a black screen, what options do I have to fix it?

In an attempt to uninstall gnome, I followed the following instructions and was left with a black screen.

  • Press CTRL+ALT+F1 to access the terminal window and log in. At the prompt type following commands:

  • sudo apt-get remove libgtk-3-common

  • sudo apt-get install ppa-purge

  • sudo ppa-purge ppa:gnome3-team/gnome3

  • sudo apt-get dist-upgrade

  • sudo apt-get install gnome-panel

  • sudo shutdown –r now

enter link description here

I can login from the tty1 screen after pressing ctrl alt f1 but it stays in the terminal screen. I can also do the "startx" command and I get to a blank desktop that only lets me open a new folder.

I have been researching for almost 4 days and haven't been able to resolve this issue.

Is there any way i can restore my login screen?

share|improve this question

marked as duplicate by Jorge Castro, Eliah Kagan, jokerdino, hexafraction, Mitch Oct 1 '12 at 12:24

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

first check to make sure you have ldm or gdm (or other display(?) manager installed) ldm is ubuntu's default.

then

sudo ln /usr/sbin/lightdm -s /etc/rc5.d/s99lightdm

you can try sudo init 5

but a restart should work.

share|improve this answer

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