I need some help here. Is there a way to set the VNC password without a user interaction? When I run vncpasswd it prompts for a password and then verification of it. I would like to change the password from script. Is this possible?
I don't have vncserver, so reading the man page over the web and no way to test....
Have you tried writing the password twice to a temp file and using that as stdin to vncpasswd?
That's for the bash shell. But the basic idea should be obvious. Prompting will wind up in the .1 file and errors in the .2 file