diff options
author | Rob Austein <sra@hactrn.net> | 2022-10-28 11:34:41 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2022-10-28 11:34:41 -0400 |
commit | 973f09940fea1d2ae0a6873857492584891891b1 (patch) | |
tree | 505ad62085a0105470096460e4d5f71e23913aaa | |
parent | 95e4f6382495b219edc1f60529125488bd83785b (diff) |
-rw-r--r-- | Dockerfile | 6 | ||||
-rwxr-xr-x | startup.sh | 4 |
2 files changed, 6 insertions, 4 deletions
@@ -1,6 +1,8 @@ -# At some point maybe add variables to control size of screen. +FROM debian:bullseye -FROM debian:buster +ENV WIDTH=1920 +ENV HEIGHT=1080 +ENV DEPTH=16 RUN apt-get --yes update && apt-get --yes install --no-install-recommends \ firefox-esr \ @@ -3,10 +3,10 @@ export USER=root HOME=/root DISPLAY=:0 XAUTHORITY=$HOME/.Xauthority mkdir -p $HOME/.vnc -echo '' | vncpasswd -f >$HOME/.vnc/passwd +echo fnord | vncpasswd -f >$HOME/.vnc/passwd chmod -R go= $HOME/.vnc # -localhost -vncserver $DISPLAY -geometry 1920x1080 -depth 16 -nolisten tcp +vncserver $DISPLAY -geometry ${WIDTH}x${HEIGHT} -depth ${DEPTH} -nolisten tcp icewm vncserver -kill $DISPLAY |