I have a clean Debian Stretch installation. It used to be the case that after booting I would end up on tty1 with a login prompt, and after logging X is started. I wanted to automate the logging in (because I'm the only user and my disk is encrypted already) so I followed the exact instructions given here:

  • In /etc/systemd/logind.conf, changed #NAutoVTs=6 to NAutoVTs=1
  • Used systemctl edit getty@tty1 and added (where username is my username):

    ExecStart=-/sbin/agetty --autologin username --noclear %I 38400 linux
  • Enabled the service: systemctl enable [email protected]

After rebooting, the login prompt was gone from tty1 and nothing else happened. It still showed the boot log. On tty2-5, only a cursor appeared, no login prompt as before. Luckily, tty6 was still available to recover the system. So I did:

  • Disable the service: systemctl disable [email protected]
  • Undid the change to /etc/systemd/logind.conf

Now, I can use all ttys except tty1 to login as normally, but somehow tty1 remains damaged. How can I repair this as well?


1 Answer 1


You should enable the [email protected] again:

systemctl enable [email protected]
  • I'm on Arch Linux where I also have a disabled tty1. I tried the above instructions, but it doesn't enable tty1 for me. May 13, 2021 at 12:39

You must log in to answer this question.