diff --git a/Dockerfile b/Dockerfile index 9871e07..2ebba26 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/README.md b/README.md index c712e00..437f516 100644 --- a/README.md +++ b/README.md @@ -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` diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 2e40733..13d8837 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -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