diff --git a/src/modules/fullpageos/filesystem/opt/custompios/scripts/setX11vncPass b/src/modules/fullpageos/filesystem/opt/custompios/scripts/setX11vncPass index b599564..c76d809 100755 --- a/src/modules/fullpageos/filesystem/opt/custompios/scripts/setX11vncPass +++ b/src/modules/fullpageos/filesystem/opt/custompios/scripts/setX11vncPass @@ -1,4 +1,4 @@ #!/usr/bin/env bash # fix for when runnign in sudo -bash -c 'mkdir -p ~/.vnc' -bash -c 'x11vnc -storepasswd "'${1}'" ~/.vnc/passwd' +bash -c 'mkdir -p /opt/custompios/vnc' +bash -c 'x11vnc -storepasswd "'${1}'" /opt/custompios/vnc/passwd'