File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 3232
3333vncrc_line=" \$ geometry = \" ${DIMENSIONS} \" ;"
3434echo $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/startlxde' >> /home/$INITIAL_USERNAME /.vnc/xstartup
38+ chmod 777 /home/$INITIAL_USERNAME /.vnc/xstartup
3539
3640if [[ -z " ${VNC_DISPLAY} " ]]; then
3741 VNC_DISPLAY=" 51"
Original file line number Diff line number Diff line change @@ -15,8 +15,9 @@ apt-get update
1515
1616# install some packages with need for UserLAnd
1717export 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
1919apt-get install -y pulseaudio
20+ apt-get install -y lxde
2021
2122# clean up after ourselves
2223apt-get clean
You can’t perform that action at this time.
0 commit comments