1vncpasswd(1) Virtual Network Computing vncpasswd(1)
2
3
4
6 vncpasswd - change the VNC password
7
9 vncpasswd [passwd-file]
10 vncpasswd -f
11
13 vncpasswd allows you to set the password used to access VNC desktops.
14 Its default behavior is to prompt for a VNC password and then store an
15 obfuscated version of this password to passwd-file (or to
16 $HOME/.vnc/passwd if no password file is specified.) The vncserver
17 script runs vncpasswd the first time you start a VNC desktop, and it
18 invokes Xvnc with the appropriate -rfbauth option. vncviewer can also
19 be given a password file to use via the -passwd option.
20
21 The password must be at least six characters long (unless the -f com‐
22 mand-line option is used-- see below), and only the first eight charac‐
23 ters are significant. Note that the stored password is not encrypted
24 securely - anyone who has access to this file can trivially find out
25 the plain-text password, so vncpasswd always sets appropriate permis‐
26 sions (read and write only by the owner.) However, when accessing a
27 VNC desktop, a challenge-response mechanism is used over the wire mak‐
28 ing it hard for anyone to crack the password simply by snooping on the
29 network.
30
31
33 -f Filter mode. Read a plain-text password from stdin and write an
34 encrypted version to stdout. Note that in filter mode, short or
35 even empty passwords will be silently accepted.
36
37 A view-only password must be separated from the normal password
38 by a newline character.
39
40
41
43 $HOME/.vnc/passwd
44 Default location of the VNC password file.
45
46
48 vncviewer(1), Xvnc(1) vncconfig(1), vncsession(8)
49 https://www.tigervnc.org
50
51
53 Tristan Richardson, RealVNC Ltd., Antoine Martin, D. R. Commander and
54 others.
55
56 VNC was originally developed by the RealVNC team while at Olivetti
57 Research Ltd / AT&T Laboratories Cambridge. TightVNC additions were
58 implemented by Constantin Kaplinsky. Many other people have since par‐
59 ticipated in development, testing and support. This manual is part of
60 the TigerVNC software suite.
61
62
63
64TigerVNC vncpasswd(1)