Password in command line
Dan Fulbright
vnc-list "at" okra.org
Mon, 17 Jul 2000 15:21:31 +0000
> How would I pass the password to an VNC Viewer through a command line?
> The goal is to eliminate the window asking for a password.
I'm guessing you're using the Windows VNC viewer. Connect to the server,
enter your password, then click on the control menu (the VNC icon in the
extreme upper left hand side of the viewer) and click on "Save connection
info as..." It will ask you if you want to save the password in the file.
Say yes. Then, go to a command prompt, switch to the VNC installation
directory and type:
vncviewer -register
This tells Windows that you want vncviewer.exe to handle files with the
extension .vnc. (Suggestion to the VNC development team: make this
something that happens automatically during installation) You only have to
do the above steps once. Now, you can simply double click on the file
that was created in the "Save connection info as..." step above.
Dan Fulbright
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------