NOVNC

From KG7QIN's Wiki
Revision as of 05:38, 17 February 2025 by Kg7qin (talk | contribs) (Created initial page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The following are various ways to setup NOVNC for connecting to a VNC session via a web browser

Simple way

This assumes you already have VNC setup and running on the same system that NOVNC will run on.

  • Pull latest NOVNC sources from GitHub:
git clone https://github.com/novnc/noVNC.git --depth 2
cd noVNC
  • Setup SSL certificate for web browser. Change -days to the max number of days you want the self signed cert valid for.
openssl req -x509 -nodes -newkey rsa:2048 -keyout novnc.pem -out novnc.pem -days 365
  • Launch NOVNC with SSL cert to connect to VNC running on same host
nohup ./utils/novnc_proxy --vnc localhost:5900 --cert novnc.pem --ssl-only --listen 443 &