well.. seems like your shell scripts line-endings are probably mangled.
run dos2unix over them.
It's on the third post on the KUAL thread (top sticky)
EDIT: HERE
https://www.mobileread.com/forums/att...5&d=1358766950
run it like: (copy dos2unix onto the FAT root of the kindle...where you mount it normally...)
the via ssh:
cd /mnt/us/kindlevncviewer
/mnt/us/dos2unix ./*.sh
try again