How to enable auto-login in Debian 9 XfcesteemCreated with Sketch.

in software •  2 years ago  (edited)

Recently, I switched from Ubuntu to Debian 9 (stretch) xfce. It is a great distribution. But i had a small problem which i didn't have in ubuntu, That is auto login.

Note: Auto login is not recommended for security reasons, but i am enabling it for the sake of my convenience.

So, I did a bit search and found out that xfce uses LightDM as login manager. So, i headed up to debian wiki LightDM page. Debian wiki is a great place, Well documented steps are available!

I fired up the nano editor (you can use any text editor with root privileges) sudo nano /usr/share/lightdm/lightdm.conf.d/01_debian.conf

added these lines below

[SeatDefaults]
autologin-user=username
autologin-user-timeout=0

Save & exit. Now autologin is enabled !

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Good job finally u did it welcome to debian @kskarthik i am on same board past one month its right time to aware that debian has more security than ubuntu some times we got mad fired on debian for this type of security feature.Happy steeming.

జై జై డెబియన్ 🤸