[solved] Can't get past login screen after latest Kernel update

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
lintek
Level 2
Level 2
Posts: 50
Joined: Tue Jul 23, 2019 3:47 pm

[solved] Can't get past login screen after latest Kernel update

Post by lintek »

Today, after updating the system with the latest Kernel (5.4.0-135 ?) I can't get past the login screen. I type in my password and it simply goes back to the login screen. I am an amateur with Linux (even though I use it daily - just not a computer-guy per se'). I'm lost.

Maybe if I could revert the system to before the update?

Help!
Last edited by LockBot on Thu Jun 01, 2023 10:00 pm, edited 4 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
S4qFBxkFFg
Level 1
Level 1
Posts: 13
Joined: Sat Nov 05, 2022 1:50 pm

Re: Can't get past login screen after latest Kernel update

Post by S4qFBxkFFg »

Can you get into a terminal login by pressing CTRL ALT F1?

If you do this, you can uninstall the latest kernel by running the following commands:

Code: Select all

sudo apt remove linux-headers-5.15.0-56-generic
and:

Code: Select all

sudo apt remove linux-image-5.15.0-56-generic
Assuming your previous kernel is good, you should then be able to reboot into it.
Mint 21.1 Vera, XFCE
User avatar
lintek
Level 2
Level 2
Posts: 50
Joined: Tue Jul 23, 2019 3:47 pm

Re: Can't get past login screen after latest Kernel update

Post by lintek »

IT WORKED! Thank you!

So how can I avoid this happening again if Linux wants to update?
dorsetUK
Level 5
Level 5
Posts: 936
Joined: Thu Sep 19, 2019 4:40 am

Re: Can't get past login screen after latest Kernel update

Post by dorsetUK »

lintek wrote: Thu Dec 01, 2022 2:34 pm IT WORKED! Thank you!

So how can I avoid this happening again if Linux wants to update?
Launch Update Manager, click on Edit, Preferences, Automation and finally click on Automatic Maintenance. That will clear out any unused Kernels bar one.
User avatar
lintek
Level 2
Level 2
Posts: 50
Joined: Tue Jul 23, 2019 3:47 pm

Re: Can't get past login screen after latest Kernel update

Post by lintek »

THANK YOU again.

I would be lost without the members of this forum and I appreciate their help very much.
User avatar
SMG
Level 25
Level 25
Posts: 31990
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Can't get past login screen after latest Kernel update

Post by SMG »

lintek wrote: Thu Dec 01, 2022 2:54 pm THANK YOU again.

I would be lost without the members of this forum and I appreciate their help very much.
Why would removing the latest 5.15 kernel help you if you installed the 5.4 kernel? That does not make sense.

What version of Linux Mint are you running? And what is the output of uname -r?

If your system is too full, then you will repeatedly get the login screen even if you enter the correct password. Running Automatic Updates would prevent that from happening in the future.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
lintek
Level 2
Level 2
Posts: 50
Joined: Tue Jul 23, 2019 3:47 pm

Re: [solved] Can't get past login screen after latest Kernel update

Post by lintek »

Mint Cinnamon 20.3 - 5.2.7, 5.4.0-135-generic
This morning when I woke up the computer from being suspended, it was unable to open the desktop and said use CTRL-ALT-F1 to get to terminal, then use "cinnamon-unlock-desktop" to get desktop, then CTRL-ALT-F7 to get to the desktop.

"system too full"?
User avatar
SMG
Level 25
Level 25
Posts: 31990
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: [solved] Can't get past login screen after latest Kernel update

Post by SMG »

lintek wrote: Sun Dec 04, 2022 1:08 pm Mint Cinnamon 20.3 - 5.2.7, 5.4.0-135-generic
That means the commands S4qFBxkFFg gave you to run should have given you a message saying those packages are not installed and there was nothing to remove.
lintek wrote: Sun Dec 04, 2022 1:08 pmThis morning when I woke up the computer from being suspended, it was unable to open the desktop and said use CTRL-ALT-F1 to get to terminal, then use "cinnamon-unlock-desktop" to get desktop, then CTRL-ALT-F7 to get to the desktop.

"system too full"?
The computer gave you a message telling you to use "CTRL-ALT-F1 to get to terminal" :? Or did you find that information on a post somewhere?

What is the current status of your system? Are you logged in or not?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
lintek
Level 2
Level 2
Posts: 50
Joined: Tue Jul 23, 2019 3:47 pm

Re: [solved] Can't get past login screen after latest Kernel update

