mirror of
https://git.proxmox.com/git/mirror_novnc
synced 2025-08-12 06:33:40 +00:00
chore: fix some typos
Signed-off-by: tianzedavid <cuitianze@aliyun.com>
This commit is contained in:
parent
bb797dcb2a
commit
7ee7922766
@ -143,7 +143,7 @@ If you want to use certificate files, due to standard snap confinement restricti
|
|||||||
#### Running noVNC from snap as a service (daemon)
|
#### Running noVNC from snap as a service (daemon)
|
||||||
The snap package also has the capability to run a 'novnc' service which can be
|
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
|
configured to listen on multiple ports connecting to multiple VNC servers
|
||||||
(effectively a service runing multiple instances of novnc).
|
(effectively a service running multiple instances of novnc).
|
||||||
Instructions (with example values):
|
Instructions (with example values):
|
||||||
|
|
||||||
List current services (out-of-box this will be blank):
|
List current services (out-of-box this will be blank):
|
||||||
|
@ -13,7 +13,7 @@ import Base64 from '../base64.js';
|
|||||||
|
|
||||||
// Touch detection
|
// Touch detection
|
||||||
export let isTouchDevice = ('ontouchstart' in document.documentElement) ||
|
export let isTouchDevice = ('ontouchstart' in document.documentElement) ||
|
||||||
// requried for Chrome debugger
|
// required for Chrome debugger
|
||||||
(document.ontouchstart !== undefined) ||
|
(document.ontouchstart !== undefined) ||
|
||||||
// required for MS Surface
|
// required for MS Surface
|
||||||
(navigator.maxTouchPoints > 0) ||
|
(navigator.maxTouchPoints > 0) ||
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
# "vnc": "localhost:5902"
|
# "vnc": "localhost:5902"
|
||||||
#}
|
#}
|
||||||
#}
|
#}
|
||||||
snapctl get services | jq -c '.[]' | while read service; do # for each service the user sepcified..
|
snapctl get services | jq -c '.[]' | while read service; do # for each service the user specified..
|
||||||
# get the important data for the service (listen port, VNC host:port)
|
# get the important data for the service (listen port, VNC host:port)
|
||||||
listen_port="$(echo $service | jq --raw-output '.listen')"
|
listen_port="$(echo $service | jq --raw-output '.listen')"
|
||||||
vnc_host_port="$(echo $service | jq --raw-output '.vnc')" # --raw-output removes any quotation marks from the output
|
vnc_host_port="$(echo $service | jq --raw-output '.vnc')" # --raw-output removes any quotation marks from the output
|
||||||
|
Loading…
Reference in New Issue
Block a user