Skip to content

Commit

Permalink
reconfigure xfonts-base on first vnc launch
Browse files Browse the repository at this point in the history
  • Loading branch information
corbinlc committed Oct 22, 2019
1 parent aa4fbfb commit f5c46b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 6 additions & 0 deletions assets/all/startVNCServer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,10 @@ if [[ -z "${INITIAL_USERNAME}" ]]; then
INITIAL_USERNAME="user"
fi

#weirdly need to reconfigure xfonts-base for armhf after extraction
if [ ! -f /support/.reconfigure_xfonts ]; then
dpkg-reconfigure xfonts-base
touch /support/.reconfigure_xfonts
fi

su $INITIAL_USERNAME -c /support/startVNCServerStep2.sh
3 changes: 0 additions & 3 deletions input/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ apt-get update
#install some packages with need for UserLAnd
apt-get install -y --no-install-recommends sudo dropbear libgl1-mesa-glx tightvncserver xterm xfonts-base twm expect

#weirdly need to reconfigure xfonts-base for armhf
dpkg-reconfigure xfonts-base

#clean up after ourselves
apt-get clean

Expand Down

0 comments on commit f5c46b2

Please sign in to comment.