Programmaticaly change lightdm autologin session type
- by marcinpz
I have problem with lightdm setting autologin session type (using my config tool). Lightdm logs into previously selected session. I see that autologin-session is UNIMPLEMENTED in version 1.2.1. Maybe I can somehow cheat lightdm? but it seems program writes actual state when stopping and overwrites my changes to /home/user/.dmrc and /var/cache/lightdm/user.dmrc.
At the current I have two sessions: default and kiosk. in /etc/lightdm/lightdm.conf I have line:
user-session=desktop
but after I logged into kiosk session it starts all the time.
Changing .dmrc and /var/cache/lightdm/dmrc/user.dmrc doesn't work.