Second display not working on Linux Ubuntu

Abenezer Belachew

Abenezer Belachew · August 18, 2024

1 min read

  • Yet another stumble in Linux land. This time, it's the second display not working on Linux Ubuntu 22.04.4 LTS, the distro I'm currently using.
  • This is the first time I've had to deal with this issue and it was not fun. At first, I thought it had something to do with the display port cable I was using but that turned out to be a red herring.
  • When I used the HDMI cable, the issue persisted. So I thought maybe it's the HDMI port on my laptop or the HDMI cable itself but that wasn't the case either since it worked fine when I tried it on a Windows machine.

I attempted several solutions, such as restarting the display manager:

sudo systemctl restart gdm

However, these efforts were unsuccessful.

  • What finally resolved the issue was installing the appropriate drivers using the following command:
sudo ubuntu-drivers autoinstall
  • After rebooting my machine, the second display started working again.

Yay.