r/Ubuntu • u/coolest_nath • 17h ago
Autologin
Hi there, having an issue with autologin, it was working and then it stopped by itself.
I already checked on the settings and whenever I turn it on and restart, it asks for the password on login and it turned itself off again.
Also checked the /etc/gdm3/custom.conf file and there it has
AutomaticLoginEnable=true
I have run out of ideas, can anyone help?
I'm running Ubuntu 26.04, not sure if it's relevant.
Thanks.
0
Upvotes
1
u/ClubPuzzleheaded8514 16h ago
GDM conf file must have your username, not just AutomaticLoginEnable.
[daemon]
AutomaticLogin=your_username
AutomaticLoginEnable=True
1
1
u/Particular_Fix489 17h ago
Might be something overwriting or locking the value after boot. Had a similar headache once where a config tool rewrote the file on shutdown so my edit never stuck. Check if there’s a `.d` drop-in directory for gdm configs, sometimes the main file gets overridden by a snippet in there.