create .vnc dir

This commit is contained in:
Sam Heinz
2024-06-14 12:31:42 +10:00
parent 44e7375a45
commit ab32f1af6c

View File

@@ -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