I'm running an RPi4 headless and connecting over WiFi using VNC Viewer. At some point after opening the viewer window (maybe an hour or two later) that viewer window seems to automatically close. This is an annoyance as I'd like to leave the window open for as long as the RPi4 is running.
Any ideas how to prevent this? I'm not sure whether the problem is on the RPi side versus the VNC Viewer side.