1

A while back I decided to try the Gnome Shell desktop environment as I've always been a fan of the foundation and the desktop environment. I decided that I'd become used to Unity and that I wouldn't really log into a GNOME session often, so I uninstalled it via the command line... which, frankly, was stupid. When I boot into my Ubuntu installation, the login screen does not appear, but rather a logging TTY - the one seen upon shutdown that is reserved for X11, and normally accessible by Ctrl+Alt+F7. Can anyone tell me the packages required to make the login screen appear - as in default packages that may have been removed (metacity, unity, etc)?

Edit: I ran apt-get update/upgrade/dist-upgrade from another terminal, but to no avail.

Here is a picture of the TTY, just in case I was not clear (sorry about the quality): Ubuntu TTY

Thanks in advance.

2 Answers2

1

This should take care of your issue

sudo apt-get install ubuntu-desktop

additionally if needed

sudo apt-get install gnome-shell
Ringtail
  • 16,285
0

sudo apt-get install --reinstall ubuntu-desktop should install lightdm and the rest of the missing packages to get your desktop back.

Bruno Pereira
  • 74,715