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
7ed9e5b1
Commit
7ed9e5b1
authored
Apr 11, 2005
by
runge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x11vnc: fix some -rawfb bugs, add setup:cmd
parent
baee5e2b
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
932 additions
and
573 deletions
+932
-573
ChangeLog
x11vnc/ChangeLog
+4
-0
README
x11vnc/README
+679
-454
slide.pl
x11vnc/misc/slide.pl
+2
-2
tkx11vnc
x11vnc/tkx11vnc
+1
-0
tkx11vnc.h
x11vnc/tkx11vnc.h
+1
-0
x11vnc.1
x11vnc/x11vnc.1
+40
-28
x11vnc.c
x11vnc/x11vnc.c
+205
-89
No files found.
x11vnc/ChangeLog
View file @
7ed9e5b1
2005-04-11 Karl Runge <runge@karlrunge.com>
* fix -clip under -rawfb, fix offset bug under file lseeking.
* add -rawfb setup:cmd mode to initialize fb.
2005-04-10 Karl Runge <runge@karlrunge.com>
2005-04-10 Karl Runge <runge@karlrunge.com>
* -rawfb non X-polling (i.e. shm, mmap, lseek).
* -rawfb non X-polling (i.e. shm, mmap, lseek).
* -pipeinput enable external user input processing command.
* -pipeinput enable external user input processing command.
...
...
x11vnc/README
View file @
7ed9e5b1
This source diff could not be displayed because it is too large. You can
view the blob
instead.
x11vnc/misc/slide.pl
View file @
7ed9e5b1
...
@@ -75,7 +75,7 @@ $I = 0;
...
@@ -75,7 +75,7 @@ $I = 0;
while
(
<>
)
{
while
(
<>
)
{
# read the next user input event, watch for button press or spacebar:
# read the next user input event, watch for button press or spacebar:
last
if
/^Keysym.* [qQ] /
;
###
last if /^Keysym.* [qQ] /;
next
unless
/^(Pointer.*ButtonPress|Keysym.*space.*KeyPress)/
;
next
unless
/^(Pointer.*ButtonPress|Keysym.*space.*KeyPress)/
;
$I
=
(
$I
+
1
)
%
$N
;
$I
=
(
$I
+
1
)
%
$N
;
showpic
(
$I
);
showpic
(
$I
);
...
@@ -108,5 +108,5 @@ sub showpic {
...
@@ -108,5 +108,5 @@ sub showpic {
}
}
close
(
FB
);
close
(
FB
);
#unlink($fb); # this (probably) won't kill x11vnc
#
##
unlink($fb); # this (probably) won't kill x11vnc
print
STDERR
"$0 done.\n"
;
print
STDERR
"$0 done.\n"
;
x11vnc/tkx11vnc
View file @
7ed9e5b1
...
@@ -176,6 +176,7 @@ Misc
...
@@ -176,6 +176,7 @@ Misc
=-C:ignore,exit sigpipe:
=-C:ignore,exit sigpipe:
=0 inetd
=0 inetd
rfbwait:
rfbwait:
pipeinput:
--
--
=RA remote-cmd:
=RA remote-cmd:
=GA all-settings
=GA all-settings
...
...
x11vnc/tkx11vnc.h
View file @
7ed9e5b1
...
@@ -182,6 +182,7 @@
...
@@ -182,6 +182,7 @@
" =-C:ignore,exit sigpipe:
\n
"
" =-C:ignore,exit sigpipe:
\n
"
" =0 inetd
\n
"
" =0 inetd
\n
"
" rfbwait:
\n
"
" rfbwait:
\n
"
" pipeinput:
\n
"
" --
\n
"
" --
\n
"
" =RA remote-cmd:
\n
"
" =RA remote-cmd:
\n
"
" =GA all-settings
\n
"
" =GA all-settings
\n
"
...
...
x11vnc/x11vnc.1
View file @
7ed9e5b1
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
.TH X11VNC "1" "April 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.2
pre, lastmod: 2005-04-10
version: 0.7.2
, lastmod: 2005-04-11
.SH SYNOPSIS
.SH SYNOPSIS
.B x11vnc
.B x11vnc
[OPTION]...
[OPTION]...
...
@@ -1164,8 +1164,8 @@ or where window tearing is a problem.
...
@@ -1164,8 +1164,8 @@ or where window tearing is a problem.
Experimental option, instead of polling X, poll the
Experimental option, instead of polling X, poll the
memory object specified in \fIstring\fR. For shared
memory object specified in \fIstring\fR. For shared
memory segments it is of the form: "shm:N@WxHxB"
memory segments it is of the form: "shm:N@WxHxB"
which specifies a shmid N and framebuffer
width, h
eight,
which specifies a shmid N and framebuffer
Width, H
eight,
and
b
its per pixel. To memory map
and
B
its per pixel. To memory map
.IR mmap (2)
.IR mmap (2)
a file use:
a file use:
"map:/path/to/a/file@WxHxB". If there is trouble
"map:/path/to/a/file@WxHxB". If there is trouble
...
@@ -1174,15 +1174,25 @@ with mmap, use "file:/..." for slower
...
@@ -1174,15 +1174,25 @@ with mmap, use "file:/..." for slower
based
based
reading.
reading.
.IP
.IP
If string is "setup:cmd", then the command "cmd"
is run and the first line from it is read and used
as \fIstring\fR. This allows initializing the device,
determining WxHxB, etc. These are often done as root
so take care.
.IP
Optional suffixes are ":R/G/B" and "+O" to specify
Optional suffixes are ":R/G/B" and "+O" to specify
red, green, and blue masks and an offset into the
red, green, and blue masks and an offset into the
memory object. If the masks are not provided x11vnc
memory object. If the masks are not provided x11vnc
guesses them based on the bpp.
guesses them based on the bpp.
.IP
.IP
Examples:
Examples:
.IP
\fB-rawfb\fR shm:210337933@800x600x32:ff/ff00/ff0000
\fB-rawfb\fR shm:210337933@800x600x32:ff/ff00/ff0000
.IP
\fB-rawfb\fR map:/dev/fb0@1024x768x32
\fB-rawfb\fR map:/dev/fb0@1024x768x32
.IP
\fB-rawfb\fR map:/tmp/Xvfb_screen0@640x480x8+3232
\fB-rawfb\fR map:/tmp/Xvfb_screen0@640x480x8+3232
.IP
\fB-rawfb\fR file:/tmp/my.pnm@250x200x24+37
\fB-rawfb\fR file:/tmp/my.pnm@250x200x24+37
.IP
.IP
(see
(see
...
@@ -1197,19 +1207,20 @@ will cause this mode to crash, so please think twice
...
@@ -1197,19 +1207,20 @@ will cause this mode to crash, so please think twice
before setting/changing them. If you don't want x11vnc
before setting/changing them. If you don't want x11vnc
to close the DISPLAY in rawfb mode, then capitalize
to close the DISPLAY in rawfb mode, then capitalize
the prefix, SHM:, MAP: etc. Keeping the display open
the prefix, SHM:, MAP: etc. Keeping the display open
enables defau
tl remote
control channel.
enables defau
lt remote-
control channel.
.PP
.PP
\fB-pipeinput\fR \fIcmd\fR
\fB-pipeinput\fR \fIcmd\fR
.IP
.IP
Another experimental option: it lets you supply an
Another experimental option: it lets you supply
extern command in \fIcmd\fR that x11vnc will pipe all of
an extern command in \fIcmd\fR that x11vnc will pipe
the user input events to in a simple format. By default
all of the user input events to in a simple format.
x11vnc will not process any of the user input events.
In \fB-pipeinput\fR mode by default x11vnc will not process
If you prefix \fIcmd\fR with "tee:" it will both send
any of the user input events. If you prefix \fIcmd\fR
them to the pipe command and process them. For a
with "tee:" it will both send them to the pipe
description of the format run "\fB-pipeinput\fR \fItee:cat\fR".
command and process them. For a description of the
Another prefix is "reopen" which means to reopen pipe
format run "\fB-pipeinput\fR \fItee:/bin/cat\fR". Another prefix
if it exits. Separate multiple prefixes with commas.
is "reopen" which means to reopen pipe if it exits.
Separate multiple prefixes with commas.
.IP
.IP
In combination with \fB-rawfb\fR one might be able to
In combination with \fB-rawfb\fR one might be able to
do amusing things (e.g. control non-X devices).
do amusing things (e.g. control non-X devices).
...
@@ -1717,25 +1728,26 @@ noalpharemove alphablend noalphablend xwarp xwarppointer
...
@@ -1717,25 +1728,26 @@ noalpharemove alphablend noalphablend xwarp xwarppointer
noxwarp noxwarppointer buttonmap dragging nodragging
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
nap
n
ap nonap sb screen_blank fs gaps grow fuzz
snapfb
n
onap sb screen_blank fs gaps grow fuzz snapfb no
snapfb
nosnapfb rawfb
progressive rfbport http nohttp httpport
rawfb setup:
progressive rfbport http nohttp httpport
httpdir enablehttpproxy noenablehttpproxy alwaysshared
httpdir enablehttpproxy noenablehttpproxy alwaysshared
noalwaysshared nevershared noalwaysshared dontdisconnect
noalwaysshared nevershared noalwaysshared dontdisconnect
nodontdisconnect desktop noremote
nodontdisconnect desktop noremote
.IP
.IP
aro= display vncdisplay desktopname http_url auth
aro= debug_xevents: display vncdisplay desktopname
users rootshift clipshift scale_str scaled_x scaled_y
http_url auth users rootshift clipshift scale_str
scale_numer scale_denom scale_fac scaling_blend
scaled_x scaled_y scale_numer scale_denom
scaling_nomult4 scaling_pad scaling_interpolate
scale_fac scaling_blend scaling_nomult4 scaling_pad
inetd safer unsafe passwdfile using_shm logfile o
scaling_interpolate inetd safer unsafe passwdfile
flag rc norc h help V version lastmod bg sigpipe
using_shm logfile o flag rc norc h help V version
threads clients client_count pid ext_xtest ext_xtrap
lastmod bg sigpipe threads pipeinput clients
ext_xkb ext_xshm ext_xinerama ext_overlay ext_xfixes
client_count pid ext_xtest ext_xtrap ext_xkb ext_xshm
ext_xdamage ext_xrandr rootwin num_buttons button_mask
ext_xinerama ext_overlay ext_xfixes ext_xdamage
mouse_x mouse_y bpp depth indexed_color dpy_x dpy_y
ext_xrandr rootwin num_buttons button_mask mouse_x
wdpy_x wdpy_y off_x off_y cdpy_x cdpy_y coff_x coff_y
mouse_y bpp depth indexed_color dpy_x dpy_y wdpy_x
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 @
7ed9e5b1
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