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
23f6dc3d
Commit
23f6dc3d
authored
Feb 19, 2007
by
runge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x11vnc: fix -users bob= in -inetd mode.
parent
23178cd1
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
518 additions
and
492 deletions
+518
-492
README
x11vnc/README
+501
-488
x11vnc.1
x11vnc/x11vnc.1
+1
-1
x11vnc.c
x11vnc/x11vnc.c
+15
-2
x11vnc_defs.c
x11vnc/x11vnc_defs.c
+1
-1
No files found.
x11vnc/README
View file @
23f6dc3d
This source diff could not be displayed because it is too large. You can
view the blob
instead.
x11vnc/x11vnc.1
View file @
23f6dc3d
...
...
@@ -2,7 +2,7 @@
.TH X11VNC "1" "February 2007" "x11vnc " "User Commands"
.SH NAME
x11vnc - allow VNC connections to real X11 displays
version: 0.8.5, lastmod: 2007-02-1
8
version: 0.8.5, lastmod: 2007-02-1
9
.SH SYNOPSIS
.B x11vnc
[OPTION]...
...
...
x11vnc/x11vnc.c
View file @
23f6dc3d
...
...
@@ -950,7 +950,18 @@ static void check_rcfile(int argc, char **argv) {
}
static
void
immediate_switch_user
(
int
argc
,
char
*
argv
[])
{
int
i
;
int
i
,
bequiet
=
0
;
for
(
i
=
1
;
i
<
argc
;
i
++
)
{
if
(
strcmp
(
argv
[
i
],
"-inetd"
))
{
bequiet
=
1
;
}
if
(
strcmp
(
argv
[
i
],
"-quiet"
))
{
bequiet
=
1
;
}
if
(
strcmp
(
argv
[
i
],
"-q"
))
{
bequiet
=
1
;
}
}
for
(
i
=
1
;
i
<
argc
;
i
++
)
{
char
*
u
;
...
...
@@ -976,7 +987,9 @@ static void immediate_switch_user(int argc, char* argv[]) {
fprintf
(
stderr
,
"Could not switch to user: %s
\n
"
,
u
+
1
);
exit
(
1
);
}
else
{
if
(
!
bequiet
)
{
fprintf
(
stderr
,
"Switched to user: %s
\n
"
,
u
+
1
);
}
started_as_root
=
2
;
}
free
(
u
);
...
...
x11vnc/x11vnc_defs.c
View file @
23f6dc3d
...
...
@@ -15,7 +15,7 @@ int xtrap_base_event_type = 0;
int
xdamage_base_event_type
=
0
;
/* date +'lastmod: %Y-%m-%d' */
char
lastmod
[]
=
"0.8.5 lastmod: 2007-02-1
8
"
;
char
lastmod
[]
=
"0.8.5 lastmod: 2007-02-1
9
"
;
/* 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