vncpasswd(1)
β¨ vncpasswd(1) β the TightVNC password girlie β¨
okay so bestie, this is the vncpasswd manual page, and no cap it's the little utility that sets passwords for your VNC server. it's giving gatekeeper energy, but the good kind. π
πΈ NAME πΈ
vncpasswd β set passwords for VNC server
π SYNOPSIS π
vncpasswd [file]
vncpasswd -t
vncpasswd -f
π¦ DESCRIPTION π¦
so the vncpasswd utility is literally the thing you use to create and change passwords for TightVNC server authentication. Xvnc uses those passwords when it gets started with the -rfbauth command-line option β or when it gets started from the vncserver script. iykyk. β¨
vncpasswd lets you enter either one or two passwords. the first password is the primary one, and the second one can be used for view-only authentication. Xvnc will restrict mouse and keyboard input from clients who authenticated with the view-only password β so they can look but they cannot touch, periodt. π the vncpasswd utility asks you interactively whether it should set that second password.
the password file name defaults to $HOME/.vnc/passwd unless the -t command-line option was used (peep the OPTIONS section below, bestie π). the $HOME/.vnc/ directory will be created if it does not exist.
each password has to be longer than five characters (unless the -f command-line option was used, see its description below). only the first eight characters are significant β so like, the rest is just for your own emotional support, fr fr. if the primary password is too short, the program will abort π. if the view-only password is too short, then only the primary password will be saved.
unless a file name was provided on the command-line explicitly, this utility may perform certain sanity checks to prevent writing a password file into some hazardous place. it's protective like that. π«Ά
if at least one password was saved successfully, vncpasswd will exit with status code 0. otherwise the returned status code will be set to 1. no in-between, she's decisive.
π OPTIONS π
-tβ write passwords into/tmp/$USER-vnc/passwd, creating the/tmp/$USER-vnc/directory if it does not exist, and checking the permissions on that directory (the mode must be700). this option can help improve security when your home partition may be shared via network (e.g. when using NFS). lowkey a glow-up for your security. β¨-fβ filter mode. read plain-text passwords fromstdin, write encrypted versions tostdout. one or two passwords (full-control and view-only) can be supplied in the input stream, and a newline terminates a password. π
β οΈ note that in the filter mode, short or even empty passwords will be silently accepted. yes bestie, SILENTLY. she said nothing and just let it happen. π be careful with that one.
π SEE ALSO π
vncserver(1), Xvnc(1), vncviewer(1), vncconnect(1)
π AUTHORS π
original VNC was developed in AT&T Laboratories Cambridge. TightVNC additions were implemented by Constantin Kaplinsky. many other people participated in development, testing and support β shoutout to the whole squad. π«Ά
man page authors:
- Marcus Brinkmann
<Marcus.Brinkmann@ruhr-uni-bochum.de> - Tim Waugh
<twaugh@redhat.com> - Constantin Kaplinsky
<const@tightvnc.com>
and that's the whole page, bestie!! π this lil icon was living her best life back in August 2006, and she's still out here under the TightVNC umbrella, page one of one, vncpasswd(1). slay. πβ¨
π¦ where this page comes from
- debian bookworm: tightvncpasswd 1:1.3.10-7 Β· GPL-2.0-or-later
- debian trixie: tightvncpasswd 1:1.3.10-9 Β· GPL-2.0-or-later
- ubuntu jammy: tightvncpasswd 1:1.3.10-5 Β· GPL-2.0-or-later
- ubuntu noble: tightvncpasswd 1:1.3.10-8 Β· GPL-2.0-or-later
- ubuntu questing: tightvncpasswd 1:1.3.10-10
- ubuntu resolute: tightvncpasswd 1:1.3.10-10build1 Β· GPL-2.0-or-later
- ubuntu stonking: tightvncpasswd 1:1.3.10-11 Β· GPL-2.0-or-later
- Copyright (C) 1998 Marcus.Brinkmann@ruhr-uni-bochum.de
- Copyright (C) 2000 Red Hat, Inc
- Copyright (C) 2001-2003 Constantin Kaplinsky
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms