Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4714

Troubleshooting • VNC server not starting on fresh RPi4 installation

$
0
0
I've only ever used my RPi's in headless configuration via ssh. I am trying to set a new system up with VNC. There are many guides out there that all show the same steps of enabling the VNC server via raspi-config which I have done. When I scan the ports on the RPi I only see port 22. After looking around it appears that the OS uses wayvnc server so I tried running "wayvnc" at the command line to see if I could manually start the service. I see the following:

Code:

pi@RPi4-CNC:~ $ wayvncERROR: ../src/main.c: 527: WAYLAND_DISPLAY is not set in the environmentERROR: ../src/main.c: 1876: Failed to initialise wayland
I'm not familiar with setting up VNC servers and cannot seem to find a way to set the environment variable manually. I didn't find the error on google so I'm not sure where to go next. This is new to me so if someone could point me in the right direction I'd appreciate.

Statistics: Posted by bkenobi — Sat May 11, 2024 1:47 am — Replies 3 — Views 64



Viewing all articles
Browse latest Browse all 4714

Trending Articles