Post by lintek »

That means the commands S4qFBxkFFg gave you to run should have given you a message saying those packages are not installed and there was nothing to remove.


I think that I got the message to USE AUTOREMOVE which I typed in, it did its' thing, and then I was able to log in.
(I am sorry that I am so bad at this...)
The computer gave you a message telling you to use "CTRL-ALT-F1 to get to terminal" :? Or did you find that information on a post somewhere?
Yes, the computer popped up a window telling me to use CTRL-ALT-F1 to get to terminal, then use "cinnamon-unlock-desktop" to get desktop, then CTRL-ALT-F7 to get to the desktop.
User avatar
SMG
Level 25
Level 25
Posts: 31990
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: [solved] Can't get past login screen after latest Kernel update

Post by SMG »

lintek wrote: Sun Dec 04, 2022 5:46 pmI think that I got the message to USE AUTOREMOVE which I typed in, it did its' thing, and then I was able to log in.
That was enough to get you in, but you probably still have a problem and need to do some cleaning. Here are multiple ways you can reduce how much space is consumed on your install How to Clean Linux Mint Safely.
lintek wrote: Sun Dec 04, 2022 5:46 pmYes, the computer popped up a window telling me to use CTRL-ALT-F1 to get to terminal, then use "cinnamon-unlock-desktop" to get desktop, then CTRL-ALT-F7 to get to the desktop.
Thank you for the feedback. I was not aware the system would do that.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
lintek
Level 2
Level 2
Posts: 50
Joined: Tue Jul 23, 2019 3:47 pm

Re: [solved] Can't get past login screen after latest Kernel update

Post by lintek »

I decided to test it out, so I put the computer in SUSPEND. That I woke it up, (it even sounded like ti woke up), but I never got to the login screen. It just stayed blank. I had to reboot to login.

I rarely turn off my computer - I just use SUSPEND and wake it up the next morning. This is how I prefer to do it.

Any ideas?
User avatar
SMG
Level 25
Level 25
Posts: 31990
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: [solved] Can't get past login screen after latest Kernel update

Post by SMG »

lintek wrote: Mon Dec 05, 2022 1:55 amAny ideas?
Yes, but we would need to see system information to know which ones might be appropriate.

Please open the System Reports app and click the System Information tab on the left. Your computer's information should come up in the right pane. Then click Copy, and paste the results into a reply window here so we can see how Linux Mint views your hardware.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
lintek
Level 2
Level 2
Posts: 50
Joined: Tue Jul 23, 2019 3:47 pm

Re: Can't get past login screen after latest Kernel update

Post by lintek »

Code: Select all

System:    Kernel: 5.4.0-135-generic x86_64 bits: 64 compiler: gcc v: 9.4.0 
           Desktop: Cinnamon 5.2.7 wm: muffin dm: LightDM Distro: Linux Mint 20.3 Una 
           base: Ubuntu 20.04 focal 
Machine:   Type: Desktop System: Gateway product: DX4860 v: N/A serial: <filter> Chassis: type: 3 
           serial: <filter> 
           Mobo: Gateway model: IPISB-VR v: 1.01 serial: <filter> UEFI: American Megatrends 
           v: P02-A1 date: 08/01/2011 
CPU:       Topology: Quad Core model: Intel Core i5-2320 bits: 64 type: MCP arch: Sandy Bridge 
           rev: 7 L2 cache: 6144 KiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 23944 
           Speed: 3157 MHz min/max: 1600/3300 MHz Core speeds (MHz): 1: 3159 2: 3144 3: 3174 
           4: 3146 
Graphics:  Device-1: NVIDIA GK208B [GeForce GT 710] vendor: Micro-Star MSI driver: nvidia 
           v: 470.161.03 bus ID: 01:00.0 chip ID: 10de:128b 
           Display: x11 server: X.Org 1.20.13 driver: nvidia 
           unloaded: fbdev,modesetting,nouveau,vesa 
           resolution: 1440x900~60Hz, 1440x900~60Hz, 1440x900~60Hz 
           OpenGL: renderer: NVIDIA GeForce GT 710/PCIe/SSE2 v: 4.6.0 NVIDIA 470.161.03 
           direct render: Yes 
Audio:     Device-1: Intel 6 Series/C200 Series Family High Definition Audio 
           vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
           chip ID: 8086:1c20 
           Device-2: NVIDIA GK208 HDMI/DP Audio vendor: Micro-Star MSI driver: snd_hda_intel 
           v: kernel bus ID: 01:00.1 chip ID: 10de:0e0f 
           Sound Server: ALSA v: k5.4.0-135-generic 
Network:   Device-1: Ralink RT3090 Wireless 802.11n 1T/1R PCIe vendor: Lite-On driver: rt2800pci 
           v: 2.3.0 port: e000 bus ID: 03:00.0 chip ID: 1814:3090 
           IF: wlp3s0 state: down mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
           vendor: Acer Incorporated ALI driver: r8169 v: kernel port: d000 bus ID: 04:00.0 
           chip ID: 10ec:8168 
           IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           IF-ID-1: enx0015ff109990 state: unknown speed: N/A duplex: N/A mac: <filter> 
Drives:    Local Storage: total: 1.47 TiB used: 246.40 GiB (16.3%) 
           ID-1: /dev/sda vendor: Western Digital model: WD5000AAKX-60U6AA0 size: 465.76 GiB 
           speed: 6.0 Gb/s serial: <filter> 
           ID-2: /dev/sdb vendor: PNY model: CS900 120GB SSD size: 111.79 GiB speed: 3.0 Gb/s 
           serial: <filter> 
           ID-3: /dev/sdc vendor: Western Digital model: WD10EADX-22TDHB0 size: 931.51 GiB 
           speed: 3.0 Gb/s serial: <filter> 
Partition: ID-1: / size: 108.98 GiB used: 71.08 GiB (65.2%) fs: ext4 dev: /dev/sdb2 
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 
           chip ID: 8087:0024 
           Device-1: 1-1.5:5 info: Novatel Wireless type: Bluetooth,CDC-Data driver: rndis_host 
           rev: 2.0 chip ID: 1410:b00c 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0 
           chip ID: 8087:0024 
           Device-2: 2-1.1:3 info: Darfon Dell L20U Multimedia Keyboard type: Keyboard,HID 
           driver: hid-generic,usbhid rev: 1.1 chip ID: 0d62:2106 
           Device-3: 2-1.3:4 info: Samsung type: <vendor specific> driver: usblp rev: 2.0 
           chip ID: 04e8:3461 
           Device-4: 2-1.5:5 info: I/O Interconnect type: Mass Storage,HID 
           driver: hid-generic,usb-storage,usbhid rev: 2.0 chip ID: 0a48:4001 
           Device-5: 2-1.8:6 info: Pixart Imaging Optical Mouse type: Mouse 
           driver: hid-generic,usbhid rev: 1.1 chip ID: 093a:2521 
           Hub: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.0 chip ID: 1d6b:0003 
Sensors:   System Temperatures: cpu: 30.0 C mobo: N/A gpu: nvidia temp: 35 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 50% 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/nordvpn.list 
           1: deb https: //repo.nordvpn.com//deb/nordvpn/debian stable main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http: //packages.linuxmint.com una main upstream import backport #id:linuxmint_main
           2: deb http: //archive.ubuntu.com/ubuntu focal main restricted universe multiverse
           3: deb http: //archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
           4: deb http: //archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
           5: deb http: //security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http: //archive.canonical.com/ubuntu/ focal partner
Info:      Processes: 258 Uptime: 9h 49m Memory: 9.71 GiB used: 4.59 GiB (47.3%) Init: systemd 
           v: 245 runlevel: 5 Compilers: gcc: 9.4.0 alt: 9 Client: Unknown python3.8 client 
           inxi: 3.0.38
Last edited by SMG on Mon Dec 05, 2022 12:17 pm, edited 1 time in total.
Reason: Added code tags to inxi output to preserve its formatting.
User avatar
SMG
Level 25
Level 25
Posts: 31990
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: [solved] Can't get past login screen after latest Kernel update

Post by SMG »

lintek wrote: Mon Dec 05, 2022 1:55 am I decided to test it out, so I put the computer in SUSPEND. That I woke it up, (it even sounded like ti woke up), but I never got to the login screen. It just stayed blank.
Your computer has a 700 series Nvidia GPU. Starting with the Nvidia-470 driver, changes were made and many people have had problems resuming from sleep/suspend. The workaround mentioned in this post has worked for many people. If you need detailed instructions for editing the file then see this post and the subsequent ones in that topic.

Let us know if that resolves the suspend problem.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
lintek
Level 2
Level 2
Posts: 50
Joined: Tue Jul 23, 2019 3:47 pm

Re: Can't get past login screen after latest Kernel update

Post by lintek »

The "exit 0" trick worked.

Thanks - again.
Locked

Return to “Installation & Boot”