w0vncserver(1)
π w0vncserver β TigerVNC Manual π
okay bestie, sit down, hydrate, and let me tell you about w0vncserver from the TigerVNC manual, because this one is genuinely iconic π«Ά
β¨ NAME β¨
w0vncserver β the TigerVNC server for Wayland compositors π
πΈ SYNOPSIS πΈ
w0vncserver [options]
w0vncserver -version
π¦ DESCRIPTION π¦
so like. w0vncserver is a TigerVNC server, and what it does is it takes a Wayland compositor β either one that's based on wlroots, or one that has the RemoteDesktop portal implemented β and makes it remotely accessible over VNC, using TigerVNC or any compatible viewer. slay β¨
here's the thing though, and this is important: it does not create a virtual display. nope. it shares an existing display instead β typically the one connected to the physical screen. it's giving "sharing is caring" energy fr fr π
π OPTIONS π
w0vncserver reads the command line as a list of parameters with optional values. run w0vncserver -h and it'll show you every valid parameter with a lil short description. all parameters are optional, but normally you'd have to use the PasswordFile parameter (go read its description below, it matters bestie π).
there are several forms of specifying parameters on the command line. here we use SomeParameter as the example parameter name:
-SomeParameterβ enables the parameter, turns the feature on. this form works with parameters that just enable or disable some feature.-SomeParameter=0β disables the parameter, turns the feature off.-SomeParameter=valueβ assigns the specified value to the parameter. the leading dash can be omitted, or it can be doubled if you want (like in GNU-style long options, iykyk).
parameter names are case-insensitive, and their order on the command line can be literally arbitrary. go off π
π PARAMETERS π
-AcceptKeyEventsβ accept key press and release events from clients. default is on.-AcceptPointerEventsβ accept pointer movement and button events from clients. default is on.-AlwaysSharedβ always treat incoming connections as shared, no matter what the client-specified setting says. default is off.-BlacklistThreshold countβ how many unauthenticated connection attempts any individual host gets before that host is black-listed. default is 5.-BlacklistTimeout secondsβ the initial timeout applied when a host first gets black-listed. the host can't re-attempt a connection until the timeout expires. default is 10.-CompareFB modeβ do a pixel comparison on the framebuffer to cut down unnecessary updates. can be either0(off),1(always) or2(auto). default is 2.-desktop desktop-nameβ every desktop has a name, which the viewer may display. it defaults to"<user>@<hostname>".-DisconnectClientsβ disconnect existing clients if an incoming connection is non-shared. default is on. ifDisconnectClientsis false, then a new non-shared connection will be refused while there's a client active. when you combine it withNeverShared, that means only one client is allowed at a time.-FrameRate fpsβ the maximum number of updates per second sent to each client. if the screen updates any faster, those changes get aggregated and sent in a single update to the client. note that this only controls the maximum rate β a client may get a lower rate when resources are limited. default is 60.-GnuTLSPriority priorityβ GnuTLS priority string that controls the TLS session's handshake algorithms. see the GnuTLS manual for possible values. default isNORMAL.-IdleTimeout secondsβ the number of seconds after which an idle VNC connection will be dropped. default is 0, which means idle connections will never be dropped.-ImprovedHextileβ use the improved compression algorithm for Hextile encoding, which gets better compression ratios at the cost of using slightly more CPU time. default is on.-interface IP addressβ listen on interface. by defaultw0vncserverlistens on all available interfaces.-localhostβ only allow connections from the same machine. useful if you use SSH and want to stop non-SSH connections from any other hosts.-Log logname:dest:level[, ...]β configures the debug log settings.destcan currently bestderr,stdoutorsyslog, andlevelis between0and100, where100means most verbose output.lognameis usually*meaning all, but you can target a specific source file if you know the name of its "LogWriter". default is*:stderr:30.-MaxConnectionTime secondsβ terminate when a client has been connected for N seconds. default is 0.-MaxDisconnectionTime secondsβ terminate when no client has been connected for N seconds. default is 0.-MaxIdleTime secondsβ terminate after N seconds of user inactivity. default is 0.-NeverSharedβ never treat incoming connections as shared, no matter what the client-specified setting says. default is off.-pam_service name,-PAMService nameβ PAM service name to use when authenticating users using any of the "Plain" security types. default isvnc.-Password passwordβ obfuscated binary encoding of the password which clients must supply to access the server. > using this parameter is insecure, use thePasswordFileparameter instead. bestie I am begging you π-PasswordFile passwd-file,-rfbauth passwd-fileβ password file for VNC authentication. there is no default, you should specify the password file explicitly. the password file should be created with thevncpasswd(1)utility. the file is accessed each time a connection comes in, so it can be changed on the fly. π-PlainUsers user-listβ a comma separated list of user names that are allowed to authenticate via any of the "Plain" security types (Plain,TLSPlain, etc.). specify*to allow any user to authenticate using this security type. specify%uto allow the user of the server process. default is to deny all users.-Protocol3.3β always use protocol version 3.3 for backwards compatibility with badly-behaved clients. default is off.-QueryConnectβ prompts the user of the desktop to explicitly accept or reject incoming connections. default is off.-RawKeyboardβ send keyboard events straight through and avoid mapping them to the current keyboard layout. this effectively makes the keyboard behave according to the layout configured on the server instead of the layout configured on the client. default is off.-RemapKeys mappingβ sets up a keyboard mapping.mappingis a comma-separated string of character mappings, each of the formchar->char, orchar<>char, wherecharis a hexadecimal keysym. for example, to exchange the"and@symbols you would specify the following:
RemapKeys=0x22<>0x40
-RememberDisplayChoice modeβ remember display choice when a user connects. can be eitherAlways,Never, orSession. choosingNevermeans a prompt dialog will be be shown every time a user connects to the server.Sessionmeans a prompt will be shown only once during the program's lifetime. when choosingAlways, the choice you make will be remembered and persist. to reset your choice, seew0vncserver-forget(1). default isSession.-RequireUsernameβ require username for the RSA-AES security types. default is off.-rfbport portβ specifies the TCP port on whichw0vncserverlistens for connections from viewers (the protocol used in VNC is called RFB β "remote framebuffer"). specify-1to disable listening on a TCP port. the default port is5900when started directly, and-1when activated by a systemd socket.-rfbunixmode modeβ specifies the mode of the Unix domain socket. the default is0600.-rfbunixpath pathβ specifies the path of a Unix domain socket on whichw0vncserverlistens for connections from viewers. default is to not listen to any Unix domain socket.-RSAKey pathβ path to the RSA key for the RSA-AES security types (RA2,RA2ne,RA2_256andRA2ne_256) in PEM format.-SecurityTypes sec-typesβ specify which security scheme to use for incoming connections. valid values are a comma separated list ofNone,VncAuth,Plain,TLSNone,TLSVnc,TLSPlain,X509None,X509Vnc,X509Plain,RA2,RA2ne,RA2_256andRA2ne_256. default isTLSVnc,VncAuth.-UseBlacklistβ temporarily reject connections from a host if it repeatedly fails to authenticate. default is on.-UseIPv4β use IPv4 for incoming and outgoing connections. default is on.-UseIPv6β use IPv6 for incoming and outgoing connections. default is on.-X509Cert pathβ path to a X509 certificate in PEM format to be used for all X509 based security types (X509None,X509Vnc, etc.).-X509Key pathβ private key counter part to the certificate given inX509Cert. must also be in PEM format.
π SEE ALSO π
π AUTHOR π
TigerVNC Team π
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 thing bestie!! this page lives in the TigerVNC Manual for w0vncserver(1), brought to you by the TigerVNC software suite β go be a main character with your remote desktop π
β¨π¦
π¦ where this page comes from
- arch rolling: tigervnc 1.16.2-5 Β· GPL-2.0-only
- fedora 43: tigervnc-wayland-server 1.16.2-4.fc43 Β· GPL-2.0-or-later
- fedora 44: tigervnc-wayland-server 1.16.0-2.fc44 Β· GPL-2.0-or-later
- fedora 44: tigervnc-wayland-server 1.16.2-4.fc44 Β· GPL-2.0-or-later
- nixos 26.05: tigervnc 1.16.2
- nixpkgs unstable: tigervnc 1.16.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms