View Single Post
Old 12-11-2020, 02:55 PM   #532
robotfish
Junior Member
robotfish began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2020
Device: Kindle 4
If anyone stumbles on this, I did find a (rather ugly) way to "fix" the problem.

I edited the kvncviewer.sh script to restart the vnc client every six hours, forever. My script file is:

Code:
#!/bin/sh
cd $(dirname "$0")
LD_LIBRARY_PATH=.
export LD_LIBRARY_PATH

lipc-set-prop com.lab126.powerd preventScreenSaver 1
eips -c
sleep 5

while true
do
 ./kindlevncviewer -config config.lua "$@" & pid=$!
 #sleep 10
 #eips -c
 #eips ''
 sleep 21600
 kill "$pid" &
done

lipc-set-prop com.lab126.powerd preventScreenSaver 0

exit 0
If anyone else wants to use their kind as a non-interactive info display, here's how! Be warned, though, once you start this up, the only way to end the vnc client is either to ssh into your kindle and kill the process or reboot the device.
robotfish is offline   Reply With Quote