Only allow vnc client connections from localhost

ib_pps_upgrade
Tyler Goodlet 2022-07-26 09:47:36 -04:00
parent c7b84ab500
commit db5aacdb9c
1 changed files with 9 additions and 5 deletions

View File

@ -2,15 +2,19 @@
# start VNC server # start VNC server
x11vnc \ x11vnc \
-ncache_cr \ -listen 127.0.0.1 \
-listen localhost \ -allow 127.0.0.1 \
-autoport 3003 \
-no6 \
-noipv6 \
-display :1 \ -display :1 \
-bg \
-forever \ -forever \
-shared \ -shared \
-logappend /var/log/x11vnc.log \ -logappend /var/log/x11vnc.log \
-bg \ -ncache_cr \
-noipv6 \ -ncache \
-autoport 3003 \
# can't use this because of ``asyncvnc`` issue: # can't use this because of ``asyncvnc`` issue:
# https://github.com/barneygale/asyncvnc/issues/1 # https://github.com/barneygale/asyncvnc/issues/1
# -passwd 'ibcansmbz' # -passwd 'ibcansmbz'