Skip to content

Commit

Permalink
Try to fix github actions build and not use expect anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
guysoft committed Nov 6, 2023
1 parent ca24304 commit bd32fc8
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/modules/fullpageos/filesystem/home/pi/scripts/setX11vncPass
Original file line number Diff line number Diff line change
@@ -1,10 +1,2 @@
#!/usr/bin/env expect
set pass [lindex $argv 0]
spawn x11vnc -storepasswd;
expect "*?assword:*"
send -- "$pass\r";
expect "*?assword:*"
send -- "$pass\r";
expect "*?assword*"
send -- "y\n\r";
interact
#!/usr/bin/env bash
x11vnc -storepasswd "${1}" ~/.vnc/passwd

0 comments on commit bd32fc8

Please sign in to comment.