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

Possible Duplicate:
How do I change the default session for when using auto-logins?

Any way to make gnome-shell as default window manager other than adding gnome-shell --replace' with in the startup application

share|improve this question

marked as duplicate by fossfreedom Apr 15 '12 at 15:56

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.

up vote 6 down vote accepted

By selecting gnome-shell at login from the drop down box pictured here: select gnome here

It should automatically be set to default for future logins until you select a different window manager.

If it doesn't automatically default the gnome-shell than you can edit /etc/lightdm/lightdm.conf and change




EDITED: to add how to change default manually.

share|improve this answer
No. I have to set GNOME everytime i login I tried by removing unity Now i dont have a window manager no borders and menu :( – Sreevisakh Apr 15 '12 at 14:25
would you try sudo apt-get purge gnome-shell sudo apt-get install gnome-shell. You shouldn't have to remove unity to get it to set default. – Gary Apr 15 '12 at 14:53
i have unity-greeter I tried to reinstalling gnome-shell and another solution dbconf-editor also tried still it gets replaced by unity – Sreevisakh Apr 15 '12 at 14:55
try editing the /etc/lightdm/lightdm.conf and changing ubuntu to gnome in user-session=ubuntu, see if that works. May require a restart. – Gary Apr 15 '12 at 15:06
that worked Thanks a lot – Sreevisakh Apr 15 '12 at 15:14

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