summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2014-09-17 16:28:56 +0200
committerPierre Ossman <ossman@cendio.se>2014-09-17 16:28:56 +0200
commit23f67c3e282420e63adf28b1f5d51ee1e206f6f4 (patch)
treeaf9f272f7d37ced0e7eda84e1b66e60c5d27a1ba /unix
parent591c7bf6a6b2175d9cfb3a7b3d2c7af7939b5c67 (diff)
downloadtigervnc-23f67c3e282420e63adf28b1f5d51ee1e206f6f4.tar.gz
tigervnc-23f67c3e282420e63adf28b1f5d51ee1e206f6f4.zip
Avoid extra spacing in the generated man pages
Diffstat (limited to 'unix')
-rw-r--r--unix/vncconfig/vncconfig.man14
-rw-r--r--unix/vncserver.man18
-rw-r--r--unix/x0vncserver/x0vncserver.man46
-rw-r--r--unix/xserver/hw/vnc/Xvnc.man84
4 files changed, 104 insertions, 58 deletions
diff --git a/unix/vncconfig/vncconfig.man b/unix/vncconfig/vncconfig.man
index aa353033..6695be3d 100644
--- a/unix/vncconfig/vncconfig.man
+++ b/unix/vncconfig/vncconfig.man
@@ -64,26 +64,26 @@ Tells an Xvnc server to make a "reverse" connection to a listening VNC viewer
server). \fIhost\fP is the host where the listening viewer is running. If it's
not listening on the default port of 5500, you can specify \fIhost:port\fP
instead.
-
+.
.TP
.B \-disconnect
This causes Xvnc to disconnect from all viewers so that the VNC desktop is not
displayed anywhere.
-
+.
.TP
[\fB-set\fP] \fIXvnc-param\fP=\fIvalue\fP
Sets an Xvnc parameter to the given value. Note that some of Xvnc's parameters
are read only once at startup so that changing them in this way may not have
any effect.
-
+.
.TP
.B \-list
Lists all the parameters supported by Xvnc.
-
+.
.TP
.B \-get \fIXvnc-param\fP
Prints the current value of the given Xvnc parameter.
-
+.
.TP
.B \-desc \fIXvnc-param\fP
Prints a short description of the given Xvnc parameter.
@@ -102,11 +102,11 @@ Other valid forms are \fIparam\fP\fB=\fP\fIvalue\fP -\fIparam\fP=\fIvalue\fP
.TP
.B \-display \fIXdisplay\fP
Specifies the Xvnc server to control.
-
+.
.TP
.B \-nowin
When run as a "helper" app, don't put up a window.
-
+.
.TP
.B \-iconic
When run as a "helper" app, make the window iconified at startup.
diff --git a/unix/vncserver.man b/unix/vncserver.man
index 649d2c4e..04a060ec 100644
--- a/unix/vncserver.man
+++ b/unix/vncserver.man
@@ -56,24 +56,24 @@ name defaults to "\fIhost\fP:\fIdisplay#\fP (\fIusername\fP)", but you can
change it with this option. The desktop name option is passed to the xstartup
script via the $VNCDESKTOP environment variable, which allows you to run a
different set of applications depending on the name of the desktop.
-
+.
.TP
.B \-geometry \fIwidth\fPx\fIheight\fP
Specify the size of the VNC desktop to be created. Default is 1024x768.
-
+.
.TP
.B \-depth \fIdepth\fP
Specify the pixel depth (in bits) of the VNC desktop to be created. Default is
24. Other possible values are 8, 15 and 16 - anything else is likely to cause
strange behaviour by applications.
-
+.
.TP
.B \-pixelformat \fIformat\fP
Specify pixel format for Xvnc to use (BGRnnn or RGBnnn). The default for
depth 8 is BGR233 (meaning the most significant two bits represent blue, the
next three green, and the least significant three represent red), the default
for depth 16 is RGB565, and the default for depth 24 is RGB888.
-
+.
.TP
.B \-cc 3
As an alternative to the default TrueColor visual, this allows you to run an
@@ -82,7 +82,7 @@ palette), which can be useful for running some old X applications which only
work on such a display. Values other than 3 (PseudoColor) and 4 (TrueColor)
for the \-cc option may result in strange behaviour, and PseudoColor desktops
must have an 8-bit depth.
-
+.
.TP
.B \-kill :\fIdisplay#\fP
This kills a VNC desktop previously started with vncserver. It does this by
@@ -92,7 +92,7 @@ killing the Xvnc process, whose process ID is stored in the file
option ignores anything preceding the first colon (":") in the display
argument. Thus, you can invoke "vncserver \-kill $DISPLAY", for example at the
end of your xstartup file after a particular application exits.
-
+.
.TP
.B \-fp \fIfont-path\fP
If the vncserver script detects that the X Font Server (XFS) is running, it
@@ -108,20 +108,20 @@ The
.B \-fp
argument allows you to override the above fallback logic and specify a font
path for Xvnc to use.
-
+.
.TP
.B \-fg
Runs Xvnc as a foreground process. This has two effects: (1) The VNC server
can be aborted with CTRL-C, and (2) the VNC server will exit as soon as the
user logs out of the window manager in the VNC session. This may be necessary
when launching TigerVNC from within certain grid computing environments.
-
+.
.TP
.B \-autokill
Automatically kill Xvnc whenever the xstartup script exits. In most cases,
this has the effect of terminating Xvnc when the user logs out of the window
manager.
-
+.
.TP
.B \-list
Lists all VNC desktops started by vncserver.
diff --git a/unix/x0vncserver/x0vncserver.man b/unix/x0vncserver/x0vncserver.man
index 265c4cee..50bb9fb7 100644
--- a/unix/x0vncserver/x0vncserver.man
+++ b/unix/x0vncserver/x0vncserver.man
@@ -16,6 +16,7 @@ that one connected to the physical screen).
XDamage will be used if the existing X server supports it. Otherwise
.B x0vncserver
will fall back to polling the screen for changes.
+
.SH OPTIONS
.B x0vncserver
interprets the command line as a list of parameters with optional values.
@@ -25,13 +26,16 @@ to use the \fBPasswordFile\fP parameter (see its description below).
.PP
There are several forms of specifying parameters in the command line (here we
use `\fISomeParameter\fP' as an example parameter name):
+
.TP
.B -\fISomeParameter\fP
Enable the parameter, turn the feature on. This form can be used with
parameters that simply enable or disable some feature.
+.
.TP
.B -\fISomeParameter\fP=0
Disable the parameter, turn the feature off.
+.
.TP
.B -\fISomeParameter\fP=\fIvalue\fP
Assign the specified \fIvalue\fP to the parameter. The leading dash can be
@@ -39,15 +43,19 @@ omitted, or it can be doubled if desired (like in GNU-style long options).
.PP
Parameter names are case-insensitive, their order in the command line can be
arbitrary.
+
.SH PARAMETERS
+
.TP
.B display
The X display name. If not specified, it defaults to the value of the
DISPLAY environment variable.
+.
.TP
.B rfbport
TCP port to listen for incoming VNC connections (RFB protocol). The default
port is 5900.
+.
.TP
.B Log
Specifies which log output should be directed to which target logger, and the
@@ -55,6 +63,7 @@ level of output to log. Format is \fIlog\fP:\fItarget\fP:\fIlevel\fP.
Default is \fB*:stderr:30\fP (log everything to stderr, set log level to 30).
Log level should be a value between 0 and 100, higher levels produce more
output.
+.
.TP
.B HostsFile
This parameter allows to specify a file name with IP access control rules.
@@ -67,84 +76,103 @@ include only an action sign (+, - or ?) will match any IP address.
\fINetmask\fP is optional and can be specified either in dotted format
(e.g. /255.255.255.0), or as a single number of bits (e.g. /24). Default is
to accept connections from any IP address.
+.
.TP
.B SecurityTypes
Specify which security scheme to use for incoming connections. Valid values
are a comma separated list of \fBNone\fP, \fBVncAuth\fP, \fBPlain\fP,
\fBTLSNone\fP, \fBTLSVnc\fP, \fBTLSPlain\fP, \fBX509None\fP, \fBX509Vnc\fP
and \fBX509Plain\fP. Default is \fBVncAuth,TLSVnc\fP.
+.
.TP
.B rfbauth, PasswordFile
Password file for VNC authentication. There is no default, you should
specify the password file explicitly. Password file should be created with
the \fBvncpasswd\fP(1) utility.
+.
.TP
.B Password
Obfuscated binary encoding of the password which clients must supply to
access the server. Using this parameter is insecure, use \fBPasswordFile\fP
parameter instead.
+.
.TP
.B PlainUsers
A comma separated list of user names that are allowed to authenticate via
any of the "Plain" security types (Plain, TLSPlain, etc.). Specify \fB*\fP
to allow any user to authenticate using this security type. Default is to
deny all users.
+.
.TP
.B pam_service
PAM service name to use when authentication users using any of the "Plain"
security types. Default is \fBvnc\fP.
+.
.TP
.B x509cert
Path to a X509 certificate in PEM format to be used for all X509 based
security types (X509None, X509Vnc, etc.).
+.
.TP
.B x509key
Private key counter part to the certificate given in \fBx509cert\fP. Must
also be in PEM format.
+.
.TP
.B BlacklistThreshold
The number of unauthenticated connection attempts allowed from any individual
host before that host is black-listed. Default is 5.
+.
.TP
.B BlacklistTimeout
The initial timeout applied when a host is first black-listed. The host
cannot re-attempt a connection until the timeout expires. Default is 10.
+.
.TP
.B QueryConnect
Prompt the local user to accept or reject incoming connections. Default is
off.
+.
.TP
.B QueryConnectTimeout
Number of seconds to show the Accept Connection dialog before rejecting the
connection. Default is 10.
+.
.TP
.B AlwaysShared
Always treat incoming connections as shared, regardless of the
client-specified setting. Default is off.
+.
.TP
.B NeverShared
Never treat incoming connections as shared, regardless of the
client-specified setting. Default is off.
+.
.TP
.B DisconnectClients
Disconnect existing clients if an incoming connection is non-shared. If
combined with \fBNeverShared\fP then new connections will be refused while
there is a client active. Default is on.
+.
.TP
.B AcceptKeyEvents
Accept key press and release events from clients. Default is on.
+.
.TP
.B AcceptPointerEvents
Accept pointer events from clients. Default is on.
+.
.TP
.B RemapKeys
Comma-separated list of incoming keysyms to remap. Mappings are expressed as
two hex values, prefixed by \fB0x\fP, and separated by \fB->\fP (`dash' and
`greater than' characters).
+.
.TP
.B Protocol3.3
Always use RFB protocol version 3.3 for backwards compatibility with
badly-behaved clients. Default is off.
+.
.TP
.B Geometry
This option specifies the screen area that will be shown to VNC clients. The
@@ -154,14 +182,17 @@ format is
right and/or from the bottom of the screen. Offsets are optional, +0+0 is
assumed by default (top left corner). If the argument is empty, full screen
is shown to VNC clients (this is the default).
+.
.TP
.B MaxProcessorUsage
Maximum percentage of CPU time to be consumed when polling the
screen. Default is 35.
+.
.TP
.B PollingCycle
Milliseconds per one polling cycle. Actual interval may be dynamically
adjusted to satisfy \fBMaxProcessorUsage\fP setting. Default is 30.
+.
.TP
.B VideoArea
This option specifies the screen area that will be handled as video. The
@@ -177,6 +208,7 @@ supporting VideoRectangleSelection protocol extension. In other words,
clients may choose video selection themselves, but if they do not, then the
\fBVideoArea\fP parameter will take effect. If the argument is empty, no
video area is set (this is the default).
+.
.TP
.B DeferUpdate
x0vncserver uses a "deferred update" mechanism which enhances performance in
@@ -186,55 +218,67 @@ clients. This means that more changes tend to get coalesced together in a
single update. Setting it to 0 results in the same behaviour as earlier
versions of x0vncserver, where the first change to the framebuffer causes an
immediate update to any waiting clients.
+.
.TP
.B AlwaysSetDeferUpdateTimer
Keep delaying sending the screen update to the client(s) each time the
screen is updated. Otherwise the delay is from the first update. Default
is off.
+.
.TP
.B CompareFB
Perform pixel comparison on framebuffer to reduce unnecessary updates. Can
be either \fB0\fP (off), \fB1\fP (always) or \fB2\fP (auto). Default is
\fB2\fP.
+.
.TP
.B UseSHM
Use MIT-SHM extension if available. Using that extension accelerates reading
the screen. Default is on.
+.
.TP
.B OverlayMode
Use overlay mode in IRIX or Solaris (does not have effect in other systems).
This enables system-specific access to complete full-color version of the
screen (the default X visual often provides 256 colors). Also, in overlay
mode, \fBx0vncserver\fP can show correct mouse cursor. Default is on.
+.
.TP
.B ZlibLevel
Zlib compression level for ZRLE encoding (it does not affect Tight encoding).
Acceptable values are between 0 and 9. Default is to use the standard
compression level provided by the \fBzlib\fP(3) compression library.
+.
.TP
.B ImprovedHextile
Use improved compression algorithm for Hextile encoding which achieves better
compression ratios by the cost of using slightly more CPU time. Default is
on.
+.
.TP
.B IdleTimeout
The number of seconds after which an idle VNC connection will be dropped
(zero means no timeout). Default is 0.
+.
.TP
.B MaxDisconnectionTime
Terminate when no client has been connected for \fIN\fP seconds. Default is
0.
+.
.TP
.B MaxConnectionTime
Terminate when a client has been connected for \fIN\fP seconds. Default is
0.
+.
.TP
.B MaxIdleTime
Terminate after \fIN\fP seconds of user inactivity. Default is 0.
+.
.TP
.B ClientWaitTimeMillis
The number of milliseconds to wait for a client which is no longer
responding. Default is 20000.
+.
.TP
.B AcceptCutText
.TQ
@@ -242,11 +286,13 @@ responding. Default is 20000.
.TQ
.B MaxCutText
Currently unused.
+
.SH SEE ALSO
.BR Xvnc (1),
.BR vncpasswd (1),
.br
http://www.tigervnc.org/
+
.SH AUTHOR
Constantin Kaplinsky and others.
diff --git a/unix/xserver/hw/vnc/Xvnc.man b/unix/xserver/hw/vnc/Xvnc.man
index ea61c6b9..5870ebbd 100644
--- a/unix/xserver/hw/vnc/Xvnc.man
+++ b/unix/xserver/hw/vnc/Xvnc.man
@@ -33,29 +33,29 @@ command-line and through the \fBvncconfig\fP(1) program.
.TP
.B \-geometry \fIwidth\fPx\fIheight\fP
Specify the size of the desktop to be created. Default is 1024x768.
-
+.
.TP
.B \-depth \fIdepth\fP
Specify the pixel depth in bits of the desktop to be created. Default is 24,
other possible values are 8, 15, and 16 - anything else is likely to cause
strange behaviour by applications.
-
+.
.TP
.B \-pixelformat \fIformat\fP
Specify pixel format for server to use (BGRnnn or RGBnnn). The default for
depth 8 is BGR233 (meaning the most significant two bits represent blue, the
next three green, and the least significant three represent red), the default
for depth 16 is RGB565 and for depth 24 is RGB888.
-
+.
.TP
.B \-interface \fIIP address\fP or \-i \fIIP address\fP
Listen on interface. By default Xvnc listens on all available interfaces.
-
+.
.TP
.B \-inetd
This significantly changes Xvnc's behaviour so that it can be launched from
inetd. See the section below on usage with inetd.
-
+.
.TP
.B \-help
List all the options and parameters
@@ -75,13 +75,13 @@ case-insensitive.
.B \-desktop \fIdesktop-name\fP
Each desktop has a name which may be displayed by the viewer. It defaults to
"x11".
-
+.
.TP
.B \-rfbport \fIport\fP
Specifies the TCP port on which Xvnc listens for connections from viewers (the
protocol used in VNC is called RFB - "remote framebuffer"). The default is
5900 plus the display number.
-
+.
.TP
.B \-rfbwait \fItime\fP, \-ClientWaitTimeMillis \fItime\fP
@@ -89,7 +89,7 @@ Time in milliseconds to wait for a viewer which is blocking Xvnc. This is
necessary because Xvnc is single-threaded and sometimes blocks until the viewer
has finished sending or receiving a message - note that this does not mean an
update will be aborted after this time. Default is 20000 (20 seconds).
-
+.
.TP
.B \-httpd \fIdirectory\fP
Run a mini-HTTP server which serves files from the given directory. Normally
@@ -97,18 +97,18 @@ the directory will contain the classes for the Java viewer. In addition, files
with a .vnc extension will have certain substitutions made so that a single
installation of the Java VNC viewer can be served by separate instances of
Xvnc.
-
+.
.TP
.B \-httpPort \fIport\fP
Specifies the port on which the mini-HTTP server runs. Default is 5800 plus
the display number.
-
+.
.TP
.B \-rfbauth \fIpasswd-file\fP, \-PasswordFile \fIpasswd-file\fP
Specifies the file containing the password used to authenticate viewers. The
file is accessed each time a connection comes in, so it can be changed on the
fly via \fBvncpasswd\fP(1).
-
+.
.TP
.B \-DeferUpdate \fItime\fP
Xvnc uses a "deferred update" mechanism which enhances performance in many
@@ -118,139 +118,139 @@ means that more changes tend to get coalesced together in a single
update. Setting it to 0 results in the same behaviour as earlier versions of
Xvnc, where the first change to the framebuffer causes an immediate update to
any waiting clients.
-
+.
.TP
.B \-AlwaysSetDeferUpdateTimer
Keep delaying sending the screen update to the client(s) each time the
screen is updated. Otherwise the delay is from the first update. Default
is off.
-
+.
.TP
.B \-SendCutText
Send clipboard changes to clients (default is on). Note that you must also run
\fBvncconfig\fP(1) to get the clipboard to work.
-
+.
.TP
.B \-AcceptCutText
Accept clipboard updates from clients (default is on). Note that you must also
run \fBvncconfig\fP(1) to get the clipboard to work.
-
+.
.TP
.B \-MaxCutText \fIbytes\fP
The maximum size of a clipboard update that will be accepted from a client.
Default is \fB262144\fP.
-
+.
.TP
.B \-AcceptPointerEvents
Accept pointer press and release events from clients (default is on).
-
+.
.TP
.B \-AcceptKeyEvents
Accept key press and release events from clients (default is on).
-
+.
.TP
.B \-DisconnectClients
Disconnect existing clients if an incoming connection is non-shared (default is
on). If \fBDisconnectClients\fP is false, then a new non-shared connection will
be refused while there is a client active. When combined with
\fBNeverShared\fP this means only one client is allowed at a time.
-
+.
.TP
.B \-NeverShared
Never treat incoming connections as shared, regardless of the client-specified
setting (default is off).
-
+.
.TP
.B \-AlwaysShared
Always treat incoming connections as shared, regardless of the client-specified
setting (default is off).
-
+.
.TP
.B \-Protocol3.3
Always use protocol version 3.3 for backwards compatibility with badly-behaved
clients (default is off).
-
+.
.TP
.B \-CompareFB
Perform pixel comparison on framebuffer to reduce unnecessary updates (default
is on).
-
+.
.TP
.B \-ZlibLevel
Zlib compression level for ZRLE encoding (it does not affect Tight encoding).
Acceptable values are between 0 and 9. Default is to use the standard
compression level provided by the \fBzlib\fP(3) compression library.
-
+.
.TP
.B \-ImprovedHextile
Use improved compression algorithm for Hextile encoding which achieves better
compression ratios by the cost of using slightly more CPU time. Default is
on.
-
+.
.TP
.B \-SecurityTypes \fIsec-types\fP
Specify which security scheme to use for incoming connections. Valid values
are a comma separated list of \fBNone\fP, \fBVncAuth\fP, \fBPlain\fP,
\fBTLSNone\fP, \fBTLSVnc\fP, \fBTLSPlain\fP, \fBX509None\fP, \fBX509Vnc\fP
and \fBX509Plain\fP. Default is \fBVncAuth,TLSVnc\fP.
-
+.
.TP
.B \-Password \fIpassword\fP
Obfuscated binary encoding of the password which clients must supply to
access the server. Using this parameter is insecure, use \fBPasswordFile\fP
parameter instead.
-
+.
.TP
.B \-PlainUsers \fIuser-list\fP
A comma separated list of user names that are allowed to authenticate via
any of the "Plain" security types (Plain, TLSPlain, etc.). Specify \fB*\fP
to allow any user to authenticate using this security type. Default is to
deny all users.
-
+.
.TP
.B \-pam_service \fIname\fP
PAM service name to use when authentication users using any of the "Plain"
security types. Default is \fBvnc\fP.
-
+.
.TP
.B \-x509cert \fIpath\fP
Path to a X509 certificate in PEM format to be used for all X509 based
security types (X509None, X509Vnc, etc.).
-
+.
.TP
.B \-x509key \fIpath\fP
Private key counter part to the certificate given in \fBx509cert\fP. Must
also be in PEM format.
-
+.
.TP
.B \-BlacklistThreshold \fIcount\fP
The number of unauthenticated connection attempts allowed from any individual
host before that host is black-listed. Default is 5.
-
+.
.TP
.B \-BlacklistTimeout \fIseconds\fP
The initial timeout applied when a host is first black-listed. The host
cannot re-attempt a connection until the timeout expires. Default is 10.
-
+.
.TP
.B \-IdleTimeout \fIseconds\fP
The number of seconds after which an idle VNC connection will be dropped
(default is 0, which means that idle connections will never be dropped).
-
+.
.TP
.B \-MaxDisconnectionTime \fIseconds\fP
Terminate when no client has been connected for \fIN\fP seconds. Default is
0.
-
+.
.TP
.B \-MaxConnectionTime \fIseconds\fP
Terminate when a client has been connected for \fIN\fP seconds. Default is
0.
-
+.
.TP
.B \-MaxIdleTime \fIseconds\fP
Terminate after \fIN\fP seconds of user inactivity. Default is 0.
-
+.
.TP
.B \-QueryConnect
Prompts the user of the desktop to explicitly accept or reject incoming
@@ -261,17 +261,17 @@ The \fBvncconfig\fP(1) program must be running on the desktop in order for
QueryConnect to be supported by the \fBvnc.so\fP(1) module or
\fBXvnc\fP(1) program. The \fBx0vncserver\fP(1) program does not require
\fBvncconfig\fP(1) to be running.
-
+.
.TP
.B \-QueryConnectTimeout \fIseconds\fP
Number of seconds to show the Accept Connection dialog before rejecting the
connection. Default is \fB10\fP.
-
+.
.TP
.B \-localhost
Only allow connections from the same machine. Useful if you use SSH and want to
stop non-SSH connections from any other hosts.
-
+.
.TP
.B \-Log \fIlogname\fP:\fIdest\fP:\fIlevel\fP
Configures the debug log settings. \fIdest\fP can currently be \fBstderr\fP or
@@ -279,7 +279,7 @@ Configures the debug log settings. \fIdest\fP can currently be \fBstderr\fP or
output. \fIlogname\fP is usually \fB*\fP meaning all, but you can target a
specific source file if you know the name of its "LogWriter". Default is
\fB*:stderr:30\fP.
-
+.
.TP
.B \-RemapKeys \fImapping
Sets up a keyboard mapping.
@@ -293,7 +293,7 @@ where
is a hexadecimal keysym. For example, to exchange the " and @ symbols you would specify the following:
.IP "" 10
RemapKeys=0x22<>0x40
-
+.
.TP
.B \-AvoidShiftNumLock
Key affected by NumLock often require a fake Shift to be inserted in order