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
454c1fad
Commit
454c1fad
authored
Dec 24, 2005
by
runge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x11vnc: enhance -passwdfile features, filetransfer on by default.
parent
e673a125
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
312 additions
and
103 deletions
+312
-103
ChangeLog
ChangeLog
+3
-0
ChangeLog
x11vnc/ChangeLog
+4
-0
README
x11vnc/README
+54
-15
x11vnc.1
x11vnc/x11vnc.1
+55
-15
x11vnc.c
x11vnc/x11vnc.c
+196
-73
No files found.
ChangeLog
View file @
454c1fad
2005-12-24 Karl Runge <runge@karlrunge.com>
* x11vnc: enhance -passwdfile features, filetransfer on by default.
2005-12-19 Dave Stuart <dave@justdave.us>
* libvncserver/{main.c,rfbserver.c,cargs.c}, rfb/rfb.h: introduce
deferPtrUpdateTime, which defers the handling of pointer events
...
...
x11vnc/ChangeLog
View file @
454c1fad
2005-12-24 Karl Runge <runge@karlrunge.com>
* x11vnc: enhance -passwdfile features, filetransfer on by default,
call rfbRegisterTightVNCFileTransferExtension() earlier.
2005-11-28 Karl Runge <runge@karlrunge.com>
* x11vnc: add -loop option.
...
...
x11vnc/README
View file @
454c1fad
x11vnc
README
file
Date
:
Mon
Nov
28
10
:
42
:
40
EST
2005
x11vnc
README
file
Date
:
Sat
Dec
24
10
:
14
:
27
EST
2005
The
following
information
is
taken
from
these
URLs
:
...
...
@@ -4757,7 +4757,7 @@ x11vnc: a VNC server for real X displays
Here are all of x11vnc command line options:
% x11vnc -opts (see below for -help long descriptions)
x11vnc: allow VNC connections to real X11 displays. 0.7.3 lastmod: 2005-1
1-28
x11vnc: allow VNC connections to real X11 displays. 0.7.3 lastmod: 2005-1
2-24
x11vnc options:
-display disp -auth file
...
...
@@ -4770,7 +4770,7 @@ x11vnc options:
-shared -once
-forever -loop
-timeout n -inetd
-
filexfer
-http
-
nofilexfer
-http
-connect string -vncconnect
-novncconnect -allow host1[,host2..]
-localhost -nolookup
...
...
@@ -4845,6 +4845,7 @@ libvncserver options:
-passwd plain-password use authentication
(use plain-password as password, USE AT YOUR RISK)
-deferupdate time time in ms to defer updates (default 40)
-deferptrupdate time time in ms to defer pointer updates (default none)
-desktop name VNC desktop name (default "LibVNCServer")
-alwaysshared always treat new clients as shared
-nevershared never treat new clients as shared
...
...
@@ -4857,11 +4858,16 @@ libvncserver options:
-listen ipaddr listen for connections only on network interface with
addr ipaddr. '-listen localhost' and hostname work too.
libvncserver-tight-extension options:
-disablefiletransfer disable file transfer
-ftproot string set ftp root
% x11vnc -help
x11vnc: allow VNC connections to real X11 displays. 0.7.3 lastmod: 2005-1
1-28
x11vnc: allow VNC connections to real X11 displays. 0.7.3 lastmod: 2005-1
2-24
Typical usage is:
...
...
@@ -5051,7 +5057,13 @@ Options:
option, otherwise the stderr goes to the viewer which
will cause it to abort. Specifying both -inetd and -q
and no -o will automatically close the stderr.
-filexfer Enable the TightVNC file transfer extension.
-nofilexfer Disable the TightVNC file transfer extension. (same as
-disablefiletransfer). Note that when the -viewonly
option is supplied all file transfers are disabled.
Also clients that log in viewonly cannot transfer files.
However, if the remote control mechanism is used to
change the global or per-client viewonly state the
filetransfer permissions will NOT change.
-http Instead of using -httpdir (see below) to specify
where the Java vncviewer applet is, have x11vnc try
to *guess* where the directory is by looking relative
...
...
@@ -5114,18 +5126,40 @@ Options:
anything and enables view-only users to move the mouse.
This option is ignored when a global -viewonly is in
effect (all input is discarded in that case).
-viewpasswd string Supply a 2nd password for view-only logins. The -passwd
(full-access) password must also be supplied.
-passwdfile filename Specify libvncserver -passwd via the first line of the
file "filename" instead of via command line (where
others might see it via ps(1)). If a second non blank
line exists in the file it is taken as a view-only
password (i.e. -viewpasswd) To supply an empty password
for either field the string "__EMPTY__" may be used.
Note: -passwdfile is a simple plaintext passwd, see
also -rfbauth and -storepasswd below for obfuscated
VNC password files. Neither file should be readable
by untrusted users.
-passwdfile filename Specify the libvncserver password via the first line
of the file "filename" (instead of via -passwd on
the command line where others might see it via ps(1)).
If the filename is prefixed with "rm:" it will be
removed after being read. In general, the password file
should not be readable by untrusted users (BTW: neither
should the VNC -rfbauth file: it is NOT encrypted).
Note that only the first 8 characters of a password
are used.
If multiple non-blank lines exist in the file they are
all taken as valid passwords. Blank lines are ignored.
Password lines may be "commented out" (ignored) if
they begin with the charactor "#" or the line contains
the string "__SKIP__". Lines may be annotated by use
of the "__COMM__" string: from it to the end of the
line is ignored. An empty password may be specified
via the "__EMPTY__" string on a line by itself (note
your viewer might not accept empty passwords).
If the string "__BEGIN_VIEWONLY__" appears on a
line by itself, the remaining passwords are used for
viewonly access. For compatibility, as a special case
if the file contains only two password lines the 2nd
one is automatically taken as the viewonly password.
Otherwise the "__BEGIN_VIEWONLY__" token must be used
to have viewonly passwords. (tip: make it the 3rd and
last line to have 2 full-access passwords)
-nopw Disable the big warning message when you use x11vnc
without some sort of password.
-storepasswd pass file Store password "pass" as the VNC password in the
...
...
@@ -6758,6 +6792,7 @@ These options are passed to libvncserver:
-passwd plain-password use authentication
(use plain-password as password, USE AT YOUR RISK)
-deferupdate time time in ms to defer updates (default 40)
-deferptrupdate time time in ms to defer pointer updates (default none)
-desktop name VNC desktop name (default "LibVNCServer")
-alwaysshared always treat new clients as shared
-nevershared never treat new clients as shared
...
...
@@ -6770,6 +6805,10 @@ These options are passed to libvncserver:
-
listen
ipaddr
listen
for
connections
only
on
network
interface
with
addr
ipaddr
.
'-listen localhost'
and
hostname
work
too
.
libvncserver
-
tight
-
extension
options
:
-
disablefiletransfer
disable
file
transfer
-
ftproot
string
set
ftp
root
Pretty
wild
huh
?
[
1
]
Contact
me
if
you
have
any
questions
or
problems
.
Personally
,
I
use
:
...
...
x11vnc/x11vnc.1
View file @
454c1fad
.\" This file was automatically generated from x11vnc -help output.
.TH X11VNC "1" "
Nov
ember 2005" "x11vnc " "User Commands"
.TH X11VNC "1" "
Dec
ember 2005" "x11vnc " "User Commands"
.SH NAME
x11vnc - allow VNC connections to real X11 displays
version: 0.7.3, lastmod: 2005-1
1-28
version: 0.7.3, lastmod: 2005-1
2-24
.SH SYNOPSIS
.B x11vnc
[OPTION]...
...
...
@@ -264,9 +264,15 @@ option, otherwise the stderr goes to the viewer which
will cause it to abort. Specifying both \fB-inetd\fR and \fB-q\fR
and no \fB-o\fR will automatically close the stderr.
.PP
\fB-filexfer\fR
\fB-
no
filexfer\fR
.IP
Enable the TightVNC file transfer extension.
Disable the TightVNC file transfer extension. (same as
\fB-disablefiletransfer).\fR Note that when the \fB-viewonly\fR
option is supplied all file transfers are disabled.
Also clients that log in viewonly cannot transfer files.
However, if the remote control mechanism is used to
change the global or per-client viewonly state the
filetransfer permissions will NOT change.
.PP
\fB-http\fR
.IP
...
...
@@ -361,18 +367,38 @@ Supply a 2nd password for view-only logins. The \fB-passwd\fR
.PP
\fB-passwdfile\fR \fIfilename\fR
.IP
Specify
libvncserver \fB-passwd\fR via the first line of th
e
file \fIfilename\fR instead of via command line (where
others might see it via
Specify
the libvncserver password via the first lin
e
of the file \fIfilename\fR (instead of via \fB-passwd\fR on
the command line where
others might see it via
.IR ps (1)
). If a second non blank
line exists in the file it is taken as a view-only
password (i.e. \fB-viewpasswd)\fR To supply an empty password
for either field the string "__EMPTY__" may be used.
Note: \fB-passwdfile\fR is a simple plaintext passwd, see
also \fB-rfbauth\fR and \fB-storepasswd\fR below for obfuscated
VNC password files. Neither file should be readable
by untrusted users.
).
.IP
If the filename is prefixed with "rm:" it will be
removed after being read. In general, the password file
should not be readable by untrusted users (BTW: neither
should the VNC \fB-rfbauth\fR file: it is NOT encrypted).
.IP
Note that only the first 8 characters of a password
are used.
.IP
If multiple non-blank lines exist in the file they are
all taken as valid passwords. Blank lines are ignored.
Password lines may be "commented out" (ignored) if
they begin with the charactor "#" or the line contains
the string "__SKIP__". Lines may be annotated by use
of the "__COMM__" string: from it to the end of the
line is ignored. An empty password may be specified
via the "__EMPTY__" string on a line by itself (note
your viewer might not accept empty passwords).
.IP
If the string "__BEGIN_VIEWONLY__" appears on a
line by itself, the remaining passwords are used for
viewonly access. For compatibility, as a special case
if the file contains only two password lines the 2nd
one is automatically taken as the viewonly password.
Otherwise the "__BEGIN_VIEWONLY__" token must be used
to have viewonly passwords. (tip: make it the 3rd and
last line to have 2 full-access passwords)
.PP
\fB-nopw\fR
.IP
...
...
@@ -2534,6 +2560,10 @@ use authentication
.IP
time in ms to defer updates (default 40)
.PP
\fB-deferptrupdate\fR \fItime\fR
.IP
time in ms to defer pointer updates (default none)
.PP
\fB-desktop\fR \fIname\fR
.IP
VNC desktop name (default "LibVNCServer")
...
...
@@ -2571,6 +2601,16 @@ enable progressive updating for slow links
.IP
listen for connections only on network interface with
addr ipaddr. '-listen localhost' and hostname work too.
.PP
libvncserver-tight-extension options:
.PP
\fB-disablefiletransfer\fR
.IP
disable file transfer
.PP
\fB-ftproot\fR \fIstring\fR
.IP
set ftp root
.SH "FILES"
.IR $HOME/.x11vncrc ,
.IR $HOME/.Xauthority
...
...
x11vnc/x11vnc.c
View file @
454c1fad
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