any idea how to login to RealVNC automatically(without giving user/password every time).

like how we can login to putty:

putty.ext username@ -pw password 

Two solutions:

1) If you feel that there is no security concern (both pcs on a well-protected LAN), then you can simply disable password on the server, just leave the field empty.

2) If instead you wish to leave some security in place, you can save session information from the F8 menu or the menu in the top bar. Make sure that you include your password, and that the file saved has extension .vnc. Next time, you may just click on this saved file, and your session will be restarted without asking for a password.


Do not know how to do this when using Windows, but when you use Unix-like OS-es, it is possible to create vnc password file, execute % vncpasswd ~/.vncpassword, enter password, that you use to connect to vnc server, after it is possible to connect "automatically" using

% vncviewer -passwd ~/.vncpassword user@X.X.X.X:X

without password request.


On Windows (not verified on other platforms):

  • Add a new connection via the gui in the standard manner
  • Goto File...Export Connections

You will be given a choice regarding exporting with or without the passwords. If exporting with passwords, they will appear in CLEAR TEXT within the exports. If you do not include the passwords, you will be prompted each time you employ one.

Ideally, there should be the option to tap the same "password store" that is used within the application, but I did not find a method for this. Perhaps someone can share this detail?

Btw, those exports are .vnc files. Double-clicking on one will instantly start the connection. You don't have to explicitly pass the config path via the command line or a shortcut etc. You can also drag and drop them onto the task bar (saving and "stacking them" them there) for fast access.


create shortcut link:

"C:\Program Files\uvnc bvba\UltraVNC\vncviewer.exe" -connect -password myawesomepass

  • Question is for RealVNC, not UltraVNC – PeterFnet Apr 6 at 13:52

In RealVNC software. Use File / Export Connections will export an excutable .vnc file with your saved connections. (you have the option to store password within)

the exported file will look something like this:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.