Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
ac01f36c
Commit
ac01f36c
authored
Apr 04, 2005
by
runge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x11vnc: use DEC-XTRAP on legacy X11R5, -shiftcmap, -http
parent
dfe5981c
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
551 additions
and
234 deletions
+551
-234
ChangeLog
ChangeLog
+5
-0
configure.ac
configure.ac
+20
-0
ChangeLog
x11vnc/ChangeLog
+7
-0
README
x11vnc/README
+175
-120
tkx11vnc
x11vnc/tkx11vnc
+1
-0
tkx11vnc.h
x11vnc/tkx11vnc.h
+1
-0
x11vnc.1
x11vnc/x11vnc.1
+57
-35
x11vnc.c
x11vnc/x11vnc.c
+285
-79
No files found.
ChangeLog
View file @
ac01f36c
2005-04-03 Karl Runge <runge@karlrunge.com>
* configure.ac: add conditional libXTrap checking
* x11vnc: use DEC-XTRAP on old X11R5 for grab control.
-shiftcmap n, -http, fix DAMAGE event leak.
2005-03-29 Karl Runge <runge@karlrunge.com>
2005-03-29 Karl Runge <runge@karlrunge.com>
* x11vnc: fix event leaks, build-time customizations, -nolookup
* x11vnc: fix event leaks, build-time customizations, -nolookup
...
...
configure.ac
View file @
ac01f36c
...
@@ -45,11 +45,13 @@ HAVE_X="false"
...
@@ -45,11 +45,13 @@ HAVE_X="false"
AC_PATH_XTRA
AC_PATH_XTRA
AH_TEMPLATE(HAVE_XSHM, [MIT-SHM extension build environment present])
AH_TEMPLATE(HAVE_XSHM, [MIT-SHM extension build environment present])
AH_TEMPLATE(HAVE_XTEST, [XTEST extension build environment present])
AH_TEMPLATE(HAVE_XTEST, [XTEST extension build environment present])
AH_TEMPLATE(HAVE_XTESTGRABCONTROL, [XTEST extension has XTestGrabControl])
AH_TEMPLATE(HAVE_XKEYBOARD, [XKEYBOARD extension build environment present])
AH_TEMPLATE(HAVE_XKEYBOARD, [XKEYBOARD extension build environment present])
AH_TEMPLATE(HAVE_LIBXINERAMA, [XINERAMA extension build environment present])
AH_TEMPLATE(HAVE_LIBXINERAMA, [XINERAMA extension build environment present])
AH_TEMPLATE(HAVE_LIBXRANDR, [XRANDR extension build environment present])
AH_TEMPLATE(HAVE_LIBXRANDR, [XRANDR extension build environment present])
AH_TEMPLATE(HAVE_LIBXFIXES, [XFIXES extension build environment present])
AH_TEMPLATE(HAVE_LIBXFIXES, [XFIXES extension build environment present])
AH_TEMPLATE(HAVE_LIBXDAMAGE, [XDAMAGE extension build environment present])
AH_TEMPLATE(HAVE_LIBXDAMAGE, [XDAMAGE extension build environment present])
AH_TEMPLATE(HAVE_LIBXTRAP, [DEC-XTRAP extension build environment present])
if test "$X_CFLAGS" != "-DX_DISPLAY_MISSING"; then
if test "$X_CFLAGS" != "-DX_DISPLAY_MISSING"; then
AC_CHECK_LIB(X11, XGetImage, HAVE_X="true",
AC_CHECK_LIB(X11, XGetImage, HAVE_X="true",
HAVE_X="false",
HAVE_X="false",
...
@@ -62,11 +64,29 @@ if test "$X_CFLAGS" != "-DX_DISPLAY_MISSING"; then
...
@@ -62,11 +64,29 @@ if test "$X_CFLAGS" != "-DX_DISPLAY_MISSING"; then
[AC_DEFINE(HAVE_XSHM)], ,
[AC_DEFINE(HAVE_XSHM)], ,
$X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS)
$X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS)
AC_CHECK_LIB(Xtst, XTestGrabControl,
X_PRELIBS="$X_PRELIBS -lXtst"
[AC_DEFINE(HAVE_XTESTGRABCONTROL) HAVE_XTESTGRABCONTROL="true"], ,
$X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS)
AC_CHECK_LIB(Xtst, XTestFakeKeyEvent,
AC_CHECK_LIB(Xtst, XTestFakeKeyEvent,
X_PRELIBS="$X_PRELIBS -lXtst"
X_PRELIBS="$X_PRELIBS -lXtst"
[AC_DEFINE(HAVE_XTEST)], ,
[AC_DEFINE(HAVE_XTEST)], ,
$X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS)
$X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS)
# we use XTRAP on X11R5, or user can set X11VNC_USE_XTRAP
if test ! -z "$X11VNC_USE_XTRAP" -o -z "$HAVE_XTESTGRABCONTROL"; then
AC_CHECK_LIB(XTrap, XETrapSetGrabServer,
X_PRELIBS="$X_PRELIBS -lXTrap"
[AC_DEFINE(HAVE_LIBXTRAP)], ,
$X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS)
# tru64 uses libXETrap.so
AC_CHECK_LIB(XETrap, XETrapSetGrabServer,
X_PRELIBS="$X_PRELIBS -lXETrap"
[AC_DEFINE(HAVE_LIBXTRAP)], ,
$X_LIBS $X_PRELIBS -lX11 $X_EXTRA_LIBS)
fi
saved_CPPFLAGS="$CPPFLAGS"
saved_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
AC_CHECK_HEADER(X11/XKBlib.h, HAVE_XKBLIB_H="true",
AC_CHECK_HEADER(X11/XKBlib.h, HAVE_XKBLIB_H="true",
...
...
x11vnc/ChangeLog
View file @
ac01f36c
2005-04-03 Karl Runge <runge@karlrunge.com>
* try DEC-XTRAP on X11R5 if XTestGrabControl is missing.
* -shiftcmap n, for 8bpp displays using < 256 color cells
and with pixel values shifted from zero.
* fix DAMAGE event leak after viewers disconnect.
* -http option to try to guess where the java viewer is.
2005-03-29 Karl Runge <runge@karlrunge.com>
2005-03-29 Karl Runge <runge@karlrunge.com>
* build-time customizations X11VNC_SHARED, X11VNC_FOREVER,
* build-time customizations X11VNC_SHARED, X11VNC_FOREVER,
REMOTE_CONTROL, SMALL_FOOTPRINT for CPPFLAGS
REMOTE_CONTROL, SMALL_FOOTPRINT for CPPFLAGS
...
...
x11vnc/README
View file @
ac01f36c
This diff is collapsed.
Click to expand it.
x11vnc/tkx11vnc
View file @
ac01f36c
...
@@ -114,6 +114,7 @@ Screen
...
@@ -114,6 +114,7 @@ Screen
--
--
visual:
visual:
flashcmap
flashcmap
shiftcmap:
notruecolor
notruecolor
--
--
clip:
clip:
...
...
x11vnc/tkx11vnc.h
View file @
ac01f36c
...
@@ -120,6 +120,7 @@
...
@@ -120,6 +120,7 @@
" --
\n
"
" --
\n
"
" visual:
\n
"
" visual:
\n
"
" flashcmap
\n
"
" flashcmap
\n
"
" shiftcmap:
\n
"
" notruecolor
\n
"
" notruecolor
\n
"
" --
\n
"
" --
\n
"
" clip:
\n
"
" clip:
\n
"
...
...
x11vnc/x11vnc.1
View file @
ac01f36c
.\" This file was automatically generated from x11vnc -help output.
.\" This file was automatically generated from x11vnc -help output.
.TH X11VNC "1" "
March
2005" "x11vnc " "User Commands"
.TH X11VNC "1" "
April
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.2pre, lastmod: 2005-0
3-29
version: 0.7.2pre, lastmod: 2005-0
4-03
.SH SYNOPSIS
.SH SYNOPSIS
.B x11vnc
.B x11vnc
[OPTION]...
[OPTION]...
...
@@ -103,6 +103,16 @@ of the selected window.
...
@@ -103,6 +103,16 @@ of the selected window.
In 8bpp indexed color, let the installed colormap flash
In 8bpp indexed color, let the installed colormap flash
as the pointer moves from window to window (slow).
as the pointer moves from window to window (slow).
.PP
.PP
\fB-shiftcmap\fR \fIn\fR
.IP
Rare problem, but some 8bpp displays use less than 256
colorcells (e.g. 16-color grayscale, perhaps the other
bits are used for double buffering) *and* also need to
shift the pixels values away from 0, .., ncells. \fIn\fR
indicates the shift to be applied to the pixel values.
To see the pixel values set DEBUG_CMAP=1 to print out
a colormap histogram. Example: \fB-shiftcmap\fR 240
.PP
\fB-notruecolor\fR
\fB-notruecolor\fR
.IP
.IP
For 8bpp displays, force indexed color (i.e. a colormap)
For 8bpp displays, force indexed color (i.e. a colormap)
...
@@ -224,6 +234,14 @@ Note: if you are not redirecting stderr to a log file
...
@@ -224,6 +234,14 @@ Note: if you are not redirecting stderr to a log file
(via shell 2> or \fB-o\fR option) you must also specify the
(via shell 2> or \fB-o\fR option) you must also specify the
\fB-q\fR option, otherwise the stderr goes to the viewer.
\fB-q\fR option, otherwise the stderr goes to the viewer.
.PP
.PP
\fB-http\fR
.IP
Instead of using \fB-httpdir\fR (see below) to specify
where the Java vncviewer applet is, have x11vnc try
to *guess* where the directory is by looking relative
to the program location and in standard locations
(/usr/local/share/x11vnc/classes, etc).
.PP
\fB-connect\fR \fIstring\fR
\fB-connect\fR \fIstring\fR
.IP
.IP
For use with "vncviewer -listen" reverse connections.
For use with "vncviewer -listen" reverse connections.
...
@@ -942,7 +960,7 @@ This mode was the default until Apr 2005.
...
@@ -942,7 +960,7 @@ This mode was the default until Apr 2005.
.IP
.IP
n=3 is basically the same as n=2 except with slightly
n=3 is basically the same as n=2 except with slightly
tweaked parameters. We made this a new one so one
tweaked parameters. We made this a new one so one
could use \fB-pm\fR 2 for the old behavior.
could use \fB-pm\fR 2 for the old behavior.
NOT FINISHED.
.IP
.IP
n=4 is basically a dynamic \fB-nodragging\fR mode: it detects
n=4 is basically a dynamic \fB-nodragging\fR mode: it detects
when the mouse motion has paused and then refreshes
when the mouse motion has paused and then refreshes
...
@@ -954,7 +972,7 @@ changed on the screen. From this, it aggressively tries
...
@@ -954,7 +972,7 @@ changed on the screen. From this, it aggressively tries
to push screen "frames" when it decides it has enough
to push screen "frames" when it decides it has enough
resources to do so. NOT FINISHED.
resources to do so. NOT FINISHED.
.IP
.IP
The default n is
3
. Note that modes 2, 3, 4, 5 will
The default n is
2
. Note that modes 2, 3, 4, 5 will
skip \fB-input_skip\fR keyboard events (but it will not count
skip \fB-input_skip\fR keyboard events (but it will not count
pointer events). Also note that these modes are not
pointer events). Also note that these modes are not
available in \fB-threads\fR mode which has its own pointer
available in \fB-threads\fR mode which has its own pointer
...
@@ -977,7 +995,7 @@ Default: 10
...
@@ -977,7 +995,7 @@ Default: 10
.IP
.IP
x11vnc tries to estimate some speed parameters that
x11vnc tries to estimate some speed parameters that
are used to optimize scheduling (e.g. \fB-pointer_mode\fR
are used to optimize scheduling (e.g. \fB-pointer_mode\fR
4
) and other things. Use the \fB-speeds\fR option to set
5
) and other things. Use the \fB-speeds\fR option to set
these manually. The triple \fIrd,bw,lat\fR corresponds
these manually. The triple \fIrd,bw,lat\fR corresponds
to video h/w read rate in MB/sec, network bandwidth to
to video h/w read rate in MB/sec, network bandwidth to
clients in KB/sec, and network latency to clients in
clients in KB/sec, and network latency to clients in
...
@@ -1239,6 +1257,8 @@ flashcmap enable \fB-flashcmap\fR mode.
...
@@ -1239,6 +1257,8 @@ flashcmap enable \fB-flashcmap\fR mode.
.IP
.IP
noflashcmap disable \fB-flashcmap\fR mode.
noflashcmap disable \fB-flashcmap\fR mode.
.IP
.IP
shiftcmap:n set \fB-shiftcmap\fR to n.
.IP
notruecolor enable \fB-notruecolor\fR mode.
notruecolor enable \fB-notruecolor\fR mode.
.IP
.IP
truecolor disable \fB-notruecolor\fR mode.
truecolor disable \fB-notruecolor\fR mode.
...
@@ -1274,6 +1294,10 @@ timeout:n reset \fB-timeout\fR to n, if there are
...
@@ -1274,6 +1294,10 @@ timeout:n reset \fB-timeout\fR to n, if there are
currently no clients, exit unless one
currently no clients, exit unless one
connects in the next n secs.
connects in the next n secs.
.IP
.IP
http enable http client connections.
.IP
nohttp disable http client connections.
.IP
deny deny any new connections, same as "lock"
deny deny any new connections, same as "lock"
.IP
.IP
nodeny allow new connections, same as "unlock"
nodeny allow new connections, same as "unlock"
...
@@ -1508,10 +1532,6 @@ desktop:str set \fB-desktop\fR name to str for new clients.
...
@@ -1508,10 +1532,6 @@ desktop:str set \fB-desktop\fR name to str for new clients.
.IP
.IP
rfbport:n set \fB-rfbport\fR to n.
rfbport:n set \fB-rfbport\fR to n.
.IP
.IP
http enable http client connections.
.IP
nohttp disable http client connections.
.IP
httpport:n set \fB-httpport\fR to n.
httpport:n set \fB-httpport\fR to n.
.IP
.IP
httpdir:dir set \fB-httpdir\fR to dir (and enable http).
httpdir:dir set \fB-httpdir\fR to dir (and enable http).
...
@@ -1592,27 +1612,28 @@ remote command, we hope the name makes it obvious what
...
@@ -1592,27 +1612,28 @@ remote command, we hope the name makes it obvious what
the returned value corresponds to (hint: the ext_*
the returned value corresponds to (hint: the ext_*
variables correspond to the presence of X extensions):
variables correspond to the presence of X extensions):
.IP
.IP
ans= stop quit exit shutdown ping blacken zero refresh
ans= stop quit exit shutdown ping blacken zero
reset close disconnect id sid waitmapped nowaitmapped
refresh reset close disconnect id sid waitmapped
clip flashcmap noflashcmap truecolor notruecolor
nowaitmapped clip flashcmap noflashcmap shiftcmap
overlay nooverlay overlay_cursor overlay_yescursor
truecolor notruecolor overlay nooverlay overlay_cursor
nooverlay_nocursor nooverlay_cursor nooverlay_yescursor
overlay_yescursor nooverlay_nocursor nooverlay_cursor
overlay_nocursor visual scale scale_cursor viewonly
nooverlay_yescursor overlay_nocursor visual scale
noviewonly shared noshared forever noforever once
scale_cursor viewonly noviewonly shared noshared
timeout deny lock nodeny unlock connect allowonce allow
forever noforever once timeout deny lock nodeny unlock
localhost nolocalhost listen lookup nolookup accept
connect allowonce allow localhost nolocalhost listen
gone shm noshm flipbyteorder noflipbyteorder onetile
lookup nolookup accept gone shm noshm flipbyteorder
noonetile solid_color solid nosolid blackout xinerama
noflipbyteorder onetile noonetile solid_color solid
noxinerama xrandr noxrandr xrandr_mode padgeom quiet
nosolid blackout xinerama noxinerama xrandr noxrandr
q noquiet modtweak nomodtweak xkb noxkb skip_keycodes
xrandr_mode padgeom quiet q noquiet modtweak nomodtweak
add_keysyms noadd_keysyms clear_mods noclear_mods
xkb noxkb skip_keycodes add_keysyms noadd_keysyms
clear_keys noclear_keys remap repeat norepeat fb nofb
clear_mods noclear_mods clear_keys noclear_keys
bell nobell sel nosel primary noprimary cursorshape
remap repeat norepeat fb nofb bell nobell sel nosel
nocursorshape cursorpos nocursorpos cursor show_cursor
primary noprimary cursorshape nocursorshape cursorpos
noshow_cursor nocursor arrow xfixes noxfixes xdamage
nocursorpos cursor show_cursor noshow_cursor nocursor
noxdamage xd_area xd_mem alphacut alphafrac alpharemove
arrow xfixes noxfixes xdamage noxdamage xd_area
noalpharemove alphablend noalphablend xwarp xwarppointer
xd_mem alphacut alphafrac alpharemove noalpharemove
noxwarp noxwarppointer buttonmap dragging nodragging
alphablend noalphablend xwarp xwarppointer noxwarp
noxwarppointer buttonmap dragging nodragging
pointer_mode pm input_skip input client_input 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
...
@@ -1628,11 +1649,12 @@ scale_numer scale_denom scale_fac scaling_noblend
...
@@ -1628,11 +1649,12 @@ scale_numer scale_denom scale_fac scaling_noblend
scaling_nomult4 scaling_pad scaling_interpolate inetd
scaling_nomult4 scaling_pad scaling_interpolate inetd
safer unsafe passwdfile using_shm logfile o rc norc
safer unsafe passwdfile using_shm logfile o rc norc
h help V version lastmod bg sigpipe threads clients
h help V version lastmod bg sigpipe threads clients
client_count pid ext_xtest ext_xkb ext_xshm ext_xinerama
client_count pid ext_xtest ext_xtrap ext_xkb ext_xshm
ext_overlay ext_xfixes ext_xdamage ext_xrandr rootwin
ext_xinerama ext_overlay ext_xfixes ext_xdamage
num_buttons button_mask mouse_x mouse_y bpp depth
ext_xrandr rootwin num_buttons button_mask mouse_x
indexed_color dpy_x dpy_y wdpy_x wdpy_y off_x off_y
mouse_y bpp depth indexed_color dpy_x dpy_y wdpy_x
cdpy_x cdpy_y coff_x coff_y rfbauth passwd
wdpy_y off_x off_y cdpy_x cdpy_y coff_x coff_y rfbauth
passwd
.PP
.PP
\fB-sync\fR
\fB-sync\fR
.IP
.IP
...
...
x11vnc/x11vnc.c
View file @
ac01f36c
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment