Skip to content

Commit

Permalink
Fix for all users
Browse files Browse the repository at this point in the history
  • Loading branch information
guysoft committed Nov 6, 2023
1 parent f142d09 commit 0c6e988
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env bash
# fix for when runnign in sudo
mkdir -p /home/pi/.vnc
chown pi:pi /home/pi/.vnc
bash -c 'mkdir -p ~/.vnc'
bash -c 'x11vnc -storepasswd "'${1}'" ~/.vnc/passwd'

0 comments on commit 0c6e988

Please sign in to comment.