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 ?

  • You need to be more specific than simply saying, "It's not working." Show the commands you ran and their output. Show the contents of the config files you changed. Explain exactly what you see on the screen and what should be happening. – user41313 Apr 28 '14 at 5:36
  • @blujay why dont you try and then give a comment with NEGATIVE vote. ok FYI: No lightdm.conf – rɑːdʒɑ Apr 28 '14 at 5:39
  • I'm not going to upgrade my whole system to 14.04 right now just to try to solve your problem for you. I downvoted your question because you didn't give enough information to solve the problem and didn't show what you had tried already. So, now that you said that there's no lightdm.conf file: there's the problem! Create the file, then try that solution again! – user41313 Apr 28 '14 at 5:43
  • @blujay my system is not a trail & error one. Its development machine. – rɑːdʒɑ Apr 28 '14 at 5:45
  • 1
    @raaz yes, there is no /etc/lightdm/lighdm.conf but you may edit this /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf – Avinash Raj Apr 28 '14 at 5:47

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/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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