From 2faa27cb7f4319f315fc7871816ea27b6267a66c Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Wed, 24 Apr 2019 13:08:09 +0200 Subject: [PATCH] Added documentation on the Snap package --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 566b8e4f..6868e863 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,13 @@ proxy. script. Hit the Connect button, enter a password if the VNC server has one configured, and enjoy! +### Installation from Snap Package +To install from Snap: + `sudo snap install novnc` +By default the Snap package creates 6 services on different ports which allow access to the local VNC server. So novnc.n5900 listens on port 6080 and connects to the VNC services on localhost:5901, novnc.n5901 listens on port 6081 and connects to localhost:5901 and so on up to port 6085 and localhost:5905. These services can be started/stopped with the usual `snap service` commands, e.g: `sudo snap stop novnc.n5901` + +If you stop the services noVNC can then be run manually with: + `novnc --vnc localhost:5901 # /snap/bin/novnc if /snap/bin is not in your PATH` ### Integration and Deployment