Ubuntu – Screen goes black after VGA external monitor plugged in

18.04driversexternal-monitor

Ubuntu 18.04.4
Toshiba Satellite A305 PSAG8U-04001W

I want to setup an external monitor to play videos on my TV. It has a VGA port that I can plug into the side of my old Toshiba laptop. The problem is whenever I plug the VGA cable into the VGA port on my laptop my laptop screen goes black but shows my mouse pointer.

I was able to detect the external monitor one time and I changed the display setting to mirror image before the screen went black. Now I can't detect the external monitor (and my screen goes black so I can't see anything anyway)

I tried shutting down my laptop and plugging the VGA cable in before restarting and I can't even see my boot screen

I tried changing the display settings to 800×600 to see if that changed anything – same problem

How do I fix this?

Best Answer

Here's my permanent solution to the problem, which required I install:

sudo apt install gnome-session-wayland

Once installed, reboot. When at the login screen, a cog should be visible beside the 'Sign In' button. Click on the cog and choose from a selection of desktop environments. I had four:

  • Gnome
  • Gnome on Xorg
  • Ubuntu
  • Ubuntu on Wayland

The two environments in bold supported the external monitor without any problems.


It seems that Wayland is necessary for my external monitor to be recognised.

This became apparent when preventing gdm3 from using Wayland caused my login screen to fail, when it had previously displayed properly.

From there I was able to find what package was necessary to use Wayland on the Desktop, which resulted in the fix described above.

More information on Wayland and Xorg is available here.

Related Question