Auto login on Debian 10 [SOLVED, THANK YOU SUNRAT!]

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
mongoosander
Posts: 2
Joined: 2021-08-03 11:28
Has thanked: 1 time

Auto login on Debian 10 [SOLVED, THANK YOU SUNRAT!]

#1 Post by mongoosander »

Is there a way to get an automatic login on Debian 10 (MATE)? I'm building a system for a person with limited mobility, and the only thing I've left to do is get it to log on automatically. I've tried a number of different methods, including creating a no password group, a systemd method linked on these forums, and others. I've had no luck so far.

Failing that, is there a distro which does easily support an automatic login?
Last edited by mongoosander on 2021-08-03 14:33, edited 2 times in total.

User avatar
sunrat
Site admin
Site admin
Posts: 7458
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 135 times
Been thanked: 665 times

Re: Auto login on Debian 10

#2 Post by sunrat »

Is there a tick box in User Settings to enable autologin? Otherwise, afaik MATE version uses lightdm so you can set it in /etc/lightdm/lightdm.conf . See: https://wiki.debian.org/LightDM#Enable_autologin
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

mongoosander
Posts: 2
Joined: 2021-08-03 11:28
Has thanked: 1 time

Re: Auto login on Debian 10

#3 Post by mongoosander »

That worked. I'm very grateful for your quick reply and I can now get the machine back to the owner, who will be very pleased with your help. Have a great day.

Specifically, I edited

Code: Select all

/etc/lightdm/lightdm.conf
with the following command (with sudo):

Code: Select all

pluma /etc/lightdm/lightdm.conf
Found the commented entry for

Code: Select all

#autologin-user=
and uncommented it, adding the username after the = sign. I then saved, rebooted, and it logged in exactly as I wanted it to.

boser2
Posts: 1
Joined: 2023-03-27 06:57

Re: Auto login on Debian 10 [SOLVED, THANK YOU SUNRAT!]

#4 Post by boser2 »

Thanks for help. For Information, It also works under Cinnenom on the same way.

Post Reply