Hello! I converted an old laptop with a broken screen into a home server, and it all works well except for one thing: when I reboot it (via ssh), if no screen is connected, it will get stuck and refuse to boot. as soon as I connect an HDMI monitor, the fans will start spinning and it will start booting as usual. Then I can remove the HDMI and it will work flawlessly. I don’t know if this is a linux problem, a GRUB problem, or a firmware problem.
Any idea on how to solve this, or on how to fool it into thinking a screen is connected? The problem is not the lid switch as I removed the magnet from the screen, so it thinks the lid is always open

Thanks in advance!

  • @ExLisper@linux.community
    link
    fedilink
    English
    15 months ago

    You just need to configure X11 to run in a headless mode. There’s a lot of guides showing how to do it for raspberryPi but I did it in Debian recently and it’s working fine, no dummy HDMI plugs needed. Look into xserver-xorg-video-dummy package. I don’t remember how exactly I set it up but I don’t see any specific configuration on my server so maybe installing this package is all it takes.

    • tubbaduOP
      link
      15 months ago

      xserver-xorg-video-dummy

      it gets stuck before grub showing, can this still be the fix?

      • @ExLisper@linux.community
        link
        fedilink
        English
        25 months ago

        Ups, sorry, missed the part about not even fans spinning. If it’s not even booting then X11 config will not help.

        • tubbaduOP
          link
          15 months ago

          no problem, thanks for trying to help!