From f127a15016d837f1ce28ab5e2bfdc44835778de2 Mon Sep 17 00:00:00 2001 From: Sam Heinz <54530346+asylumexp@users.noreply.github.com> Date: Fri, 14 Jun 2024 12:31:42 +1000 Subject: [PATCH] create .vnc dir (cherry picked from commit ab32f1af6c9e6700f11e84a1f92c36871e64e895) --- install/jdownloader2-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/jdownloader2-install.sh b/install/jdownloader2-install.sh index f9006f33..c8c9423a 100644 --- a/install/jdownloader2-install.sh +++ b/install/jdownloader2-install.sh @@ -35,6 +35,7 @@ wget -q http://installer.jdownloader.org/JDownloader.jar msg_ok "Installed JDownloader2" msg_info "Setting up VNC Server" +mkdir /root/.vnc secret=$(openssl rand -base64 8) echo "password: $secret" >>/root/.vnc/passwd echo $secret | vncpasswd -f