VNCViewer Script with a Graphical Password Prompt
I have a Menu item for hosts that I connect to frequently. SSH and RDesktop were simple enough, but when I’d try to use VNCViewer, the password prompt would die into the background process. To get around this I whipped up a simple shell script using VNCViewer to resolve this.
This script requires Zenity and XTightVNCViewer.
PASSWD=”$(zenity –password –title=Authentication)\n”
echo $PASSWD | vncviewer -autopass 192.168.91.19:1
The only downfall of this VNC Script with a Graphical Password Prompt is that I need to have a script for each VNC host in my menu.