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
e4c85d48
Commit
e4c85d48
authored
Sep 10, 2006
by
runge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x11vnc: REQ_ARGS, EV_SYN/SYN_REPORT check. restore -cursor most under -display WAIT
parent
1cb25ce3
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
1495 additions
and
1246 deletions
+1495
-1246
ChangeLog
x11vnc/ChangeLog
+4
-0
README
x11vnc/README
+1458
-1239
cursor.c
x11vnc/cursor.c
+1
-1
help.c
x11vnc/help.c
+6
-1
ssltools.h
x11vnc/ssltools.h
+2
-2
uinput.c
x11vnc/uinput.c
+6
-0
x11vnc.1
x11vnc/x11vnc.1
+9
-2
x11vnc.c
x11vnc/x11vnc.c
+8
-0
x11vnc_defs.c
x11vnc/x11vnc_defs.c
+1
-1
No files found.
x11vnc/ChangeLog
View file @
e4c85d48
2006-09-10 Karl Runge <runge@karlrunge.com>
* x11vnc: minor changes: REQ_ARGS for -sslGenCert, EV_SYN
SYN_REPORT check restore cursor most under -display WAIT.
2006-08-10 Karl Runge <runge@karlrunge.com>
2006-08-10 Karl Runge <runge@karlrunge.com>
* x11vnc: first pass at touchscreens via uinput.
* x11vnc: first pass at touchscreens via uinput.
...
...
x11vnc/README
View file @
e4c85d48
This source diff could not be displayed because it is too large. You can
view the blob
instead.
x11vnc/cursor.c
View file @
e4c85d48
...
@@ -1423,7 +1423,7 @@ void initialize_cursors_mode(void) {
...
@@ -1423,7 +1423,7 @@ void initialize_cursors_mode(void) {
}
}
}
else
{
}
else
{
if
(
screen
)
{
if
(
screen
)
{
screen
->
cursor
=
NULL
;
/* dangerous? */
screen
->
cursor
=
NULL
;
set_cursor_was_changed
(
screen
);
set_cursor_was_changed
(
screen
);
}
}
}
}
...
...
x11vnc/help.c
View file @
e4c85d48
...
@@ -1066,6 +1066,11 @@ void print_help(int mode) {
...
@@ -1066,6 +1066,11 @@ void print_help(int mode) {
"
\n
"
"
\n
"
" ssl_vncviewer -mycert ./roger.pem hostname:0
\n
"
" ssl_vncviewer -mycert ./roger.pem hostname:0
\n
"
"
\n
"
"
\n
"
" If you set the env. var REQ_ARGS='...' it will be
\n
"
" passed to openssl req(1). A common use would be
\n
"
" REQ_ARGS='-days 730' to bump up the expiration date
\n
"
" (2 years in this case).
\n
"
"
\n
"
"-sslEncKey [pem] Utility to encrypt an existing PEM file with a
\n
"
"-sslEncKey [pem] Utility to encrypt an existing PEM file with a
\n
"
" passphrase you supply when prompted. For that key to be
\n
"
" passphrase you supply when prompted. For that key to be
\n
"
" used (e.g. by x11vnc) the passphrase must be supplied
\n
"
" used (e.g. by x11vnc) the passphrase must be supplied
\n
"
...
@@ -3463,7 +3468,7 @@ void xopen_display_fail_message(char *disp) {
...
@@ -3463,7 +3468,7 @@ void xopen_display_fail_message(char *disp) {
" will of course change,
\n
"
);
" will of course change,
\n
"
);
fprintf
(
stderr
,
" and the directory the cookie file resides in may"
fprintf
(
stderr
,
" and the directory the cookie file resides in may"
" also be system dependent.
\n
"
);
" also be system dependent.
\n
"
);
fprintf
(
stderr
,
" Sometimes the command
\"
ps wwaux | grep auth
\"
"
fprintf
(
stderr
,
" Sometimes the command
\"
ps ww
w
aux | grep auth
\"
"
" can reveal the file location.
\n
"
);
" can reveal the file location.
\n
"
);
fprintf
(
stderr
,
"
\n
"
);
fprintf
(
stderr
,
"
\n
"
);
fprintf
(
stderr
,
"See also: http://www.karlrunge.com/x11vnc/#faq
\n
"
);
fprintf
(
stderr
,
"See also: http://www.karlrunge.com/x11vnc/#faq
\n
"
);
...
...
x11vnc/ssltools.h
View file @
e4c85d48
...
@@ -343,7 +343,7 @@ char genCert[] =
...
@@ -343,7 +343,7 @@ char genCert[] =
" direrror
\"
$DIR/CA/self.cnf.$type
\"\n
"
" direrror
\"
$DIR/CA/self.cnf.$type
\"\n
"
" fi
\n
"
" fi
\n
"
" cat
\"
$DIR/CA/self.cnf.$type
\"
| sed -e
\"
s/%NAME/$name0/
\"
>
\"
$cnf
\"
|| exit 1
\n
"
" cat
\"
$DIR/CA/self.cnf.$type
\"
| sed -e
\"
s/%NAME/$name0/
\"
>
\"
$cnf
\"
|| exit 1
\n
"
"
\"
$OPENSSL
\"
req -config
\"
$cnf
\"
-nodes -new -newkey rsa:2048 -x509
\\\n
"
"
\"
$OPENSSL
\"
req -config
\"
$cnf
\"
-nodes -new -newkey rsa:2048 -x509
$REQ_ARGS
\\\n
"
" -keyout
\"
$DIR/$dest.key
\"
\\\n
"
" -keyout
\"
$DIR/$dest.key
\"
\\\n
"
" -out
\"
$DIR/$dest.crt
\"\n
"
" -out
\"
$DIR/$dest.crt
\"\n
"
" else
\n
"
" else
\n
"
...
@@ -351,7 +351,7 @@ char genCert[] =
...
@@ -351,7 +351,7 @@ char genCert[] =
" direrror
\"
$DIR/CA/ssl.cnf.$type
\"\n
"
" direrror
\"
$DIR/CA/ssl.cnf.$type
\"\n
"
" fi
\n
"
" fi
\n
"
" cat
\"
$DIR/CA/ssl.cnf.$type
\"
| sed -e
\"
s/%NAME/$name0/
\"
>
\"
$cnf
\"
|| exit 1
\n
"
" cat
\"
$DIR/CA/ssl.cnf.$type
\"
| sed -e
\"
s/%NAME/$name0/
\"
>
\"
$cnf
\"
|| exit 1
\n
"
"
\"
$OPENSSL
\"
req -config
\"
$cnf
\"
-nodes -new -newkey rsa:2048
\\\n
"
"
\"
$OPENSSL
\"
req -config
\"
$cnf
\"
-nodes -new -newkey rsa:2048
$REQ_ARGS
\\\n
"
" -keyout
\"
$DIR/$dest.key
\"
\\\n
"
" -keyout
\"
$DIR/$dest.key
\"
\\\n
"
" -out
\"
$DIR/$dest.req
\"\n
"
" -out
\"
$DIR/$dest.req
\"\n
"
" fi
\n
"
" fi
\n
"
...
...
x11vnc/uinput.c
View file @
e4c85d48
...
@@ -21,8 +21,14 @@
...
@@ -21,8 +21,14 @@
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#include <linux/input.h>
#include <linux/input.h>
#include <linux/uinput.h>
#include <linux/uinput.h>
#if !defined(EV_SYN) || !defined(SYN_REPORT)
#undef UINPUT_OK
#endif
#endif
#endif
int
check_uinput
(
void
);
int
check_uinput
(
void
);
int
initialize_uinput
(
void
);
int
initialize_uinput
(
void
);
int
set_uinput_accel
(
char
*
str
);
int
set_uinput_accel
(
char
*
str
);
...
...
x11vnc/x11vnc.1
View file @
e4c85d48
.\" This file was automatically generated from x11vnc -help output.
.\" This file was automatically generated from x11vnc -help output.
.TH X11VNC "1" "
August
2006" "x11vnc " "User Commands"
.TH X11VNC "1" "
September
2006" "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.8.3, lastmod: 2006-0
8
-10
version: 0.8.3, lastmod: 2006-0
9
-10
.SH SYNOPSIS
.SH SYNOPSIS
.B x11vnc
.B x11vnc
[OPTION]...
[OPTION]...
...
@@ -1207,6 +1207,13 @@ roger), and on the viewer user on somehost could do
...
@@ -1207,6 +1207,13 @@ roger), and on the viewer user on somehost could do
for example:
for example:
.IP
.IP
ssl_vncviewer \fB-mycert\fR ./roger.pem hostname:0
ssl_vncviewer \fB-mycert\fR ./roger.pem hostname:0
.IP
If you set the env. var REQ_ARGS='...' it will be
passed to openssl
.IR req (1).
A common use would be
REQ_ARGS='-days 730' to bump up the expiration date
(2 years in this case).
.PP
.PP
\fB-sslEncKey\fR \fI[pem]\fR
\fB-sslEncKey\fR \fI[pem]\fR
.IP
.IP
...
...
x11vnc/x11vnc.c
View file @
e4c85d48
...
@@ -2825,9 +2825,17 @@ int main(int argc, char* argv[]) {
...
@@ -2825,9 +2825,17 @@ int main(int argc, char* argv[]) {
"
\"
lurk=
\"
mode...
\n
"
);
"
\"
lurk=
\"
mode...
\n
"
);
}
}
lurk_loop
(
users_list
);
lurk_loop
(
users_list
);
}
else
if
(
use_dpy
&&
strstr
(
use_dpy
,
"WAIT:"
)
==
use_dpy
)
{
}
else
if
(
use_dpy
&&
strstr
(
use_dpy
,
"WAIT:"
)
==
use_dpy
)
{
char
*
mcm
=
multiple_cursors_mode
;
waited_for_client
=
wait_for_client
(
&
argc_vnc
,
argv_vnc
,
waited_for_client
=
wait_for_client
(
&
argc_vnc
,
argv_vnc
,
try_http
&&
!
got_httpdir
);
try_http
&&
!
got_httpdir
);
if
(
!
mcm
&&
multiple_cursors_mode
)
{
free
(
multiple_cursors_mode
);
multiple_cursors_mode
=
NULL
;
}
}
}
if
(
use_dpy
)
{
if
(
use_dpy
)
{
...
...
x11vnc/x11vnc_defs.c
View file @
e4c85d48
...
@@ -15,7 +15,7 @@ int xtrap_base_event_type = 0;
...
@@ -15,7 +15,7 @@ int xtrap_base_event_type = 0;
int
xdamage_base_event_type
=
0
;
int
xdamage_base_event_type
=
0
;
/* date +'lastmod: %Y-%m-%d' */
/* date +'lastmod: %Y-%m-%d' */
char
lastmod
[]
=
"0.8.3 lastmod: 2006-0
8
-10"
;
char
lastmod
[]
=
"0.8.3 lastmod: 2006-0
9
-10"
;
/* X display info */
/* X display info */
...
...
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