-1

I removed gnome and gconf2 unknowingly and I am unable to login into Ubuntu.Please help me.

1 Answers1

3

As you can log in on a virtual terminal (reachable with Ctrl+Alt+F1) you can

  1. re-install the Ubuntu desktop including all its necessary dependencies:

    sudo apt-get install --reinstall ubuntu-desktop
    
  2. You should now the be able to restart the display manager

    sudo initctl restart lightdm
    

    and switch back to the graphical session with Ctrl+Alt+F7. Alternatively you can reboot Ubuntu.

David Foerster
  • 36,264
  • 56
  • 94
  • 147
  • As you're a reputation 1 user: if this answers your question, don't forget to click the grey ☑ under the "0" at the left of this text to accept it, which means "yes, this answer is valid"! – David Foerster May 28 '16 at 13:42