2

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

Wolfer
  • 2,174
srn
  • 5

1 Answers1

3

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.)

Wolfer
  • 2,174
  • 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