Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

vncpasswd (1)

Name

vncpasswd - change the VNC password

Synopsis

vncpasswd [passwd-file]
vncpasswd -f

Description

vncpasswd(1)               Virtual Network Computing              vncpasswd(1)



NAME
       vncpasswd - change the VNC password

SYNOPSIS
       vncpasswd [passwd-file]
       vncpasswd -f

DESCRIPTION
       vncpasswd  allows  you to set the password used to access VNC desktops.
       Its default behavior 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 -passwd option.

       The  password  must be at least six characters long (unless the -f com-
       mand-line option is used-- see below), and only the first eight charac-
       ters  are  significant.  Note that the stored password is not encrypted
       securely - anyone who has access to this file can  trivially  find  out
       the  plain-text  password, so vncpasswd always sets appropriate permis-
       sions (read and write only by the owner.)  However,  when  accessing  a
       VNC  desktop, a challenge-response mechanism is used over the wire mak-
       ing it hard for anyone to crack the password simply by snooping on  the
       network.


OPTIONS
       -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 silently accepted.

              A  view-only password must be separated from the normal password
              by a newline character.



FILES
       $HOME/.vnc/passwd
              Default location of the VNC password file.



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | x11/server/xvnc  |
       +---------------+------------------+
       |Stability      | Volatile         |
       +---------------+------------------+

SEE ALSO
       vncviewer(1), vncserver(1), Xvnc(1) vncconfig(1),
       https://www.tigervnc.org


AUTHORS
       Tristan Richardson, RealVNC Ltd., Antoine Martin, D. R.  Commander  and
       others.

       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 have since par-
       ticipated in development, testing and support. This manual is  part  of
       the TigerVNC software suite.



NOTES
       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source  was  downloaded  from  https://github.com/TigerVNC/tigervnc/ar-
       chive/v1.10.1.tar.gz.

       Further information about this software can be found on the open source
       community website at http://tigervnc.org/.



TigerVNC                                                          vncpasswd(1)