Programmaticaly change lightdm autologin session type

Posted by marcinpz on Ask Ubuntu See other posts from Ask Ubuntu or by marcinpz
Published on 2012-06-04T09:29:20Z Indexed on 2012/06/04 10:51 UTC
Read the original article Hit count: 259

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.

© Ask Ubuntu or respective owner

Related posts about configuration

Related posts about python