Could it be that your script is returning an error code? According to the docs[1]: "If this command returns an error the session will not start".
[1] https://wiki.ubuntu.com/LightDM#Adding_System_Hooks On 19 July 2017 at 22:20, Ozi Traveller <ozitravel...@gmail.com> wrote: > Hi > > How can I configure lightdm to use session-setup-script="path to script" > and still autologin? > > It looks likes any changes to /etc/lightdm/lightdm.conf cause autologin to > fail. > > Is there another place where I can exec a scripts on login? > > Ozi > -- Pablo Brasero Moreno pa...@pablobm.com