From 63a883dd33ba4b6afaae8c998f14c0e88a04bdb7 Mon Sep 17 00:00:00 2001 From: Guy Sheffer Date: Mon, 6 Nov 2023 22:26:24 +0200 Subject: [PATCH] Try to make the folder --- src/modules/fullpageos/filesystem/home/pi/scripts/setX11vncPass | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/fullpageos/filesystem/home/pi/scripts/setX11vncPass b/src/modules/fullpageos/filesystem/home/pi/scripts/setX11vncPass index 19aa654..9627cae 100755 --- a/src/modules/fullpageos/filesystem/home/pi/scripts/setX11vncPass +++ b/src/modules/fullpageos/filesystem/home/pi/scripts/setX11vncPass @@ -1,3 +1,4 @@ #!/usr/bin/env bash # fix for when runnign in sudo +mkdir -p /home/pi/.vnc bash -c 'x11vnc -storepasswd "'${1}'" ~/.vnc/passwd'