Skip to content

Commit

Permalink
Fix vnc password script to /opt/custompios/vnc/passwd
Browse files Browse the repository at this point in the history
  • Loading branch information
guysoft committed Nov 6, 2024
1 parent a427b3a commit e21e060
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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/passwd'
bash -c 'x11vnc -storepasswd "'${1}'" /opt/custompios/vnc/passwd'

0 comments on commit e21e060

Please sign in to comment.