TransWikia.com

Ubuntu Mate freezes after user login

Super User Asked by nathaniel.graham on November 9, 2021

System:

  • Ubuntu Mate
  • Ubuntu 20.04
  • with Linux 5.4.0-42-generic

I have also tried changing the Kernel version to Linux 5.4.0.40-generic, but the symptoms persist.

After rebooting my laptop, I attempted a login as usual. This time, however, I get a black screen and no use of keyboard or mouse that I can tell. Once this has happened, I can’t do anything but hold the power button. Ctrl+Alt+F1 does nothing in this state.

If instead of logging in with the GUI, I press Ctrl+Alt+F1 from the login screen, tty1 comes up and I can log in perfectly fine from there with no issue.

From there, I tried startx with nothing happening, except an IO error, which may be the cause. If I do sudo startx the GUI boots mostly fine, with some strange glitches here and there.

I have not recently installed any strange packages that I’m aware of, but I did hold the power button during the shutdown cycle, since it was taking longer than normal. I did this right before things went wrong, so it could be that as well.

One other thing to note is that I’m getting messages about having 1GB of space left, while the Disk Usage Analyzer says I have 13GB. Which one is wrong and what the implications are to this issue, I’m not sure.

Any insight is appreciated!

One Answer

While I'm not sure what the exact cause was, I can explain how I fixed it.

I booted into recovery mode for Ubuntu, with Linux 5.4.0.42-generic and ran dpkg repair packages. Doing this, two packages were removed, which I expect weren't the issue (one was zoom and the other was ibus). 6 packages were added, however, including llvm-10-dev among other similar things. After returning and continuing to boot, I logged in just fine with no issue.

If anyone has insight as to why this contributed to the solution, I'll happily add it here to help myself and any future readers understand why this caused the problems it did (or maybe users with more points can even edit it themselves like they can for questions?)

Thanks to those who gave me advice!

Answered by nathaniel.graham on November 9, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP