This guide walks through a self-hosted installation of noVNC.
noVNC is a VNC client only - it requires:
┌─────────────┐ ┌──────────────┐ ┌─────────────┐
│ Browser │────▶│ noVNC + │────▶│ VNC Server │
│ (HTTPS) │◀────│ websockify │◀────│ (port 5901) │
└─────────────┘ └──────────────┘ └─────────────┘
wss:// port 6081
For Docker installation, see Docker.
Install Git to clone the project repository.
sudo apt-get update && sudo apt-get install -y git
Download the source code to the server.
git clone https://github.com/novnc/noVNC novnc
cd novnc
noVNC includes a proxy script that combines websockify with the noVNC client:
./utils/novnc_proxy --vnc localhost:5901 --listen 6081
Or with SSL/TLS:
./utils/novnc_proxy --vnc localhost:5901 --listen 6081 \
--cert /path/to/cert.pem --key /path/to/key.pem
Open your browser to http://YOUR-SERVER:6081/vnc.html and connect to your VNC server.
For containerized deployments, see:
Any questions?
Feel free to contact us. Find all contact information on our contact page.