CentOS 7.0 - man page for vncpasswd (centos section 1)
|Linux & Unix Commands - Search Man Pages
vncpasswd(1) Virtual Network Computing vncpasswd(1)
vncpasswd - change the VNC password
vncpasswd allows you to set the password used to access VNC desktops. Its default behav-
ior is to prompt for a VNC password and then store an obfuscated version of this password
to passwd-file (or to $HOME/.vnc/passwd if no password file is specified.) The vncserver
script runs vncpasswd the first time you start a VNC desktop, and it invokes Xvnc with the
appropriate -rfbauth option. vncviewer can also be given a password file to use via the
The password must be at least six characters long (unless the -f command-line option is
used-- see below), and only the first eight characters are significant. Note that the
stored password is not encrypted securely - anyone who has access to this file can triv-
ially find out the plain-text password, so vncpasswd always sets appropriate permissions
(read and write only by the owner.) However, when accessing a VNC desktop, a challenge-
response mechanism is used over the wire making it hard for anyone to crack the password
simply by snooping on the network.
-f Filter mode. Read a plain-text password from stdin and write an encrypted version
to stdout. Note that in filter mode, short or even empty passwords will be
Default location of the VNC password file.
vncviewer(1), vncserver(1), Xvnc(1) vncconfig(1),
Tristan Richardson, RealVNC Ltd.
D. R. Commander
VNC was originally developed by the RealVNC team while at Olivetti Research Ltd / AT&T
Laboratories Cambridge. TightVNC additions were implemented by Constantin Kaplinsky. Many
other people participated in development, testing and support.
TigerVNC 09 Jul 2010 vncpasswd(1)
All times are GMT -4. The time now is 06:04 AM.