#StackBounty: #boot #20.04 #nvidia #.desktop Ubuntu-desktop repeatedly not working on boot

Bounty: 50

I’ve been running Ubuntu 20.04.3 LTS on my Lenovo Thinkpad T14 for around a year now with little to no issue. However, very recently I have been experiencing issues with ubuntu-desktop not loading on boot.

Occasionally when I boot my machine I will be met with a black screen with a cursor flashing in the top left corner (rather than booting to the log in screen). Thus far I have managed to fix this by going to tty5 or tty6, logging in and using the command apt-get install --reinstall ubuntu-desktop. After rebooting, the system then tends to boot to the desktop as normal. I say tends as it is not always the case, e.g., today I had to reinstall ubuntu-desktop twice before it worked.

One possible cause that I can see is I have a Nvidia MX330 graphics card, which has not played so nicely with my machine in the past. For instance I previously upgraded the driver for the card and could no longer boot my machine until I rolled back the upgrade. Moreover, I recently purged all of the Nvidia packages from my machine apt-get purge nvidia* and now my machine runs a lot smoother!

I am wondering if anyone has any ideas as to why ubuntu-desktop would be sporadically breaking or as to ways to debug this issue? I checked my update logs less /var/log/apt/history.log and it doesn’t seem to correlate with recent updates.


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.