Thursday, August 18, 2011

Quick VNCViewer Tip

Yes, yes I know this is insecure so shush :)

You might know that vncserver on UNIX boxes pretty much requires you to set a password for logins.  If you're on a secure system or just don't really care, it's pretty easy to write a shell script to log into such server without prompting you for a password:

echo "yourpassword here" | vncviewer "your options here" -autopass host:whichever screen you used

No comments:

Post a Comment