remove VNC_PASSWORD

Usually behind firewall and process is short-lived, except for when no longer logged in.
This commit is contained in:
Ralf Vogler 2022-10-20 20:09:12 +02:00
parent 1dbe239e48
commit 9f0e50afb6
3 changed files with 2 additions and 3 deletions

View file

@ -9,7 +9,6 @@ ENV SCREEN_HEIGHT 900
ENV SCREEN_DEPTH 24
# Configure VNC via environment variables:
ENV VNC_PASSWORD secret
ENV VNC_PORT 5900
ENV NOVNC_PORT 6080
ENV NOVNC_HOME /usr/share/novnc

View file

@ -31,7 +31,7 @@ Alternatives:
- [Install Docker](https://docs.docker.com/get-docker/)
- `npm run docker:build`
- `npm run docker:epic-games`
- When you need to login, go to http://localhost:6080 with password `secret` (you can also connect with another VNC client)
- When you need to login, go to http://localhost:6080 (you can also connect with any other VNC client on port 5900)
### Amazon Prime Gaming
Run `node prime-gaming`

View file

@ -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