I need more ttys (solved)

Hi,

I just installed the latest dietpi 9.17 and I can’t find a way to get more than 1 ttys.

When I press Ctrl+Alt+F2 I see a blinking cursor but I cannot log in.

Thank you for your help.

boenki

Can you check if the services are running:

systemctl status getty@tty2.service

Do the same for tty3, tty4 …
If they’re not running, enable and start them. Do this for as many tty as you need.

sudo systemctl enable getty@tty2.service
sudo systemctl start getty@tty2.service

Thank you.

This solved it.

Another way is to enable systemd-logind, but it requires dbus as well:

sudo systemtl unmask systemd-logind
sudo apt install dbus
sudo systemctl start dbus systemd-logind

This triggers an agetty (login prompt) automatically once you switch to a TTY. But if you do not need this flexibility but just one more local console, I’d go with getty@tty2.service as well.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.