1
I download vnc viewer from here, i find it's a binary file, so my question is how to open vnc viewer and login vnc with one command line, for instance
ruby -e "puts (File.read 'path/to/my/passwd')"| ./VNC-Viewer-5.2.2-Linux-x64 --passwd
1
I download vnc viewer from here, i find it's a binary file, so my question is how to open vnc viewer and login vnc with one command line, for instance
ruby -e "puts (File.read 'path/to/my/passwd')"| ./VNC-Viewer-5.2.2-Linux-x64 --passwd
0
I fix it with vncviewer -passwd ~/.vnc/passwd localhost:5901
, ~/.vnc/passwd must be generated with vncpasswd
Please read Can I answer my own question?. Don't [edit] your question to add the answer.
– DavidPostill – 2014-12-16T10:08:13.817