diff options
| author | Matus Novak <[email protected]> | 2020-06-10 00:10:48 +0200 |
|---|---|---|
| committer | Matus Novak <[email protected]> | 2020-06-10 00:10:48 +0200 |
| commit | 2c19db36f9b00a3782044ef9ea3c2d0e1023d6a7 (patch) | |
| tree | efd0ab8dc38965a28cdb2f69471ff601304d9548 | |
| parent | Add upcoming features & twitter (diff) | |
| download | docker-osx-2c19db36f9b00a3782044ef9ea3c2d0e1023d6a7.tar.xz docker-osx-2c19db36f9b00a3782044ef9ea3c2d0e1023d6a7.zip | |
Kill badly terminated old vnc session before vnc starts
| -rw-r--r-- | vnc-version/Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vnc-version/Dockerfile b/vnc-version/Dockerfile index 3c3bede..e3e6103 100644 --- a/vnc-version/Dockerfile +++ b/vnc-version/Dockerfile @@ -87,8 +87,9 @@ RUN printf '%s\n' \ 'xterm &' > ~/.vnc/xstartup # this won't work if you have 99 monitors, 98 monitors is fine though -RUN printf '%s\n%s\n\n' \ +RUN printf '%s\n%s\n%s\n\n' \ 'export DISPLAY=:99' \ +'vncserver -kill :99 || true' \ 'vncserver -geometry 1920x1080 -depth ${DEPTH:=24} -xstartup ~/.vnc/xstartup :99' > vnc.sh RUN cat vnc.sh OpenCore-Boot.sh > OpenCore-Boot_custom.sh |