38

I upgraded from 16.04 to 18.04. When I press Ctrl+Alt+F3 I get the terminal which prompts for the username. When I type my username and press Enter, it doesn't wait for my password (its as if I pressed Enter without entering anything). Even if I enter something, the text shown in plaintext and then it keeps on saying my password is wrong. After few times, the screen is cleared and it prompts for my username again and the same loop goes on.

N0rbert
  • 103,263
pranphy
  • 1,668

4 Answers4

19

Same TTY problem with 4.15.0-44-generic on my Ubuntu Mate 18.04

I just updated to 4.15.0-45-generic, but it still doesn't fix the problem.

Only workaround that I found is to switch back to old kernel 4.15.0-43-generic.

I put on hold and removed the new kernels:

sudo apt-mark hold linux-*-4.15.0-4[45]-generic
sudo apt remove linux-*-4.15.0-4[45]-generic

NB: Of course, old kernel linux-*-4.15.0-43-generic has to be present ;) If not, then install with:

sudo apt install linux-{image,headers}-4.15.0-43-generic

Then the system boots fine on 4.15.0-43 and tty login works, but then I had problems with my second monitor (but this, I guess, it's totally another problem).

UPDATE: I fixed the second monitor problem, in fact it was a video acceleration problem, related to missing kernel modules with the previous 4.15.0-43 kernel. The command "inxi -G" helped, me showing that my videocard was using 'fbdev' driver (framebuffer, no gpu acceleration) and not the accelerated 'modesetting' driver.

example1 (kernel modules installed):

Graphics:  Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel 
Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile v: 4.2 Mesa 18.2.2

example2 (kernel modules NOT installed):

Graphics:  Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel 
Display: x11 server: X.Org 1.19.6 driver: fbdev unloaded: modesetting,vesa resolution: 1920x1080~60Hz 
OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile v: 4.2 Mesa 18.2.2

So the correct syntax for the command above is:

sudo apt install linux-{image,headers,modules,modules-extra}-4.15.0-43-generic
slava
  • 4,085
9

Another option is to use another kernel in grub boot menu (if one is available), after booting:

Choose "Advanced options for Ubuntu"
In my case 4.15.0.-43 was working correctly

Just try, what is available in the list (but maybe rather not the topmost entry, thats the one, that doesnt work, and not recovery mode)

enter image description here

MacMartin
  • 353
9

This is unbelievable - today I went to this bug on Ubuntu 16.04.5 LTS (Xenial Xerus) with all updates and without PPAs on physical hardware.
So the problem was with 4.4.0-142-generic kernel. The symptoms was exactly same as in question. Getty in text console sends "Enter" and does not allow me to enter my password. Shows Login incorrect instead.

So I removed this buggy kernel and installed 138 instead (with method similar to USB-problem):

sudo apt-get purge linux-image-generic linux-headers-generic
sudo apt-get purge linux-image-4.4.0-139-generic linux-headers-4.4.0-139-generic \
linux-image-4.4.0-140-generic linux-headers-4.4.0-140-generic \
linux-image-4.4.0-141-generic linux-headers-4.4.0-141-generic \
linux-image-4.4.0-142-generic linux-headers-4.4.0-142-generic
sudo apt-get install amd64-microcode intel-microcode thermald
sudo apt-get autoremove

sudo apt-get install linux-image-4.4.0-138-generic linux-image-extra-4.4.0-138-generic
sudo apt-get install linux-headers-4.4.0-138 linux-headers-4.4.0-138-generic

and rebooted afterwards. I/we need to wait for normal stable kernel.

Warning: do not upgrade kernel to 4.4.0-142-generic if you need console login. Subscribe to the bug 1813873 and after the confirmation of the fix - install newest kernel back with sudo apt-get install linux-image-generic linux-headers-generic.

N0rbert
  • 103,263
2

Kernel upgrade to 4.20.0 helped.

clam
  • 37