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.

  • Concerning your second question about your HDMI cable, please try out, if you have the same problem when starting from a live-cd/usb of ubuntu. – BenSower Jan 2 '19 at 15:46

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
  • 1
    I had to leave it in lightdm, because gdm3 starts flickering, thank you so much, I haven't had sleep well last 2 nights. – Cyberdelphos Jun 20 '19 at 6:03
  • 1
    I have the same laptop as you and I verified that I was using gdm3, and did the reconfigure as you suggested and it worked (require a reboot, since restarting the gdm3 service put it in flicker loop). I did not have to switch to lightdm. In my case I outputting video in HDMI and USB-C. – JohnnyCoder Jun 24 '19 at 13:16

The same thing happened to me but I was able to solve it. My solution was:

  1. Turn off the PC.
  2. Disconnect the HDMI cable.
  3. Turn on the PC (without HDMI).
  4. Log in.
  5. Reconnect the HDMI cable.
  • Had the problem after an upgrade to 19.10. This solves my issue. – clement g Oct 28 '19 at 8:25

In case you using Nvidia graphics card the nvidia-driver could be a problem.

In my case, I've been using my Lenovo Y530(GTX 1050 ti) with Ubuntu 18.04 with nvidia-driver 415.xx which hasn't been supporting the secondary monitor through HDMI. I've tried in many ways with no luck. I finally upgraded the driver to 418.39 and the secondary monitor began to work! :)

But be careful in case you decided to go and install the driver but are not used to. There are some scenarios which can harm your system which would eventually lead you to format the system.

  • have the same laptop as you and the same issue. It happened to me after updating my BIOS. I tried to use the newer drivers but did not seem to work for me. I followed these steps: ubuntuhandbook.org/index.php/2019/03/… Did you do it differently? – Vlad Jul 3 '19 at 9:46
  • Yes. I need cuda alongside nvidia-drivers. So, I just downloaded .run file from CUDA Toolkit 10.1 Update 1 Download and installed using it. – David Jung Jul 15 '19 at 5:34
  • Thanks a lot. I used your tip and the previous answer and now it works. So after removing all drivers, installing nvidia drivers i reconfigured and then reinstalled lightdm – Vlad Jul 28 '19 at 21:21

In my case, the NVidia drivers where the trouble. When using the Noveau software the problem was solved! Thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.