Skip to content

Commit

Permalink
[full-vnc] Automatically reconnect noVNC if the connection is dropped
Browse files Browse the repository at this point in the history
  • Loading branch information
jankeromnes committed Apr 6, 2020
1 parent 5a1572a commit 00286cf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ Curated, chronologically ordered list of notable changes in [Gitpod's default wo

Inspired by [keepachangelog.com](https://keepachangelog.com/).

## 2020-04-06

- Make noVNC (virtual desktop) automatically reconnect if the connection is dropped, and enable noVNC toolbar [#170](https://github.com/gitpod-io/workspace-images/pull/170)

## 2020-03-30

### Breaking Changes
- Upgrade Node.js from v10 → v12 LTS (to pin a specific version, see [this workaround](https://github.com/gitpod-io/workspace-images/pull/178#issuecomment-602465333))
10 changes: 6 additions & 4 deletions full-vnc/novnc-index.html
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>

0 comments on commit 00286cf

Please sign in to comment.