aboutsummaryrefslogtreecommitdiff
path: root/startup.sh
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2022-10-28 11:34:41 -0400
committerRob Austein <sra@hactrn.net>2022-10-28 11:34:41 -0400
commit973f09940fea1d2ae0a6873857492584891891b1 (patch)
tree505ad62085a0105470096460e4d5f71e23913aaa /startup.sh
parent95e4f6382495b219edc1f60529125488bd83785b (diff)
Update to Bullseye, make screen size configurableHEADmaster
Diffstat (limited to 'startup.sh')
-rwxr-xr-xstartup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/startup.sh b/startup.sh
index 792c469..b4f1dee 100755
--- a/startup.sh
+++ b/startup.sh
@@ -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