We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a427b3a commit 68aa3a0Copy full SHA for 68aa3a0
src/modules/fullpageos/filesystem/opt/custompios/scripts/setX11vncPass
@@ -1,4 +1,4 @@
1
#!/usr/bin/env bash
2
# fix for when runnign in sudo
3
-bash -c 'mkdir -p ~/.vnc'
4
-bash -c 'x11vnc -storepasswd "'${1}'" ~/.vnc/passwd'
+bash -c 'mkdir -p /opt/custompios/vnc'
+bash -c 'x11vnc -storepasswd "'${1}'" /opt/custompios/vnc/passwd'
0 commit comments