Comment 28 for bug 1758512

Revision history for this message
Fredrik Öhrström (oehrstroem) wrote : Re: No virtual terminals (CTRL+ALT+F?) when no user logged in; erratic behaviour when user logged in.

Reproducible on 18.04.3 LTS on a t460s Thinkpad. (Yes, enable function-lock, or remember to press Fn + ctrl + alt + f3)

Do a normal login and press CTRL-ALT-F1. Now it switches to a virtual
console showing the boot log. Alas there is no way to switch back
to any other virtual console!! Reboot here is the only option.

Do a normal login and press CTRL-ALT-F1. Now it switches to a virtual
console with a login prompt. Nice. Do not press ALT-F1 or you will end up
in the boot log again...reboot. Press ALT-F2 to get back to the graphical console.

Then I removed the comments for the two lines:
NAutoVTs=6
ReserveVT=6
in the file /etc/systemd/logind.conf
and rebooted.

Then it started to work better. F1 seems to be the gdm graphical login prompt.
F2 has the graphical desktop. F3 is the first virtual console terminal. I do not know where to boot log went...

However wait after pressing the CTRL-ALT-Fx and ALT-Fx keys when switching consoles.
If I switch between the consoles too fast,
them the X-process sometimes crashes and you get
the login screen again.