7

I tried to use VNC (remote desktop viewer) on a computer that does not have a monitor but failed. When that computer has a monitor, VNC viewer works fine. Also in both cases, ssh remote access works fine.

Could anyone advise me what to do? Is it required that the computer must be connected to a monitor in order for a VNC viewer to access it?

lcb
  • 203

4 Answers4

2

hdmi_force_hotplug=1

add the above line to /boot/config.txt in raspberry OS or /boot/firmware/config.txt in ubuntu on rpi4

0

On my I could set the RaspPi to composite. Here is how. On the RaspPi click the RaspPi icon > Preferences > Raspberry Pi Configuration > Display > Composite Video = Enable. I came across this by shotgunning so I don't know what else it does. The HDML is disabled so you'll need to VNC to change it back.

0

I had the same problem, and after doing some research, I found the simplest solution to be a hardware one: I got one of these HDMI dummy plugs. It fools your system into thinking a monitor is connected. Less than $10, and worked like a charm.

-1

This worked for me. Basically cli into the OS. In my case Raspbian run raspi-config and change resolution. I changed mine to 1024x768 and it worked. Others have said they had to go to 1280x768 to fix.

https://www.tomshardware.com/how-to/fix-cannot-currently-show-desktop-error-raspberry-pi

Adamt
  • 1