Hızlı yanıt: kod örneği
According to the documentation:If your Raspberry Pi is headless (i.e. not plugged into a monitor) or
controlling a robot, it is unlikely to be running a graphical desktop.So the idea is to create a new virtual desktop via command and use the display number in VNC.Additional info here.
vncserver-virtual