diff --git a/src/modules/fullpageos/filesystem/home/pi/scripts/setX11vncPass b/src/modules/fullpageos/filesystem/home/pi/scripts/setX11vncPass index f13a74c..b427328 100755 --- a/src/modules/fullpageos/filesystem/home/pi/scripts/setX11vncPass +++ b/src/modules/fullpageos/filesystem/home/pi/scripts/setX11vncPass @@ -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