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

i have installed gnome3.7 from gnome3 ppa
and i have removed evolution using sudo apt-get remove evolution*

and accidentally it removed gnome, gnome-shell and bunch of other things

and now when i restart and log in it says failed to load sessioon "gnome" and unity greeter is not showing desktop environment selector? i have cinnamon, unity, installed?

i went in to recovery mode edited lightdm conf file and set session to ubuntu but still it is logging into gnome instead of unity

how i can fix this

share|improve this question
This question should instead be filed as a bug report, and as such is off-topic, thanks! Instructions on filing a bug report are here. – Jorge Castro Jan 28 '13 at 18:35
It's not a bug. This behavior of gnome is intented. – Wolfer Jan 28 '13 at 19:02
I agree that it's not a bug. The user has accidentally uninstalled more than he intended, where's the bug in that? – Flimm Jan 29 '13 at 19:34
up vote 3 down vote accepted

You have 2 options: either remove gnome compleately or reinstall it's missing parts.

For removing gnome you will need to know what's left of it on your system (usually apt-get autoremove will take care of that).

Reinstalling gnome only requires that you apt-get install gnome3. This will reinstall everything needed to get gnome working again.

Note: gnome3 is a meta-package, this is so to make installation of gnome easier. This sadly also means that if you remove parts of it it will think that you want to remove all of gnome, so by using gnome you either have a ton of stuff that you'll never use or you don't use gnome at all. Sadly there's no middle path. (Actually there is, but it's major pain.)

share|improve this answer
there is no network acess in recovery mode and apt-get autoremove does nothing – srn Jan 28 '13 at 19:06
Start normally and drop to a tty? For that press Ctrl + Alt + F1 (or any other F key between 1 and 6). – Wolfer Jan 28 '13 at 19:14
thank you very much – srn Jan 28 '13 at 19:29
You're welcome. – Wolfer Jan 28 '13 at 19:35

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.