Commit 5c13bd0c authored by runge's avatar runge

x11vnc: -users lurk=, -solid for cde, -gui ez,.. beginner mode.

parent 86ccf267
2005-02-14 Karl Runge <runge@karlrunge.com>
* x11vnc: -users lurk=, -solid for cde, -gui ez,.. beginner mode.
2005-02-10 Karl Runge <runge@karlrunge.com> 2005-02-10 Karl Runge <runge@karlrunge.com>
* x11vnc: -input option to fine tune allowed client input, * x11vnc: -input option to fine tune allowed client input,
additions to remote control and gui for this. additions to remote control and gui for this.
......
2005-02-14 Karl Runge <runge@karlrunge.com>
* cleanup -users stuff, add "lurk=" mode
* support cde in -solid
* simple gui mode for beginners, -gui ez,...
2005-02-10 Karl Runge <runge@karlrunge.com> 2005-02-10 Karl Runge <runge@karlrunge.com>
* Add -input to fine tune client input (keystroke, mouse motion, * Add -input to fine tune client input (keystroke, mouse motion,
and button presses). Allow per-client setting via remote cntl. and button presses). Allow per-client setting via remote cntl.
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.TH X11VNC "1" "February 2005" "x11vnc " "User Commands" .TH X11VNC "1" "February 2005" "x11vnc " "User Commands"
.SH NAME .SH NAME
x11vnc - allow VNC connections to real X11 displays x11vnc - allow VNC connections to real X11 displays
version: 0.7.1pre, lastmod: 2005-02-10 version: 0.7.1pre, lastmod: 2005-02-14
.SH SYNOPSIS .SH SYNOPSIS
.B x11vnc .B x11vnc
[OPTION]... [OPTION]...
...@@ -274,10 +274,13 @@ Supply a 2nd password for view-only logins. The \fB-passwd\fR ...@@ -274,10 +274,13 @@ Supply a 2nd password for view-only logins. The \fB-passwd\fR
.IP .IP
Specify libvncserver \fB-passwd\fR via the first line of Specify libvncserver \fB-passwd\fR via the first line of
the file \fIfilename\fR instead of via command line. the file \fIfilename\fR instead of via command line.
If a second non blank line exists in the file it is If a second non blank line exists in the file it
taken as a view-only password (i.e. \fB-viewpasswd)\fR Note: is taken as a view-only password (i.e. \fB-viewpasswd)\fR
this is a simple plaintext passwd, see also \fB-rfbauth\fR To supply an empty password for either field use the
and \fB-storepasswd\fR below for obfuscated passwords. string "__EMPTY__". Note: \fB-passwdfile\fR is a simple
plaintext passwd, see also \fB-rfbauth\fR and \fB-storepasswd\fR
below for obfuscated passwords. Neither should be
readable by others.
.PP .PP
\fB-storepasswd\fR \fIpass\fR \fIfile\fR \fB-storepasswd\fR \fIpass\fR \fIfile\fR
.IP .IP
...@@ -382,44 +385,66 @@ root this option is ignored. ...@@ -382,44 +385,66 @@ root this option is ignored.
.IP .IP
Why use this option? In general it is not needed Why use this option? In general it is not needed
since x11vnc is already connected to the display and since x11vnc is already connected to the display and
can perform its primary functions. It was added to can perform its primary functions. The option was
make some of the *external* utility commands x11vnc added to make some of the *external* utility commands
occasionally runs work properly. In particular under x11vnc occasionally runs work properly. In particular
GNOME and KDE to implement the "\fB-solid\fR \fIcolor\fR" feature under GNOME and KDE to implement the "\fB-solid\fR \fIcolor\fR"
external commands (gconftool-2 and dcop) must be run as feature external commands (gconftool-2 and dcop) must be
the user owning the desktop session. This option also run as the user owning the desktop session. Since this
affects the userid used to run the processes for the option switches userid it also affects the userid used
\fB-accept\fR and \fB-gone\fR options. It also affects the ability to run the processes for the \fB-accept\fR and \fB-gone\fR options.
to read files for options such as \fB-connect,\fR \fB-allow,\fR and It also affects the ability to read files for options
\fB-remap.\fR Note that the \fB-connect\fR file is also written to. such as \fB-connect,\fR \fB-allow,\fR and \fB-remap.\fR Note that the
\fB-connect\fR file is also sometimes written to.
.IP .IP
So be careful with this option since in many situations So be careful with this option since in many situations
its use can decrease security. its use can decrease security.
.IP .IP
The switch to a user will only take place if the display The switch to a user will only take place if the
can still be opened as that user (this is primarily to display can still be successfully opened as that user
try to guess the actual owner of the session). Example: (this is primarily to try to guess the actual owner
"\fB-users\fR \fIfred,wilma,betty\fR". Note that a malicious of the session). Example: "\fB-users\fR \fIfred,wilma,betty\fR".
user "barney" by quickly using "xhost +" when Note that a malicious user "barney" by quickly using
logging in can get x11vnc to switch to user "fred". "xhost +" when logging in may get x11vnc to switch
What happens next? to user "fred". What happens next?
.IP .IP
Under display managers it may be a long time before Under display managers it may be a long time before
the switch succeeds (i.e. a user logs in). To make the switch succeeds (i.e. a user logs in). To make
it switch immediately regardless if the display can it switch immediately regardless if the display
be reopened or not prefix the username with the + can be reopened prefix the username with the +
character. E.g. "\fB-users\fR \fI+bob\fR" or "\fB-users\fR \fI+nobody\fR". character. E.g. "\fB-users\fR \fI+bob\fR" or "\fB-users\fR \fI+nobody\fR".
The latter (i.e. switching immediately to user The latter (i.e. switching immediately to user
"nobody") is probably the only use of this option "nobody") is probably the only use of this option
that increases security. To switch to a user *before* that increases security.
connections to the display are made or any files opened .IP
use the "=" character: "\fB-users\fR \fI=username\fR". To immediately switch to a user *before* connections to
.IP the display are made or any files opened use the "="
The special user "guess" means to examine the utmpx character: "\fB-users\fR \fI=bob\fR". That user needs to be able
database looking for a user attached to the display to open the display of course.
number and try him/her. To limit the list of guesses, .IP
use: "\fB-users\fR \fIguess=bob,betty\fR". Be especially careful The special user "guess=" means to examine the utmpx
using this mode. database (see
.IR who (1)
) looking for a user attached to
the display number (from DISPLAY or \fB-display\fR option)
and try him/her. To limit the list of guesses, use:
"\fB-users\fR \fIguess=bob,betty\fR".
.IP
Even more sinister is the special user "lurk=" that
means to try to guess the DISPLAY from the utmpx login
database as well. So it "lurks" waiting for anyone
to log into an X session and then connects to it.
Specify a list of users after the = to limit which
users will be tried. If the first user in the list
is something like ":0" or ":0-2" that indicates a
range of DISPLAY numbers that will be tried (regardless
of whether they are in the utmpx database) for all
users that are logged in. Examples: "\fB-users\fR \fIlurk=\fR"
and "\fB-users\fR \fIlurk=:0-1,bob,mary\fR"
.IP
Be especially careful using the "guess=" and "lurk="
modes. They are not recommended for use on machines
with untrustworthy local users.
.PP .PP
\fB-noshm\fR \fB-noshm\fR
.IP .IP
...@@ -448,20 +473,20 @@ The [color] is optional: the default color is "cyan4". ...@@ -448,20 +473,20 @@ The [color] is optional: the default color is "cyan4".
For a different one specify the X color (rgb.txt name, For a different one specify the X color (rgb.txt name,
e.g. "darkblue" or numerical "#RRGGBB"). e.g. "darkblue" or numerical "#RRGGBB").
.IP .IP
Currently this option only works on GNOME, KDE, and Currently this option only works on GNOME, KDE, CDE,
classic X (i.e. with the background image on the root and classic X (i.e. with the background image on the
window). The "gconftool-2" and "dcop" external root window). The "gconftool-2" and "dcop" external
commands are run for GNOME and KDE respectively. commands are run for GNOME and KDE respectively.
Other desktops won't work, e.g. XFCE (send us the Other desktops won't work, e.g. XFCE (send us the
corresponding commands if you find them). If x11vnc corresponding commands if you find them). If x11vnc is
is running as root ( running as root (
.IR inetd (1) .IR inetd (1)
or or
.IR gdm (1) .IR gdm (1)
), the \fB-users\fR ), the \fB-users\fR option
option may be needed for GNOME and KDE. If x11vnc may be needed for GNOME and KDE. If x11vnc guesses
guesses your desktop incorrectly, you can force it by your desktop incorrectly, you can force it by prefixing
prefixing color with "gnome:", "kde:", or "root:". color with "gnome:", "kde:", "cde:" or "root:".
.PP .PP
\fB-blackout\fR \fIstring\fR \fB-blackout\fR \fIstring\fR
.IP .IP
...@@ -1008,9 +1033,11 @@ to start up both the gui and x11vnc with the gui showing ...@@ -1008,9 +1033,11 @@ to start up both the gui and x11vnc with the gui showing
up on the X display in the environment variable DISPLAY. up on the X display in the environment variable DISPLAY.
.IP .IP
"gui-opts" can be a comma separated list of items. "gui-opts" can be a comma separated list of items.
Currently there are only two types of items: 1) a gui Currently there are these types of items: 1) a gui mode,
mode and 2) the X display the gui should display on. a 2) gui "simplicity", and 3) the X display the gui
The gui mode can be "start", "conn", or "wait" should display on.
.IP
1) The gui mode can be "start", "conn", or "wait"
"start" is the default mode above and is not required. "start" is the default mode above and is not required.
"conn" means do not automatically start up x11vnc, "conn" means do not automatically start up x11vnc,
but instead just try to connect to an existing x11vnc but instead just try to connect to an existing x11vnc
...@@ -1018,15 +1045,22 @@ process. "wait" means just start the gui and nothing ...@@ -1018,15 +1045,22 @@ process. "wait" means just start the gui and nothing
else (you will later instruct the gui to start x11vnc else (you will later instruct the gui to start x11vnc
or connect to an existing one.) or connect to an existing one.)
.IP .IP
Note the possible confusion regarding the potentially 2) The gui simplicity is off by default (a power-user
gui with all options is presented) To start with
something less daunting supply the string "simple"
("ez" is an alias for this). Once the gui is
started you can toggle between the two with "Misc ->
simple_gui".
.IP
3) Note the possible confusion regarding the potentially
two different X displays: x11vnc polls one, but you two different X displays: x11vnc polls one, but you
may want the gui to appear on another. For example, if may want the gui to appear on another. For example, if
you ssh in and x11vnc is not running yet you may want you ssh in and x11vnc is not running yet you may want
the gui to come back to you via your ssh redirected X the gui to come back to you via your ssh redirected X
display (e.g. localhost:10). display (e.g. localhost:10).
.IP .IP
Examples: "x11vnc \fB-gui",\fR "x11vnc \fB-gui\fR localhost:10", Examples: "x11vnc \fB-gui",\fR "x11vnc \fB-gui\fR ez"
"x11vnc \fB-gui\fR :10", "x11vnc \fB-gui\fR conn,host:10", "x11vnc \fB-gui\fR localhost:10", "x11vnc \fB-gui\fR conn,host:0"
.IP .IP
If you do not specify a gui X display in "gui-opts" If you do not specify a gui X display in "gui-opts"
then the DISPLAY environment variable and \fB-display\fR then the DISPLAY environment variable and \fB-display\fR
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment