diff options
author | Chuck Lantz <clantz@microsoft.com> | 2020-06-23 05:16:41 +0300 |
---|---|---|
committer | Chuck Lantz <clantz@microsoft.com> | 2020-06-23 05:16:41 +0300 |
commit | fde43b37990ee606e5e1128c3183125473b60121 (patch) | |
tree | 42c19afb9dafe9c0953e0a7c48f228ed599fa2c8 /.devcontainer/bin/init-dev-container.sh | |
parent | fa6364164840820442d4ea3a1ada3fc01a7808d8 (diff) |
Resolve windows related issues
Diffstat (limited to '.devcontainer/bin/init-dev-container.sh')
-rw-r--r-- | .devcontainer/bin/init-dev-container.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.devcontainer/bin/init-dev-container.sh b/.devcontainer/bin/init-dev-container.sh index d517bff53a3..260cc275922 100644 --- a/.devcontainer/bin/init-dev-container.sh +++ b/.devcontainer/bin/init-dev-container.sh @@ -70,11 +70,12 @@ startInBackgroundIfNotRunning "Xvfb" sudoIf "Xvfb ${DISPLAY:-:1} +extension RAND # Start fluxbox as a light weight window manager. startInBackgroundIfNotRunning "fluxbox" sudoUserIf "dbus-launch startfluxbox" +# Start x11vnc +startInBackgroundIfNotRunning "x11vnc" sudoIf "x11vnc -display ${DISPLAY:-:1} -rfbport ${VNC_PORT:-5901} -localhost -no6 -xkb -shared -forever -passwdfile $HOME/.vnc/passwd" + # Set resolution /usr/local/bin/set-resolution ${VNC_RESOLUTION:-1280x720} ${VNC_DPI:-72} -# Start x11vnc -startInBackgroundIfNotRunning "x11vnc" sudoIf "x11vnc -display ${DISPLAY:-:1} -rfbport ${VNC_PORT:-5901} -localhost -no6 -xkb -shared -forever -passwdfile $HOME/.vnc/passwd" # Spin up noVNC if installed and not runnning. if [ -d "/usr/local/novnc" ] && [ "$(ps -ef | grep /usr/local/novnc/noVNC*/utils/launch.sh | grep -v grep)" = "" ]; then |