Ubuntu – HDMI port not detected on Ubuntu 18.04


the HDMI port of my lenovo ideapad 500s with Ubuntu 18.04 LTS is not working.

I also executed the xrandr command, but only the primary monitor is detected.

How can I solve my problem?

How can I check that HDMI is not broken?

Thanks in advance.

Best Answer

How can I solve my problem?

What worked for me (Lenovo thinkpad x1 Carbon, Ubuntu 18.04 LTS), is either switching the display manager back and forth between gdm3 and lightdm

sudo dpkg-reconfigure gdm3

and/or reinstalling lightdm and reconfiguring it again instead of using gdm3

sudo apt-get install --reinstall lightdm ubuntu-desktop
Related Question