-
autologin console mode
Hello, I'm from Russia, I'm sorry for my English, I use Google translator. I need to enable autologation in console mode. in the graphical mode, autologation occurs normally. I always go by SSH and if it does not login it does not connect to wifi, I have to connect the monitor and keyboard to connect to the network.
-
To enable autologin you need to change some configuration options. First, in your terminal, run:
Code:
nano /etc/lightdm/lightdm.conf
Remove the tabs in front of the following lines:
Code:
pam-autologin-service = PAM service to use for autologin
autologin-user=root
autologin-user-timeout=0
Make sure the autologin part looks as it does in the screenshot below.
https://img.wonderhowto.com/img/08/6...ro-w.w1456.jpg
Save and exit with Control X, then type:
Code:
nano /etc/pam.d/lightdm-autologin
And you'll need to change this, starting on line 11:
Code:
# Allow access without authentication
auth required pam_succeed_if.so user != root quiet_success
auth required pam_permit.so
To this:
Code:
# Allow access without authentication
###auth required pam_succeed_if.so user != root quiet_success
auth required pam_permit.so
Save and close nano. You should now be configured for autologin. Reboot to see if the autologin feature works. It works for me.
Greetings from Poland brother!