Skip to content

Commit 0d15605

Browse files
committed
install correct packages
1 parent cb8bc05 commit 0d15605

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

assets/all/startVNCServerStep2.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ fi
3232

3333
vncrc_line="\$geometry = \"${DIMENSIONS}\";"
3434
echo $vncrc_line > /home/$INITIAL_USERNAME/.vncrc
35+
mkdir -p /home/$INITIAL_USERNAME/.vnc
36+
echo '#!/bin/sh' > /home/$INITIAL_USERNAME/.vnc/xstartup
37+
echo '/usr/bin/startxfce4' >> /home/$INITIAL_USERNAME/.vnc/xstartup
38+
chmod 777 /home/$INITIAL_USERNAME/.vnc/xstartup
3539

3640
if [[ -z "${VNC_DISPLAY}" ]]; then
3741
VNC_DISPLAY="51"

input/main.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ apt-get update
1515

1616
#install some packages with need for UserLAnd
1717
export DEBIAN_FRONTEND=noninteractive
18-
apt-get install -y --no-install-recommends sudo dropbear libgl1-mesa-glx tightvncserver xterm xfonts-base twm expect wget curl
18+
apt-get install -y --no-install-recommends sudo dropbear libgl1-mesa-glx tightvncserver xterm xfonts-base expect wget curl
1919
apt-get install -y pulseaudio
20+
apt-get install -y xfce4 dbus-x11
2021

2122
#clean up after ourselves
2223
apt-get clean

0 commit comments

Comments
 (0)