Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

1 Answer 1

up vote 5 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

user-session=ubuntu

to

user-session=gnome

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.