I want to perform autologin with an account "baa_user" at boot, which is in his own group (baa_user) & have his own home folder, without admin rights at all. I tried almost all solutions that I found but no one worked. Change file /etc/lightdm/lightdm.conf worked for pi user with autologin-user=$MY_USER (here $MY_USER is one of my user for exemple pi, I didn't write "$MY_USER" in my conf file), not for baa_user... Don't know what to do :/

Thanks !

  • Did you really write autologin-user=$MY_USER? I'm surprised to see that .conf files support shell variables. Aug 13, 2019 at 8:07
  • No no of course not $MY_USER is one of my user ;) Edit my question to be more understandable.
    – Julionabi
    Aug 13, 2019 at 8:18

1 Answer 1


I'd guess that you forgot to add baa_user to the autologin group:

sudo gpasswd -a baa_user autologin

If not, try to login as baa_user manually, maybe you'll find out that something is wrong that prevents the user from starting a desktop session at all.

  • Seems it was this !! Thanks, I never thought about it.
    – Julionabi
    Aug 13, 2019 at 8:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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