Ubuntu – how to set default session in Ubuntu 14.04 LTS


I have tried one of our site solution but its not working. the solution in our site is How do I change the default session for when using auto-logins?

But its not working for Ubuntu 14.04 LTS.

How to change session but not from login screen ?

Best Answer

Ok after some searching in config files , it did mentioned in /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf

open your terminal with ALT+CTRL+T and type as

sudo nano /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf

and change line user-session to what session you want with session name as mentioned in /usr/share/xsessions/ with

ls /usr/share/xsessions/