remove VNC_PASSWORD
Usually behind firewall and process is short-lived, except for when no longer logged in.
This commit is contained in:
parent
1dbe239e48
commit
9f0e50afb6
3 changed files with 2 additions and 3 deletions
|
|
@ -19,7 +19,7 @@ rm -f /tmp/.X1-lock
|
|||
# −screen NUM WxHxD creates the screen and sets its width, height, and depth
|
||||
|
||||
Xvfb :1 -ac -screen 0 "${SCREEN_WIDTH}x${SCREEN_HEIGHT}x${SCREEN_DEPTH}" >/dev/null 2>&1 &
|
||||
x11vnc -display :1.0 -forever -shared -rfbport "${VNC_PORT:-5900}" -passwd "${VNC_PASSWORD:-secret}" -bg
|
||||
x11vnc -display :1.0 -forever -shared -rfbport "${VNC_PORT:-5900}" -bg -nopw # -passwd "${VNC_PASSWORD}"
|
||||
websockify -D --web "$NOVNC_HOME" "$NOVNC_PORT" "localhost:$VNC_PORT" &
|
||||
DISPLAY=:1.0
|
||||
export DISPLAY
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue