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

in #software3 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 !

Sort:  

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.

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

Coin Marketplace

STEEM 0.22
TRX 0.02
BTC 11557.72
ETH 397.03
SBD 1.06