diff --git a/Dockerfile b/Dockerfile index 716eb35..2f23bd2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -96,9 +96,11 @@ rm -rf /var/lib/apt/lists/* # novnc +# download websockify as well RUN wget https://github.com/novnc/noVNC/archive/v1.1.0.zip && \ unzip -q v1.1.0.zip && \ - rm -rf v1.1.0.zip + rm -rf v1.1.0.zip && \ + git clone https://github.com/novnc/websockify /noVNC-1.1.0/utils/websockify # (3) Run Xorg server + x11vnc + X applications # see run.sh for details diff --git a/run.sh b/run.sh index 421a032..40c5a16 100644 --- a/run.sh +++ b/run.sh @@ -23,6 +23,8 @@ /noVNC-1.1.0/utils/launch.sh --vnc localhost:5900 --listen 8081 & sleep 2 +echo 'running noVNC at http://localhost:8081/vnc.html?host=localhost&port=8081' + # 3. start simulator export DISPLAY=:0 # ./lg/simulator -screen-height 480 -screen-width 640 -screen-quality Beautiful -screen-fullscreen 0