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

My computer has an ATI card, which supports 3D, but doesn't refresh the screen properly.
This is because I use the classic session on 11.04 instead of Unity. That's OK.

But when I start a Guest Session, the Unity-based session starts automatically, because this are the default settings for new users.

So, is there any way to change the session to start by default?
(So the classical GNOME desktop gets launched instead of Unity)

share|improve this question
@people who answered: All the answers are great, so I'm not sure which one to accept. I think I will accept Marky's. Thanks for answering! –  jmendeth Aug 29 '11 at 14:55

3 Answers 3

up vote 1 down vote accepted

Changing the default is done through Login Screen Settings. At the bottom there is a drop-down list that lets you set the default. I'm not sure if this affects guest sessions too. Let me try it out and I'll update this post.

edit: Yeah it changes the guest session too. I guess it would've been obvious since you need to unlock it with admin privs. For some reason it doesn't work until a restart though.

share|improve this answer

You can also try to change your ~/.dmrc file to:


This will change your personal account's default session.

If you want to change the default for the guest session, you should try to change the file
/usr/share/xsessions/guest-restricted.desktop to:

Exec=/usr/share/gdm/guest-session/Xsession gnome-session --session=gnome
share|improve this answer
Not saying that the above is wrong but this doesn't work for me. I instead edited /usr/share/xsessions/guest-restricted.desktop. In the said file, change the value of Exec to: /usr/share/gdm/guest-session/Xsession gnome-session --session=gnome –  Marky Jun 11 '11 at 9:55
Sorry, that was a typo. You were referring to the guest session ;-) I just saw it and edited my anwser. –  Pavlos G. Jun 11 '11 at 13:38
sudo mv /usr/share/xsessions/guest-restricted.desktop /usr/share/xsessions/guest-restricted-old.desktop
sudo ln -s /usr/share/xsessions/gnome-2d.desktop /usr/share/xsessions/guest-restricted.desktop
share|improve this answer
Welcome to AskUbuntu! +1 Good catch, vito. –  jmendeth Aug 29 '11 at 14:49

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.