dont add 'password: ' to start

This commit is contained in:
Sam Heinz
2024-06-14 12:38:13 +10:00
parent ab32f1af6c
commit cd1ebc0227

View File

@@ -37,7 +37,7 @@ 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" >>/root/.vnc/passwd
echo $secret | vncpasswd -f
msg_ok "Setup VNC Server"