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
6e2fa292
Commit
6e2fa292
authored
Jul 15, 2006
by
runge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update versions for next rel. add some more shortcuts to user:opts
parent
6facce2c
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
1531 additions
and
97 deletions
+1531
-97
configure.ac
configure.ac
+2
-2
prepare_x11vnc_dist.sh
prepare_x11vnc_dist.sh
+1
-1
README
x11vnc/README
+750
-71
help.c
x11vnc/help.c
+9
-6
user.c
x11vnc/user.c
+26
-13
x11vnc.1
x11vnc/x11vnc.1
+741
-1
x11vnc.h
x11vnc/x11vnc.h
+1
-2
x11vnc_defs.c
x11vnc/x11vnc_defs.c
+1
-1
No files found.
configure.ac
View file @
6e2fa292
# Process this file with autoconf to produce a configure script.
# Process this file with autoconf to produce a configure script.
AC_INIT(LibVNCServer, 0.
8.2
, http://sourceforge.net/projects/libvncserver)
AC_INIT(LibVNCServer, 0.
9pre
, http://sourceforge.net/projects/libvncserver)
AM_INIT_AUTOMAKE(LibVNCServer, 0.
8.2
)
AM_INIT_AUTOMAKE(LibVNCServer, 0.
9pre
)
AM_CONFIG_HEADER(rfbconfig.h)
AM_CONFIG_HEADER(rfbconfig.h)
AX_PREFIX_CONFIG_H([rfb/rfbconfig.h])
AX_PREFIX_CONFIG_H([rfb/rfbconfig.h])
...
...
prepare_x11vnc_dist.sh
View file @
6e2fa292
#!/bin/bash
#!/bin/bash
VERSION
=
"0.8.
2
"
VERSION
=
"0.8.
3
"
cd
"
$(
dirname
"
$0
"
)
"
cd
"
$(
dirname
"
$0
"
)
"
...
...
x11vnc/README
View file @
6e2fa292
This diff is collapsed.
Click to expand it.
x11vnc/help.c
View file @
6e2fa292
...
@@ -620,17 +620,20 @@ void print_help(int mode) {
...
@@ -620,17 +620,20 @@ void print_help(int mode) {
" above command is run as the user who just authenticated
\n
"
" above command is run as the user who just authenticated
\n
"
" via the login and password prompt.
\n
"
" via the login and password prompt.
\n
"
"
\n
"
"
\n
"
" Also in the case of -unixpw, the user logging in can
\n
"
" Also in the case of -unixpw, the user logging in
\n
"
" place a colon at the end of his username and supply
\n
"
" can place a colon at the end of his username and
\n
"
" a few options: scale=, scale_cursor= (or sc=), solid,
\n
"
" supply a few options: scale=, scale_cursor= (or sc=),
\n
"
" id=, clear_mods (or cm), clear_keys (or ck), repeat, or
\n
"
" solid (or so), id=, clear_mods (or cm), clear_keys
\n
"
" speeds= separated by commas if there is more than one.
\n
"
" (or ck), repeat, speeds= (or sp=), or readtimeout=
\n
"
" (or rd=) separated by commas if there is more than one.
\n
"
" After the user logs in successfully, these options will
\n
"
" After the user logs in successfully, these options will
\n
"
" be applied to the VNC screen. For example,
\n
"
" be applied to the VNC screen. For example,
\n
"
"
\n
"
"
\n
"
" login: fred:scale=3/4,repeat
\n
"
" login: fred:scale=3/4,
sc=1,
repeat
\n
"
" Password: ...
\n
"
" Password: ...
\n
"
"
\n
"
"
\n
"
" login: runge:sp=modem,rd=120,solid=root:
\n
"
"
\n
"
" for convenience m/n implies scale= e.g. fred:3/4
\n
"
" for convenience m/n implies scale= e.g. fred:3/4
\n
"
" To disable this set the environment variable
\n
"
" To disable this set the environment variable
\n
"
" X11VNC_NO_UNIXPW_OPTS=1. To set any other options,
\n
"
" X11VNC_NO_UNIXPW_OPTS=1. To set any other options,
\n
"
...
...
x11vnc/user.c
View file @
6e2fa292
...
@@ -1038,8 +1038,9 @@ void user_supplied_opts(char *opts) {
...
@@ -1038,8 +1038,9 @@ void user_supplied_opts(char *opts) {
char
*
p
,
*
str
;
char
*
p
,
*
str
;
char
*
allow
[]
=
{
char
*
allow
[]
=
{
"skip-display"
,
"skip-auth"
,
"skip-shared"
,
"skip-display"
,
"skip-auth"
,
"skip-shared"
,
"scale"
,
"scale_cursor"
,
"sc"
,
"solid"
,
"id"
,
"scale"
,
"scale_cursor"
,
"sc"
,
"solid"
,
"so"
,
"id"
,
"clear_mods"
,
"cm"
,
"clear_keys"
,
"ck"
,
"repeat"
,
"speeds"
,
"clear_mods"
,
"cm"
,
"clear_keys"
,
"ck"
,
"repeat"
,
"speeds"
,
"sp"
,
"readtimeout"
,
"rd"
,
NULL
NULL
};
};
...
@@ -1083,22 +1084,26 @@ void user_supplied_opts(char *opts) {
...
@@ -1083,22 +1084,26 @@ void user_supplied_opts(char *opts) {
}
else
if
(
strstr
(
p
,
"scale="
)
==
p
)
{
}
else
if
(
strstr
(
p
,
"scale="
)
==
p
)
{
if
(
scale_str
)
free
(
scale_str
);
if
(
scale_str
)
free
(
scale_str
);
scale_str
=
strdup
(
p
+
strlen
(
"scale="
));
scale_str
=
strdup
(
p
+
strlen
(
"scale="
));
}
else
if
(
strstr
(
p
,
"scale_cursor="
)
==
p
)
{
}
else
if
(
strstr
(
p
,
"scale_cursor="
)
==
p
||
strstr
(
p
,
"sc="
)
==
p
)
{
if
(
scale_cursor_str
)
free
(
scale_cursor_str
);
if
(
scale_cursor_str
)
free
(
scale_cursor_str
);
scale_cursor_str
=
strdup
(
p
+
q
=
strchr
(
p
,
'='
)
+
1
;
strlen
(
"scale_cursor="
));
scale_cursor_str
=
strdup
(
q
);
}
else
if
(
strstr
(
p
,
"sc="
)
==
p
)
{
}
else
if
(
!
strcmp
(
p
,
"solid"
)
||
!
strcmp
(
p
,
"so"
))
{
if
(
scale_cursor_str
)
free
(
scale_cursor_str
);
scale_cursor_str
=
strdup
(
p
+
strlen
(
"sc="
));
}
else
if
(
!
strcmp
(
p
,
"solid"
))
{
use_solid_bg
=
1
;
use_solid_bg
=
1
;
if
(
!
solid_str
)
{
if
(
!
solid_str
)
{
solid_str
=
strdup
(
solid_default
);
solid_str
=
strdup
(
solid_default
);
}
}
}
else
if
(
strstr
(
p
,
"solid="
)
==
p
)
{
}
else
if
(
strstr
(
p
,
"solid="
)
==
p
||
strstr
(
p
,
"so="
)
==
p
)
{
use_solid_bg
=
1
;
use_solid_bg
=
1
;
if
(
solid_str
)
free
(
solid_str
);
if
(
solid_str
)
free
(
solid_str
);
solid_str
=
strdup
(
p
+
strlen
(
"solid="
));
q
=
strchr
(
p
,
'='
)
+
1
;
if
(
!
strcmp
(
q
,
"R"
))
{
solid_str
=
strdup
(
"root:"
);
}
else
{
solid_str
=
strdup
(
q
);
}
}
else
if
(
strstr
(
p
,
"id="
)
==
p
)
{
}
else
if
(
strstr
(
p
,
"id="
)
==
p
)
{
unsigned
long
win
;
unsigned
long
win
;
q
=
p
+
strlen
(
"id="
);
q
=
p
+
strlen
(
"id="
);
...
@@ -1115,9 +1120,11 @@ void user_supplied_opts(char *opts) {
...
@@ -1115,9 +1120,11 @@ void user_supplied_opts(char *opts) {
clear_mods
=
2
;
clear_mods
=
2
;
}
else
if
(
!
strcmp
(
p
,
"repeat"
))
{
}
else
if
(
!
strcmp
(
p
,
"repeat"
))
{
no_autorepeat
=
0
;
no_autorepeat
=
0
;
}
else
if
(
strstr
(
p
,
"speeds="
)
==
p
)
{
}
else
if
(
strstr
(
p
,
"speeds="
)
==
p
||
strstr
(
p
,
"sp="
)
==
p
)
{
if
(
speeds_str
)
free
(
speeds_str
);
if
(
speeds_str
)
free
(
speeds_str
);
speeds_str
=
strdup
(
p
+
strlen
(
"speeds="
));
q
=
strchr
(
p
,
'='
)
+
1
;
speeds_str
=
strdup
(
q
);
q
=
speeds_str
;
q
=
speeds_str
;
while
(
*
q
!=
'\0'
)
{
while
(
*
q
!=
'\0'
)
{
if
(
*
q
==
'-'
)
{
if
(
*
q
==
'-'
)
{
...
@@ -1125,7 +1132,13 @@ void user_supplied_opts(char *opts) {
...
@@ -1125,7 +1132,13 @@ void user_supplied_opts(char *opts) {
}
}
q
++
;
q
++
;
}
}
}
else
if
(
strstr
(
p
,
"readtimeout="
)
==
p
||
strstr
(
p
,
"rd="
)
==
p
)
{
q
=
strchr
(
p
,
'='
)
+
1
;
rfbMaxClientWait
=
atoi
(
q
)
*
1000
;
}
}
}
else
{
rfbLog
(
"skipping option: %s
\n
"
,
p
);
}
}
p
=
strtok
(
NULL
,
","
);
p
=
strtok
(
NULL
,
","
);
}
}
...
...
x11vnc/x11vnc.1
View file @
6e2fa292
This diff is collapsed.
Click to expand it.
x11vnc/x11vnc.h
View file @
6e2fa292
...
@@ -119,7 +119,6 @@
...
@@ -119,7 +119,6 @@
#endif
#endif
#define noREL8x
#define noREL8x
#define REL8x
/*
/*
* Beginning of support for small binary footprint build for embedded
* Beginning of support for small binary footprint build for embedded
...
@@ -130,7 +129,7 @@
...
@@ -130,7 +129,7 @@
* should be done too (manually for now).
* should be done too (manually for now).
*
*
* If there is interest more of the bloat can be removed... Currently
* If there is interest more of the bloat can be removed... Currently
* these shrink the binary from
500K to about 27
0K.
* these shrink the binary from
1100K to about 60
0K.
*/
*/
#ifndef SMALL_FOOTPRINT
#ifndef SMALL_FOOTPRINT
#define SMALL_FOOTPRINT 0
#define SMALL_FOOTPRINT 0
...
...
x11vnc/x11vnc_defs.c
View file @
6e2fa292
...
@@ -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.
2 lastmod: 2006-07-12
"
;
char
lastmod
[]
=
"0.8.
3 lastmod: 2006-07-15
"
;
/* 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