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>
* -rawfb non X-polling (i.e. shm, mmap, lseek).
* -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;
while
(
<>
)
{
# 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)/
;
$I
=
(
$I
+
1
)
%
$N
;
showpic
(
$I
);
...
...
@@ -108,5 +108,5 @@ sub showpic {
}
close
(
FB
);
#unlink($fb); # this (probably) won't kill x11vnc
#
##
unlink($fb); # this (probably) won't kill x11vnc
print
STDERR
"$0 done.\n"
;
x11vnc/tkx11vnc
View file @
7ed9e5b1
...
...
@@ -176,6 +176,7 @@ Misc
=-C:ignore,exit sigpipe:
=0 inetd
rfbwait:
pipeinput:
--
=RA remote-cmd:
=GA all-settings
...
...
x11vnc/tkx11vnc.h
View file @
7ed9e5b1
...
...
@@ -182,6 +182,7 @@
" =-C:ignore,exit sigpipe:
\n
"
" =0 inetd
\n
"
" rfbwait:
\n
"
" pipeinput:
\n
"
" --
\n
"
" =RA remote-cmd:
\n
"
" =GA all-settings
\n
"
...
...
x11vnc/x11vnc.1
View file @
7ed9e5b1
...
...
@@ -2,7 +2,7 @@
.TH X11VNC "1" "April 2005" "x11vnc " "User Commands"
.SH NAME
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
.B x11vnc
[OPTION]...
...
...
@@ -1164,8 +1164,8 @@ or where window tearing is a problem.
Experimental option, instead of polling X, poll the
memory object specified in \fIstring\fR. For shared
memory segments it is of the form: "shm:N@WxHxB"
which specifies a shmid N and framebuffer
width, h
eight,
and
b
its per pixel. To memory map
which specifies a shmid N and framebuffer
Width, H
eight,
and
B
its per pixel. To memory map
.IR mmap (2)
a file use:
"map:/path/to/a/file@WxHxB". If there is trouble
...
...
@@ -1174,15 +1174,25 @@ with mmap, use "file:/..." for slower
based
reading.
.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
red, green, and blue masks and an offset into the
memory object. If the masks are not provided x11vnc
guesses them based on the bpp.
.IP
Examples:
.IP
\fB-rawfb\fR shm:210337933@800x600x32:ff/ff00/ff0000
.IP
\fB-rawfb\fR map:/dev/fb0@1024x768x32
.IP
\fB-rawfb\fR map:/tmp/Xvfb_screen0@640x480x8+3232
.IP
\fB-rawfb\fR file:/tmp/my.pnm@250x200x24+37
.IP
(see
...
...
@@ -1197,19 +1207,20 @@ will cause this mode to crash, so please think twice
before setting/changing them. If you don't want x11vnc
to close the DISPLAY in rawfb mode, then capitalize
the prefix, SHM:, MAP: etc. Keeping the display open
enables defau
tl remote
control channel.
enables defau
lt remote-
control channel.
.PP
\fB-pipeinput\fR \fIcmd\fR
.IP
Another experimental option: it lets you supply an
extern command in \fIcmd\fR that x11vnc will pipe all of
the user input events to in a simple format. By default
x11vnc will not process any of the user input events.
If you prefix \fIcmd\fR with "tee:" it will both send
them to the pipe command and process them. For a
description of the format run "\fB-pipeinput\fR \fItee:cat\fR".
Another prefix is "reopen" which means to reopen pipe
if it exits. Separate multiple prefixes with commas.
Another experimental option: it lets you supply
an extern command in \fIcmd\fR that x11vnc will pipe
all of the user input events to in a simple format.
In \fB-pipeinput\fR mode by default x11vnc will not process
any of the user input events. If you prefix \fIcmd\fR
with "tee:" it will both send them to the pipe
command and process them. For a description of the
format run "\fB-pipeinput\fR \fItee:/bin/cat\fR". Another prefix
is "reopen" which means to reopen pipe if it exits.
Separate multiple prefixes with commas.
.IP
In combination with \fB-rawfb\fR one might be able to
do amusing things (e.g. control non-X devices).
...
...
@@ -1717,25 +1728,26 @@ noalpharemove alphablend noalphablend xwarp xwarppointer
noxwarp noxwarppointer buttonmap dragging nodragging
pointer_mode pm input_skip input client_input speeds
debug_pointer dp nodebug_pointer nodp debug_keyboard dk
nodebug_keyboard nodk deferupdate defer wait rfbwait
n
ap nonap sb screen_blank fs gaps grow fuzz
snapfb
nosnapfb rawfb
progressive rfbport http nohttp httpport
nodebug_keyboard nodk deferupdate defer wait rfbwait
nap
n
onap sb screen_blank fs gaps grow fuzz snapfb no
snapfb
rawfb setup:
progressive rfbport http nohttp httpport
httpdir enablehttpproxy noenablehttpproxy alwaysshared
noalwaysshared nevershared noalwaysshared dontdisconnect
nodontdisconnect desktop noremote
.IP
aro= display vncdisplay desktopname http_url auth
users rootshift clipshift scale_str scaled_x scaled_y
scale_numer scale_denom scale_fac scaling_blend
scaling_nomult4 scaling_pad scaling_interpolate
inetd safer unsafe passwdfile using_shm logfile o
flag rc norc h help V version lastmod bg sigpipe
threads clients client_count pid ext_xtest ext_xtrap
ext_xkb ext_xshm ext_xinerama ext_overlay ext_xfixes
ext_xdamage ext_xrandr rootwin num_buttons button_mask
mouse_x mouse_y bpp depth indexed_color dpy_x dpy_y
wdpy_x wdpy_y off_x off_y cdpy_x cdpy_y coff_x coff_y
rfbauth passwd
aro= debug_xevents: display vncdisplay desktopname
http_url auth users rootshift clipshift scale_str
scaled_x scaled_y scale_numer scale_denom
scale_fac scaling_blend scaling_nomult4 scaling_pad
scaling_interpolate inetd safer unsafe passwdfile
using_shm logfile o flag rc norc h help V version
lastmod bg sigpipe threads pipeinput clients
client_count pid ext_xtest ext_xtrap ext_xkb ext_xshm
ext_xinerama ext_overlay ext_xfixes ext_xdamage
ext_xrandr rootwin num_buttons button_mask mouse_x
mouse_y bpp depth indexed_color dpy_x dpy_y wdpy_x
wdpy_y off_x off_y cdpy_x cdpy_y coff_x coff_y rfbauth
passwd
.PP
\fB-sync\fR
.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