Create the directory:
sudo mkdir /etc/systemd/system/getty@tty1.service.d
Create file:
sudo vim /etc/systemd/system/getty@tty1.service.d/autologin.conf
Insert:
[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin USERNAME --noclear %I 38400 linux
отсюда