Results 1 to 2 of 2

Thread: autologin console mode

  1. #1
    Join Date
    2017-Jul
    Posts
    3

    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.

  2. #2
    Join Date
    2016-Dec
    Posts
    21
    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.


    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!
    Last edited by martinii; 2017-07-20 at 17:52.

Similar Threads

  1. Raspberrypi 4 autologin
    By thefugue in forum ARM Archive
    Replies: 2
    Last Post: 2021-03-07, 17:30
  2. Autologin to OpenBox DE
    By throwaway_ in forum General Archive
    Replies: 0
    Last Post: 2017-12-04, 05:35
  3. autologin?
    By yhi in forum ARM Archive
    Replies: 17
    Last Post: 2016-07-28, 14:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •