Tuesday, September 8, 2026

How to Fix Black Screen After Installing Ubuntu


Installing Ubuntu is usually a straightforward process, but some users may encounter a frustrating problem after completing the installation: the computer boots, but the screen remains completely black. In some cases, you may see the Ubuntu logo briefly before the display goes dark. In other situations, the monitor may show a black screen immediately after selecting Ubuntu from the boot menu.
A black screen after installing Ubuntu can be caused by several factors, including incompatible graphics drivers, incorrect display settings, Secure Boot, GRUB configuration problems, or compatibility issues with NVIDIA, AMD, or Intel graphics hardware. The problem can also occur when Ubuntu successfully starts in the background but fails to initialize the graphical desktop.
Fortunately, a black screen does not necessarily mean that your Ubuntu installation is damaged. In many cases, the problem can be fixed by changing a boot parameter, entering recovery mode, reinstalling the graphics driver, or correcting the display configuration.
This guide explains several practical methods to fix a black screen after installing Ubuntu, starting with the simplest solutions and progressing to more advanced troubleshooting steps.

Why Does Ubuntu Show a Black Screen After Installation?

Before trying different solutions, it is useful to understand why the problem occurs.
One of the most common causes is a graphics driver compatibility issue. Ubuntu may use an open-source driver by default, while some graphics cards work better with proprietary drivers. This is particularly common with NVIDIA GPUs.
A black screen can also occur because of :
  • Incompatible NVIDIA, AMD, or Intel graphics drivers
  • Incorrect GRUB boot parameters
  • Secure Boot interfering with proprietary drivers
  • Wayland compatibility problems
  • Incorrect display resolution or refresh rate
  • Kernel or graphics stack problems
  • Problems with external monitors
  • Hybrid graphics on laptops
  • Corrupted desktop environment packages
  • Incorrect Xorg configuration
  • BIOS or UEFI compatibility settings
The correct solution depends on what happens immediately before the screen turns black.

Solutions to Fix Black Screen After Installing Ubuntu

  1. Check the Monitor and Display Connection

    Before changing Ubuntu settings, make sure the problem is actually related to Ubuntu.
    If you are using a desktop computer, check that the monitor is powered on and connected correctly. Try disconnecting and reconnecting the HDMI, DisplayPort, DVI, or other video cable.
    If your computer has a dedicated graphics card, make sure the monitor cable is connected to the graphics card rather than the motherboard's video output.
    For example, if an NVIDIA graphics card is installed, connect the monitor directly to the NVIDIA card.
    You can also try :
    • A different video cable
    • A different monitor
    • Another HDMI or DisplayPort connector
    • Disconnecting unnecessary displays
    • Booting with only one monitor connected
    If Ubuntu works on another display, the problem may be related to display detection or resolution rather than the operating system itself.
  2. Try the Ubuntu Recovery Mode

    Ubuntu includes a recovery mode that can be useful when the normal graphical desktop does not start.
    Restart the computer and open the GRUB boot menu. Depending on your configuration, you may need to hold the Shift key or repeatedly press Esc during startup.
    From the GRUB menu, select : Advanced options for Ubuntu
    You should see several Ubuntu kernel entries. Select the entry containing :
    (recovery mode)
    The recovery menu provides several options for troubleshooting the system.
    You can try :
    dpkg – Repairs broken packages.
    fsck – Checks the filesystem for errors.
    network – Enables network connectivity when possible.
    root – Opens a root shell for advanced troubleshooting.
    After repairing packages, restart the computer and check whether the graphical desktop loads normally.
  3. Boot Ubuntu Using the nomodeset Parameter

    One of the most useful methods for troubleshooting a black screen is using the nomodeset boot parameter.
    This parameter prevents Linux from immediately enabling advanced graphics modes. It can allow Ubuntu to boot using a basic display mode, which is especially useful when the installed graphics driver is causing the problem.
    At the GRUB menu, highlight the normal Ubuntu entry and press E to edit it.
    Find the line containing something similar to :
    quiet splash
    Add nomodeset after it :
    quiet splash nomodeset
    Press Ctrl + X or F10 to continue booting.
    If Ubuntu successfully reaches the desktop, the problem is likely related to the graphics driver or graphics initialization.
    Keep in mind that nomodeset is generally a troubleshooting workaround rather than a permanent solution. Your display may have limited resolution or graphics performance while using it.
  4. Install the Correct Graphics Driver

    If Ubuntu boots successfully with nomodeset, the next step is to install an appropriate graphics driver.
    For NVIDIA graphics cards, Ubuntu may provide proprietary drivers that are better suited to your hardware.
    Once you reach the desktop, open :
    Software & Updates → Additional Drivers
    Wait while Ubuntu searches for available drivers.
    You may see several options, including an open-source driver and one or more proprietary NVIDIA drivers.
    Select the recommended driver and click Apply Changes.
    After installation completes, restart the computer.
    If the correct driver was the cause of the black screen, Ubuntu should now start normally without nomodeset.
    You can also check available NVIDIA drivers from the terminal :
    ubuntu-drivers devices
    To automatically install the recommended driver, you can use :
    sudo ubuntu-drivers autoinstall
    Restart afterward :
    sudo reboot
    Avoid installing random graphics drivers from unofficial sources unless you know exactly what you are doing. A mismatched driver can create additional boot problems.
  5. Disable Secure Boot Temporarily

    Secure Boot is a security feature available on many modern UEFI systems. It helps prevent unauthorized software from running during the boot process.
    Although Secure Boot is normally beneficial, it can sometimes interfere with third-party kernel modules or proprietary graphics drivers.
    If you have installed an NVIDIA driver and Ubuntu suddenly displays a black screen, Secure Boot is worth checking.
    Restart the computer and enter the BIOS/UEFI settings. The required key varies by manufacturer and may be F2, F10, F12, Delete, or Esc.
    Look for an option named :
    Secure Boot
    If it is enabled, you can temporarily disable it and then save the changes.
    Boot Ubuntu again.
    If the black screen disappears, Secure Boot may have been preventing the graphics driver or related kernel module from loading correctly.
    Do not disable security features permanently unless necessary. If your system can be configured to use the required driver while keeping Secure Boot enabled, that is generally preferable.
  6. Try Switching Between Wayland and Xorg

    Ubuntu versions using GNOME may use Wayland as the default display server on supported hardware. While Wayland works well on many systems, some graphics configurations can experience compatibility problems.
    At the Ubuntu login screen, select your username.
    Before entering your password, look for the session or gear icon.
    Depending on your Ubuntu version, you may see options such as :
    Ubuntu
    or
    Ubuntu on Xorg
    Select Ubuntu on Xorg and log in.
    If the desktop works correctly with Xorg but not with the default session, the problem may be related to Wayland compatibility.
    This method can be particularly useful when troubleshooting certain NVIDIA configurations or older graphics hardware.
  7. Check Whether Ubuntu Is Actually Running

    Sometimes the screen is black even though Ubuntu has successfully booted in the background.
    You can test this by switching to a virtual terminal.
    Press : Ctrl + Alt + F3
    You may see a text-based login screen.
    Enter your Ubuntu username and password.
    If you can log in, Ubuntu itself is running and the problem is probably related to the graphical environment.
    You can check whether the display manager is running with :
    systemctl status gdm3
    On systems using another display manager, the service name may be different.
    You can also restart the GNOME display manager :
    sudo systemctl restart gdm3
    Be aware that restarting the display manager will terminate the current graphical session.
    If the graphical desktop appears afterward, the problem may have been caused by the display manager failing to start correctly.
  8. Repair Broken Packages

    An interrupted installation or package problem can prevent Ubuntu's graphical desktop from starting.
    From a terminal or recovery shell, update the package information :
    sudo apt update
    Then repair broken dependencies :
    sudo apt --fix-broken install
    You can also reconfigure incomplete packages :
    sudo dpkg --configure -a
    Afterward, update the system :
    sudo apt upgrade
    Restart the computer :
    sudo reboot
    This can resolve black-screen problems caused by incomplete packages or interrupted updates.
  9. Reinstall the Desktop Environment

    If Ubuntu boots to a terminal but the graphical desktop refuses to start, the desktop environment itself may be damaged.
    For standard Ubuntu installations using GNOME, you can reinstall the desktop packages.
    For example :
    sudo apt install --reinstall ubuntu-desktop
    You can also reinstall the display manager if necessary :
    sudo apt install --reinstall gdm3
    After reinstalling the relevant packages, restart the computer.
    This method should generally be considered after simpler solutions have failed because reinstalling desktop packages can take some time and may modify system components.
  10. Check Hybrid Graphics on Laptops

    Laptop computers often contain two graphics processors :
    • Integrated Intel or AMD graphics
    • Dedicated NVIDIA graphics
    This configuration is commonly called hybrid graphics.
    Problems can occur when Ubuntu switches between the integrated and dedicated GPU incorrectly.
    If you can access the terminal, check your graphics hardware :
    lspci | grep -E "VGA|3D|Display"
    This command can show which graphics adapters are installed.
    If the laptop contains an NVIDIA GPU, make sure the NVIDIA driver is properly installed and configured.
    On some systems, switching to the integrated graphics mode in BIOS/UEFI can also help determine whether the dedicated GPU is responsible for the problem.
    If Ubuntu works with integrated graphics but produces a black screen when using the dedicated GPU, the graphics driver should be the primary area of investigation.
  11. Check GRUB Configuration

    GRUB is the bootloader responsible for presenting the operating system boot options.
    An incorrect GRUB configuration can sometimes cause Ubuntu to boot incorrectly.
    From a working terminal, you can regenerate the GRUB configuration :
    sudo update-grub
    Then restart :
    sudo reboot
    If you previously added custom kernel parameters, review them carefully.
    For example, parameters related to graphics, ACPI, or hardware compatibility can affect how Ubuntu initializes the system.
    Avoid adding random kernel parameters from internet forums without understanding what they do. Some parameters may solve one hardware configuration while creating problems on another.
  12. Update Ubuntu and the Linux Kernel

    If you installed Ubuntu on relatively new hardware, an older kernel may not provide complete support for your graphics card or other hardware.
    If you can reach the desktop or terminal, make sure the system is updated :
    sudo apt update
    sudo apt upgrade

    You should also install available kernel updates through Ubuntu's normal update mechanism.
    Newer kernels can improve compatibility with newer GPUs, processors, monitors, and other devices.
    However, if the black screen started immediately after a kernel update, try selecting an older kernel from :
    GRUB → Advanced options for Ubuntu
    If the older kernel works correctly, the problem may be related to the newer kernel or its associated graphics modules.
  13. Try a Different Ubuntu Kernel from GRUB

    Sometimes the newest installed kernel is not the best option for a particular hardware configuration.
    Restart the computer and open the GRUB menu.
    Select : Advanced options for Ubuntu
    You should see multiple kernel versions if more than one is installed.
    Select an older kernel and press Enter.
    If Ubuntu boots normally, you have strong evidence that the problem is kernel-related.
    You can continue using the working kernel temporarily while investigating the newer kernel.
    Do not remove the working kernel until you have confirmed that another kernel can successfully boot your system.
  14. Reset Custom Xorg Configuration

    Older Ubuntu installations or manual graphics configurations may contain an Xorg configuration file that interferes with the current graphics stack.
    Check whether a custom Xorg configuration exists :
    ls /etc/X11/xorg.conf
    If you previously created this file manually, consider moving it temporarily rather than deleting it immediately.
    For example :
    sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
    Then restart the computer.
    Ubuntu can attempt to automatically detect and configure the graphics hardware.
    This method is particularly relevant if the black screen appeared after manually modifying Xorg settings.
  15. Disconnect External Devices

    USB devices and external hardware are not usually the direct cause of an Ubuntu black screen, but troubleshooting is easier when unnecessary hardware is removed.
    Disconnect :
    • External hard drives
    • USB hubs
    • Printers
    • USB adapters
    • Capture devices
    • Additional monitors
    • Unnecessary peripherals
    Keep only the keyboard, mouse, and primary display connected.
    Restart Ubuntu and test again.
    If Ubuntu boots normally, reconnect your devices one at a time to identify whether a particular peripheral is contributing to the problem.
  16. Check BIOS or UEFI Graphics Settings

    If none of the software solutions work, inspect your BIOS/UEFI settings.
    Depending on your motherboard or laptop, graphics-related options may include :
    • Integrated Graphics
    • Dedicated Graphics
    • Hybrid Graphics
    • CSM
    • UEFI Boot
    • Secure Boot
    • Primary Display
    • Above 4G Decoding
    Do not randomly change multiple BIOS settings at once. Change one setting, save it, and test Ubuntu.
    This makes it much easier to determine which setting affects the problem.
  17. Use a Live Ubuntu USB to Diagnose the Problem

    If Ubuntu remains completely unusable, boot from an Ubuntu Live USB.
    The Live environment allows you to run Ubuntu without relying on the installed operating system.
    If the Live USB also produces a black screen, the problem may involve :
    • Graphics hardware
    • Monitor compatibility
    • BIOS/UEFI configuration
    • Kernel compatibility
    • GPU firmware or driver support
    If the Live USB works normally but the installed Ubuntu system shows a black screen, the problem is more likely related to the installed system's drivers, packages, GRUB configuration, or desktop environment.
    This distinction is extremely useful when troubleshooting.
  18. When Should You Reinstall Ubuntu?

    Reinstalling Ubuntu should usually be the last resort rather than the first solution.
    If you can access your files and terminal, it is often possible to repair the existing installation without reinstalling the operating system.
    However, a clean installation may be reasonable when :
    • The installation was interrupted
    • Important system packages were removed
    • The filesystem is seriously damaged
    • Multiple configuration changes have created conflicts
    • The installation is new and contains no important data
    • Several repair attempts have failed
    Before reinstalling, back up important files whenever possible.
    If the problem is caused by unsupported hardware or a graphics driver, reinstalling the same Ubuntu version may not solve the problem.

Conclusion

A black screen after installing Ubuntu can be frustrating, but it does not automatically mean that the installation has failed. In many cases, the operating system is running normally while the graphical interface is unable to initialize correctly.
The most common causes are graphics driver problems, NVIDIA compatibility issues, Secure Boot, Wayland/Xorg conflicts, incorrect GRUB parameters, kernel problems, and display configuration errors.
Start with simple checks such as the monitor connection and external displays. Then try booting with nomodeset, recovery mode, or a different kernel. If Ubuntu can reach a terminal, repair broken packages and investigate the graphics driver.
For systems with NVIDIA graphics, installing the correct recommended driver is often an important step. On laptops with hybrid graphics, determining which GPU is responsible can also significantly narrow down the problem.
If the installed system cannot be repaired, an Ubuntu Live USB provides a useful way to determine whether the problem is caused by the installation or by hardware compatibility.
By troubleshooting one component at a time, you can usually identify the cause of the black screen and restore Ubuntu without immediately reinstalling the entire operating system.

Related Posts :

Frequently Asked Questions (FAQ)

Why is my screen black after installing Ubuntu?

A black screen after installing Ubuntu is commonly caused by graphics driver problems, incompatible NVIDIA drivers, Secure Boot, incorrect GRUB settings, Wayland or Xorg compatibility issues, or kernel problems. External monitor and display configuration issues can also cause the problem.

How do I fix a black screen after installing Ubuntu?

Start by checking the monitor and cable connections. Then try booting Ubuntu with the nomodeset parameter, using Recovery Mode, installing the correct graphics driver, disabling Secure Boot temporarily, or switching from Wayland to Xorg.

What does nomodeset do in Ubuntu?

The nomodeset parameter prevents Linux from enabling advanced graphics modes during the initial boot process. It can help Ubuntu start when a graphics driver is causing a black screen. However, it is usually a temporary troubleshooting solution rather than a permanent fix.

How do I use nomodeset to fix Ubuntu black screen?

At the GRUB boot menu, select Ubuntu and press E to edit the boot entry. Find quiet splash and add nomodeset after it. The line should look similar to quiet splash nomodeset. Press Ctrl + X or F10 to boot Ubuntu.

Can an NVIDIA driver cause a black screen in Ubuntu?

Yes. An incompatible, incorrectly installed, or improperly configured NVIDIA driver can prevent Ubuntu's graphical desktop from starting. Installing the recommended NVIDIA driver through Software & Updates → Additional Drivers can often resolve the problem.

Can Secure Boot cause a black screen after installing Ubuntu?

Yes. Secure Boot can sometimes prevent proprietary graphics drivers or kernel modules from loading correctly. If Ubuntu displays a black screen after installing a graphics driver, temporarily disabling Secure Boot in the BIOS/UEFI settings can help determine whether it is causing the problem.

How do I access Ubuntu Recovery Mode?

Restart the computer and open the GRUB menu. Select Advanced options for Ubuntu, then choose an Ubuntu kernel entry marked (recovery mode). From the recovery menu, you can repair packages, check the filesystem, access a root shell, and perform other troubleshooting tasks.

How do I open a terminal when Ubuntu has a black screen?

Try pressing Ctrl + Alt + F3 to switch to a virtual terminal. If successful, Ubuntu will display a text-based login screen. After logging in, you can check services, repair packages, reinstall drivers, or troubleshoot the graphical environment using terminal commands.

Can switching from Wayland to Xorg fix an Ubuntu black screen?

Yes. Some graphics hardware and drivers may have compatibility issues with Wayland. At the Ubuntu login screen, select the session options and try Ubuntu on Xorg. If the desktop works correctly with Xorg, the problem may be related to Wayland compatibility.

Should I reinstall Ubuntu if the screen remains black?

Reinstalling Ubuntu should generally be considered a last resort. First, try Recovery Mode, nomodeset, graphics driver troubleshooting, kernel changes, and package repairs. If the installation is severely damaged or other repair methods fail, a clean Ubuntu installation may be appropriate after backing up important files.
Show comments
Hide comments
No comments:
Write komentar

Dapatkan Update Artikel Terbaru Via Email