diff options
author | Tim Edwards <liststuff@fastmail.com.au> | 2022-03-02 19:05:35 +1100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2022-03-04 16:31:21 +0100 |
commit | 80a7c1dbf1c6eb70eb584b3c60adb385bbc0ff7e (patch) | |
tree | 0143ec16021356aea5a17d29cafef91c1d3f792d | |
parent | 679b45fa3b453c7cf32f4b4455f4814818ecf161 (diff) | |
download | novnc-80a7c1dbf1c6eb70eb584b3c60adb385bbc0ff7e.tar.gz |
Update README.md
-rw-r--r-- | README.md | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -128,13 +128,17 @@ Running the command below will install the latest release of noVNC from Snap: `sudo snap install novnc` -#### Running noVNC +#### Running noVNC from Snap Directly You can run the Snap-package installed novnc directly with, for example: `novnc --listen 6081 --vnc localhost:5901 # /snap/bin/novnc if /snap/bin is not in your PATH` -#### Running as a Service (Daemon) +If you want to use certificate files, due to standard Snap confinement restrictions you need to have them in the /home/\<user\>/snap/novnc/current/ directory. If your username is jsmith an example command would be: + + `novnc --listen 8443 --cert ~jsmith/snap/novnc/current/self.crt --key ~jsmith/snap/novnc/current/self.key --vnc ubuntu.example.com:5901` + +#### Running noVNC from Snap as a Service (Daemon) The Snap package also has the capability to run a 'novnc' service which can be configured to listen on multiple ports connecting to multiple VNC servers (effectively a service runing multiple instances of novnc). |