Skip to content

Commit

Permalink
Fix for when running as sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
guysoft committed Nov 6, 2023
1 parent bd32fc8 commit c92e929
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#!/usr/bin/env bash
x11vnc -storepasswd "${1}" ~/.vnc/passwd
# fix for when runnign in sudo
bash -c 'x11vnc -storepasswd "'${1}'" ~/.vnc/passwd'

0 comments on commit c92e929

Please sign in to comment.