6

I have installed GNOME Shell, logged into it, but on boot the computer logs in to an Ubuntu session. I have automatic login enabled.

How can I fix this? How can I make Ubuntu remember my choice of desktop environment?

Kevin Bowen
  • 20,055
  • 57
  • 82
  • 84
Florin
  • 696

4 Answers4

6

Edit lightdm.conf with gedit and change the user-session=ubuntu to user-session=gnome

gksudo gedit /etc/lightdm/lightdm.conf 

Edit gnome.desktop with gedit and change Exec=gnome-session --session=ubuntu to Exec=gnome-session --session=gnome

gksudo gedit /usr/share/xsessions/gnome.desktop

After this you will login directly to you gnome desktop ;)

Bruno Pereira
  • 74,715
0

If you use either of the two answers:

edit lightdm.conf & gnome.desktop

-or-

apt-get remove unity

be sure to edit /usr/share/xsessions/gnome.desktop and change

Exec=gnome-session --session=ubuntu

to

Exec=gnome-session --session=gnome

From terminal...

sudo nano /usr/share/xsessions/gnome.desktop
muru
  • 207,228
0

The answer that worked: Reinstall and make sure password is required to sign in is checked. This allows the gnome to install and work properly.

-2

I wish this worked. I had to remove Unity-desktop to get it to allow me into gnome-shell

sudo apt-get remove unity
muru
  • 207,228