Fix for RealVNC closing connection after connection
VNC Viewer from RealVNC uses “ColorLevel” pal8, which most VNC servers do not support. Please follow these steps in order to connect successfully:1
Open the RealVNC options menu
2
Click "Advanced Options" near the bottom left corner of your app.
3
Click "Expert" tab and change "ColorLevel" value from its default setting to full, rgb332 or rgb565