vncpasswd(1)
π vncpasswd β the TigerVNC password glow-up π
okay so bestie, welcome to vncpasswd(1), part of the Virtual Network Computing manual set. this is the little tool that handles the password for your VNC desktops and honestly? she's doing the most with the least. let's get into it π«Ά
β¨ NAME β¨
vncpasswd β change the VNC password
πΈ SYNOPSIS πΈ
vncpasswd [passwd-file]
vncpasswd -f
π¦ DESCRIPTION π¦
so vncpasswd is the girl who lets you set the password used to access VNC desktops. that's her whole thing. her default behavior is to prompt you for a VNC password and then store an obfuscated version of it into passwd-file β or, if you didn't specify a password file, into $XDG_CONFIG_HOME/tigervnc/passwd. π
the vncserver script literally runs vncpasswd the very first time you start a VNC desktop (yes, she's automatic, she's self-sufficient), and it invokes Xvnc with the appropriate -rfbauth option. and vncviewer can also be handed a password file to use via the -passwd option. everyone's using her, no cap.
okay now the rules, and listen up because these matter:
- your password has to be at least six characters long β unless you're using the
-fcommand-line option, which we'll get to below π - only the first eight characters are significant, so don't get cute with a long one thinking it's doing extra
- > not me having to say this π β the stored password is not encrypted securely. like, at all. anyone who has access to this file can trivially find out the plain-text password. that's just the truth of it.
but because she's a considerate icon, vncpasswd always sets appropriate permissions on the file β read and write only by the owner. periodt. π
and here's the good part: when you're actually accessing a VNC desktop, a challenge-response mechanism is used over the wire, which makes it hard for anyone to crack the password just by snooping on the network. so the wire is fine, it's the file you gotta protect. π
π OPTIONS π
-fβ Filter mode. she reads a plain-text password from stdin and writes an encrypted version to stdout. and heads up: in filter mode, short or even empty passwords will be silently accepted. no warnings, no judgment, no nothing. π
a view-only password must be separated from the normal password by a newline character. that's the whole separator. just a newline. that's it. β¨
π§ FILES π§
$XDG_CONFIG_HOME/tigervnc/passwd$HOME/.config/tigervnc/passwd
these are the default location of the VNC password file. that's where she lives when you don't tell her otherwise π
π SEE ALSO π
vncviewer(1), Xvnc(1) vncconfig(1), vncsession(8)
π AUTHORS π
Tristan Richardson, RealVNC Ltd., Antoine Martin, D. R. Commander and others. iconic lineup fr fr π«Ά
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 participated in development, testing and support. This manual is part of the TigerVNC software suite. β
and that's the whole page, bestie π this manual is part of the TigerVNC software suite β shoutout to the TigerVNC girlies who keep the whole thing running, mwah πβ¨
π¦ where this page comes from
- alpine 3.24: tigervnc-doc 1.16.2-r0 Β· GPL-2.0-or-later
- arch rolling: tigervnc 1.16.2-5 Β· GPL-2.0-only
- centos-stream 9: tigervnc-server-minimal 1.16.2-4.el9 Β· GPL-2.0-or-later
- fedora 43: tigervnc-server-common 1.16.2-4.fc43 Β· GPL-2.0-or-later
- fedora 43: tigervnc-server-minimal 1.15.0-7.fc43 Β· GPL-2.0-or-later
- fedora 44: tigervnc-server-common 1.16.0-2.fc44 Β· GPL-2.0-or-later
- fedora 44: tigervnc-server-common 1.16.2-4.fc44 Β· GPL-2.0-or-later
- nixos 26.05: tigervnc 1.16.2
- nixpkgs unstable: tigervnc 1.16.2
- opensuse-leap 16.0: xorg-x11-Xvnc 1.15.0-160000.4.1 Β· GPL-2.0-only AND MIT
- opensuse-leap 16.0: xorg-x11-Xvnc 1.15.0-160000.4.1 Β· GPL-2.0-only AND MIT
- opensuse-leap 16.0: xorg-x11-Xvnc 1.15.0-160000.4.1 Β· GPL-2.0-only AND MIT
- opensuse-leap 16.0: xorg-x11-Xvnc 1.15.0-160000.4.1 Β· GPL-2.0-only AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms