X11VNC is a lightweight VNC server that allows you to remotely view and control your Batocera system's desktop environment. It mirrors the actual X11 session in real-time, so what you see locally is what you get remotely—ideal for managing graphical apps or offering remote support.
X11VNC is available via the Batocera Unofficial Add-Ons (BUA) system:
X11VNC can be configured with a password file for secure access:
x11vnc -storepasswd yourpassword ~/.vnc/passwd
/userdata/system/services/x11vnc
RUN_CMD line to include the password file:RUN_CMD="x11vnc -display :0 -rfbport 5900 -reopen -forever -shared -rfbauth ~/.vnc/passwd"
This will require VNC clients to enter the password before connecting.
| Issue | Solution |
|---|---|
| Cannot connect | Make sure port 5900 is open on your local network. |
| Black screen | Try launching a graphical app first (e.g., File Manager) or reboot after install. |
| Lag or choppiness | Use a lightweight client (e.g., TigerVNC) and connect over LAN for best performance. |
X11VNC is a simple and powerful way to access your Batocera desktop remotely with minimal configuration.