8

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 ?

Raja G
  • 100,643
  • 105
  • 254
  • 328
  • 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. –  Apr 28 '14 at 05:36
  • @blujay why dont you try and then give a comment with NEGATIVE vote. ok FYI: No lightdm.conf – Raja G Apr 28 '14 at 05: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! –  Apr 28 '14 at 05:43
  • @blujay my system is not a trail & error one. Its development machine. – Raja G Apr 28 '14 at 05:45
  • ...What? Look, either run `touch lightdm.conf` and try the solution again, or don't. I've given you the next step to perform. If you refuse to do follow the directions you're given, why are you here? –  Apr 28 '14 at 05:47
  • 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 05:47
  • @AvinashRaj Thanks for posting a good comment . Let me look for user session in that file. – Raja G Apr 28 '14 at 05:51
  • @AvinashRaj there i didnt see any line with user-session or similar thing to change session. any other ways ? – Raja G Apr 28 '14 at 05:52
  • @AvinashRaj I have found it finally . look my answer. – Raja G Apr 28 '14 at 06:40
  • See this link to: [how-do-i-change-the-default-session-for-when-using-auto-logins][1] [1]: http://askubuntu.com/questions/62833/how-do-i-change-the-default-session-for-when-using-auto-logins/576361#576361 – sdhengsoft Jan 22 '15 at 00:43
  • Have a look at this link too: [how-do-i-change-the-default-session-for-when-using-auto-logins][1] [1]: http://askubuntu.com/questions/62833/how-do-i-change-the-default-session-for-when-using-auto-logins/576361#576361 – sdhengsoft Jan 22 '15 at 00:46
  • Have a look at this link too: [how-do-i-change-the-default-session-for-when-using-auto-logins][1] [1]: http://askubuntu.com/questions/62833/how-do-i-change-the-default-session-for-when-using-auto-logins/576361#576361 – sdhengsoft Jan 22 '15 at 00:51

1 Answers1

10

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/
Raja G
  • 100,643
  • 105
  • 254
  • 328