[FAQ] How to configure autologin for ubuntu

Hello! If you want to configure autologin for ubuntu, then open terminal and write:

sudo systemctl edit getty@tty1.service

This will create a file (if needed) and open editor.
In the editor, write:

[Service]
ExecStart=
ExecStart=-/sbin/agetty --noissue --autologin khadas %I $TERM
Type=idle

Where khadas is your username (root, for example).

If you don’t know how to close editor? - Ctrl+X then Y and then press Enter.

3 Likes

@TRasul Thanks for you contribution. Here is another way to log in.

1 Like