-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[full-vnc] Automatically reconnect noVNC if the connection is dropped
- Loading branch information
1 parent
a0bd198
commit 5a991b4
Showing
1 changed file
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
<!-- | ||
Used to append options to vnc.html | ||
- autoconnect .. To automatically connect on the host | ||
- resize=scale .. To scale the resolution based on used preview | ||
This static HTML file simply redirects to /vnc.html, and configures the following options: | ||
* autoconnect - Automatically connect as soon as the page has finished loading. | ||
* reconnect - Automatically reconnect if the connection is dropped. | ||
* resize=scale - Automatically resize the remote session to fit inside the preview window. | ||
Source: https://github.com/novnc/noVNC/blob/master/docs/EMBEDDING.md | ||
--> | ||
<html><head><meta http-equiv="Refresh" content="0; url=vnc.html?resize=scale&autoconnect=true"></head></html> | ||
<html><head><meta http-equiv="Refresh" content="0; url=vnc.html?autoconnect=true&reconnect=true&resize=scale"></head></html> |