Commit 86ccf267 authored by runge's avatar runge

x11vnc -input to fine tune allow user input. per-client settings -R

parent 5b18d401
2005-02-10 Karl Runge <runge@karlrunge.com>
* x11vnc: -input option to fine tune allowed client input,
additions to remote control and gui for this.
2005-02-09 Karl Runge <runge@karlrunge.com> 2005-02-09 Karl Runge <runge@karlrunge.com>
* x11vnc: -users, fix -solid on gnome and kde. * x11vnc: -users, fix -solid on gnome and kde.
* configure.ac: add pwd.h, wait.h, and utmpx.h checks. * configure.ac: add pwd.h, wait.h, and utmpx.h checks.
......
2005-02-10 Karl Runge <runge@karlrunge.com>
* Add -input to fine tune client input (keystroke, mouse motion,
and button presses). Allow per-client setting via remote cntl.
* fix bug in get_remote_port, add ip2host for client info.
2005-02-09 Karl Runge <runge@karlrunge.com> 2005-02-09 Karl Runge <runge@karlrunge.com>
* Add -users switch user mechanism and related utilities. * Add -users switch user mechanism and related utilities.
* fix -solid for gnome and kde. * fix -solid for gnome and kde.
......
x11vnc README file Date: Wed Feb 9 00:21:28 EST 2005 x11vnc README file Date: Thu Feb 10 23:33:03 EST 2005
The following information is taken from these URLs: The following information is taken from these URLs:
...@@ -594,6 +594,8 @@ ls -l ./x11vnc/x11vnc ...@@ -594,6 +594,8 @@ ls -l ./x11vnc/x11vnc
Please feel free to [45]contact me if you have any questions, Please feel free to [45]contact me if you have any questions,
problems, or comments about x11vnc, etc. problems, or comments about x11vnc, etc.
[PayPal]
_________________________________________________________________ _________________________________________________________________
x11vnc FAQ: x11vnc FAQ:
......
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-08 version: 0.7.1pre, lastmod: 2005-02-10
.SH SYNOPSIS .SH SYNOPSIS
.B x11vnc .B x11vnc
[OPTION]... [OPTION]...
...@@ -250,6 +250,21 @@ out with the "#" character in the usual way. ...@@ -250,6 +250,21 @@ out with the "#" character in the usual way.
.IP .IP
Same as \fB-allow\fR 127.0.0.1 Same as \fB-allow\fR 127.0.0.1
.PP .PP
\fB-input\fR \fIstring\fR
.IP
Fine tuning of allowed user input. If \fIstring\fR does
not contain a comma "," the tuning applies only to
normal clients. Otherwise the part before "," is
for normal clients and the part after for view-only
clients. "K" is for Keystroke input, "M" for
Mouse-motion input, and "B" for Button-click input.
Their presence in the string enables that type of input.
E.g. "\fB-input\fR \fIM\fR" means normal users can only move
the mouse and "\fB-input\fR \fIKMB,M\fR" lets normal users do
anything and enables view-only users to move the mouse.
This option is ignored when a global \fB-viewonly\fR is in
effect (all input is discarded).
.PP
\fB-viewpasswd\fR \fIstring\fR \fB-viewpasswd\fR \fIstring\fR
.IP .IP
Supply a 2nd password for view-only logins. The \fB-passwd\fR Supply a 2nd password for view-only logins. The \fB-passwd\fR
...@@ -394,7 +409,8 @@ the switch succeeds (i.e. a user logs in). To make ...@@ -394,7 +409,8 @@ 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 can
be reopened or not prefix the username with the + be reopened or not 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 is probably the only use of this option The latter (i.e. switching immediately to user
"nobody") is probably the only use of this option
that increases security. To switch to a user *before* that increases security. To switch to a user *before*
connections to the display are made or any files opened connections to the display are made or any files opened
use the "=" character: "\fB-users\fR \fI=username\fR". use the "=" character: "\fB-users\fR \fI=username\fR".
...@@ -402,7 +418,7 @@ use the "=" character: "\fB-users\fR \fI=username\fR". ...@@ -402,7 +418,7 @@ use the "=" character: "\fB-users\fR \fI=username\fR".
The special user "guess" means to examine the utmpx The special user "guess" means to examine the utmpx
database looking for a user attached to the display database looking for a user attached to the display
number and try him/her. To limit the list of guesses, number and try him/her. To limit the list of guesses,
use: "\fB-users\fR \fIguess=bob,fred\fR". Be especially careful use: "\fB-users\fR \fIguess=bob,betty\fR". Be especially careful
using this mode. using this mode.
.PP .PP
\fB-noshm\fR \fB-noshm\fR
...@@ -1143,6 +1159,13 @@ localhost enable \fB-localhost\fR mode ...@@ -1143,6 +1159,13 @@ localhost enable \fB-localhost\fR mode
.IP .IP
nolocalhost disable \fB-localhost\fR mode nolocalhost disable \fB-localhost\fR mode
.IP .IP
input:str set \fB-input\fR to "str", empty to disable.
.IP
client_input:str set the K, M, B \fB-input\fR on a per-client
basis. select which client as for
disconnect, e.g. client_input:host:MB
or client_input:0x2:K
.IP
accept:cmd set \fB-accept\fR "cmd" (empty to disable). accept:cmd set \fB-accept\fR "cmd" (empty to disable).
.IP .IP
gone:cmd set \fB-gone\fR "cmd" (empty to disable). gone:cmd set \fB-gone\fR "cmd" (empty to disable).
...@@ -1424,13 +1447,13 @@ nosolid blackout xinerama noxinerama xrandr noxrandr ...@@ -1424,13 +1447,13 @@ nosolid blackout xinerama noxinerama xrandr noxrandr
xrandr_mode padgeom quiet q noquiet modtweak nomodtweak xrandr_mode padgeom quiet q noquiet modtweak nomodtweak
xkb noxkb skip_keycodes add_keysyms noadd_keysyms xkb noxkb skip_keycodes add_keysyms noadd_keysyms
clear_mods noclear_mods clear_keys noclear_keys clear_mods noclear_mods clear_keys noclear_keys
remap repeat norepeat fb nofb bell nobell sel nosel remap repeat norepeat fb nofb bell nobell sel
primary noprimary cursorshape nocursorshape cursorpos nosel primary noprimary cursorshape nocursorshape
nocursorpos cursor show_cursor noshow_cursor cursorpos nocursorpos cursor show_cursor noshow_cursor
nocursor xfixes noxfixes alphacut alphafrac nocursor xfixes noxfixes alphacut alphafrac alpharemove
alpharemove noalpharemove alphablend noalphablend noalpharemove alphablend noalphablend xwarp xwarppointer
xwarp xwarppointer noxwarp noxwarppointer buttonmap noxwarp noxwarppointer buttonmap dragging nodragging
dragging nodragging pointer_mode pm input_skip speeds pointer_mode pm input_skip input client_input speeds
debug_pointer dp nodebug_pointer nodp debug_keyboard dk debug_pointer dp nodebug_pointer nodp debug_keyboard dk
nodebug_keyboard nodk deferupdate defer wait rfbwait nodebug_keyboard nodk deferupdate defer wait rfbwait
nap nonap sb screen_blank fs gaps grow fuzz snapfb nap nonap sb screen_blank fs gaps grow fuzz snapfb
...@@ -1482,10 +1505,13 @@ x11vnc. Normally access to the X display is protected. ...@@ -1482,10 +1505,13 @@ x11vnc. Normally access to the X display is protected.
Note that if they can modify VNC_CONNECT, they could Note that if they can modify VNC_CONNECT, they could
also run their own x11vnc and have complete control also run their own x11vnc and have complete control
of the desktop. If the "\fB-connect\fR \fI/path/to/file\fR" of the desktop. If the "\fB-connect\fR \fI/path/to/file\fR"
channel is being used, obviously anyone who can write channel is being used, obviously anyone who can
to /path/to/file can remotely control x11vnc. So be write to /path/to/file can remotely control x11vnc.
sure to protect the X display and that file's write So be sure to protect the X display and that file's
permissions. write permissions.
.IP
To disable the VNC_CONNECT property channel completely
use \fB-novncconnect.\fR
.PP .PP
\fB-unsafe\fR \fB-unsafe\fR
.IP .IP
......
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