1

I am running my Pi 4 headless using VNC. Everything works as expected, however when I reboot the Pi, VNC does not reconnect unless I physically connect a monitor directly to the HDMI port on the Pi. After that all is good and I can disconnect the monitor from the Pi.

SkyPlayX
  • 312
  • 3
  • 16
Clive
  • 19
  • 2

1 Answers1

2

If you want to run without a monitor you need to create a DISPLAY

See https://raspberrypi.stackexchange.com/a/109282/8697

Alternatively you can you can create a Virtual Desktop
See https://raspberrypi.stackexchange.com/a/106627/8697

Milliways
  • 59,890
  • 31
  • 101
  • 209
  • 2
    Great thanks for the help, this was sorted... So with default settings and no monitor attached, VNC will NOT work, as the booted RPI4 will not have a video output system that can be used by VNC. Adding hdmi_force_hotplug=1 to /boot/config.txt solves the problem. The Pi4 running headless, will now be able to be accessed via VNC. – Clive Mar 22 '20 at 14:19
  • 2
    Then please add your own answer and select the green tick mark. – SkyPlayX Mar 22 '20 at 14:51