You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

升级Ubuntu 22.04后登录时屏幕黑屏的问题求助

升级Ubuntu 22.04后登录时屏幕黑屏的问题求助

Hey there, sorry to hear you're stuck with this annoying black screen issue after upgrading your Lenovo ThinkPad P15s to Ubuntu 22.04—total bummer, right? Let's walk through some straightforward, tried-and-true fixes that have worked for plenty of folks with similar hardware and problems:

  • Fix 1: Repair Display Drivers (Most Common Culprit)
    ThinkPads often run into driver compatibility snags after major Ubuntu upgrades, especially if you’re using proprietary graphics drivers. Here’s what to do:

    1. When you hit the blank screen at the login prompt, press Ctrl + Alt + F3 to switch to a text-only terminal (TTY3). Log in with your username and password.
    2. First, refresh your package list: sudo apt update
    3. If you had NVIDIA proprietary drivers installed, purge them completely: sudo apt purge nvidia*
    4. Install Ubuntu’s default open-source drivers that play nice with ThinkPad hardware: sudo apt install xserver-xorg-video-intel mesa-vulkan-drivers
    5. Reboot your system: sudo reboot
      This should resolve most display-related black screen issues.
  • Fix 2: Reset the GDM Login Manager
    Sometimes the GNOME Display Manager (GDM) gets corrupted during the upgrade, causing login failures. Let’s reset it:

    1. Switch to TTY3 as before and log in.
    2. Stop the GDM service first: sudo systemctl stop gdm
    3. Reconfigure GDM to reset its settings: sudo dpkg-reconfigure gdm
    4. Restart GDM (or just reboot): sudo systemctl start gdm
      You should see the login screen pop back up normally.
  • Fix 3: Roll Back to a Stable Kernel
    If the new kernel included in the 22.04 upgrade is conflicting with your ThinkPad’s hardware, rolling back to an older, working kernel is a quick fix:

    1. Reboot your computer and hold the Shift key to bring up the GRUB menu.
    2. Select "Advanced options for Ubuntu" > choose the older kernel version that worked before your system restore (you’ll see version numbers like 5.15.x).
    3. Once logged in, list all installed kernels to identify the problematic one: dpkg --list | grep linux-image
    4. Uninstall the faulty new kernel (replace <version-number> with the actual version): sudo apt remove linux-image-<version-number>-generic linux-headers-<version-number>-generic
    5. Now your system will default to the stable old kernel on reboot—you can wait for Ubuntu to push a fixed kernel update before trying again.

A quick heads-up: Before you start any fixes, make sure your important files are backed up (you can do this when you’re able to log in after system restore) just to be safe.

备注:内容来源于stack exchange,提问作者Walrus4786

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.21 16:24:50