Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
noVNC
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
noVNC
Commits
9ebc84f2
Commit
9ebc84f2
authored
Jun 23, 2012
by
William Lightning
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update vnc_auto.html to use config option for repeaterID
parent
a997c5fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vnc_auto.html
vnc_auto.html
+3
-3
No files found.
vnc_auto.html
View file @
9ebc84f2
...
...
@@ -84,7 +84,7 @@
}
window
.
onload
=
function
()
{
var
host
,
port
,
password
,
path
,
token
,
repeaterID
;
var
host
,
port
,
password
,
path
,
token
;
$D
(
'sendCtrlAltDelButton'
).
style
.
display
=
"inline"
;
$D
(
'sendCtrlAltDelButton'
).
onclick
=
sendCtrlAltDel
;
...
...
@@ -103,7 +103,6 @@
password
=
WebUtil
.
getQueryVar
(
'password'
,
''
);
path
=
WebUtil
.
getQueryVar
(
'path'
,
'websockify'
);
repeaterID
=
WebUtil
.
getQueryVar
(
'repeaterid'
,
''
);
if
((
!
host
)
||
(
!
port
))
{
updateState
(
'failed'
,
...
...
@@ -114,13 +113,14 @@
rfb
=
new
RFB
({
'target'
:
$D
(
'noVNC_canvas'
),
'encrypt'
:
WebUtil
.
getQueryVar
(
'encrypt'
,
(
window
.
location
.
protocol
===
"https:"
)),
'repeaterID'
:
WebUtil
.
getQueryVar
(
'repeaterID'
,
''
),
'true_color'
:
WebUtil
.
getQueryVar
(
'true_color'
,
true
),
'local_cursor'
:
WebUtil
.
getQueryVar
(
'cursor'
,
true
),
'shared'
:
WebUtil
.
getQueryVar
(
'shared'
,
true
),
'view_only'
:
WebUtil
.
getQueryVar
(
'view_only'
,
false
),
'updateState'
:
updateState
,
'onPasswordRequired'
:
passwordRequired
});
rfb
.
connect
(
host
,
port
,
password
,
path
,
repeaterID
);
rfb
.
connect
(
host
,
port
,
password
,
path
);
};
</script>
...
...
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