Skip to content

Commit

Permalink
Fix deCONZ issue with old vnc access (home-assistant#1513)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli authored Jul 28, 2020
1 parent 5ec3867 commit 0cf3ae0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions deconz/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 6.2.1

- Fix old fashon VNC access

## 6.2.0

- Enable VNC per default
Expand Down
4 changes: 2 additions & 2 deletions deconz/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "deCONZ",
"version": "6.2.0",
"version": "6.2.1",
"slug": "deconz",
"description": "Control a Zigbee network with ConBee or RaspBee by Dresden Elektronik",
"arch": ["amd64", "armhf", "aarch64"],
Expand All @@ -19,7 +19,7 @@
"40850/tcp": null
},
"ports_description": {
"5900/tcp": "deCONZ desktop via VNC (Not required for Ingress)",
"5900/tcp": "deCONZ via VNC (Not required for Ingress. Not secure!)",
"8081/tcp": "deCONZ WebSocket (Not required for Ingress)",
"40850/tcp": "deCONZ API backend (Not required for Ingress)"
},
Expand Down
2 changes: 2 additions & 0 deletions deconz/rootfs/etc/services.d/deconz/run
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ fi

# Run it only on localhost if not expose
if bashio::var.has_value "${VNC_PORT}"; then
bashio::log.warning "Your direct VNC access is not protected!"
LOCAL_ONLY=no
else
LOCAL_ONLY=yes
Expand All @@ -57,6 +58,7 @@ tigervncserver \
-depth 16 \
-localhost ${LOCAL_ONLY} \
-SecurityTypes None \
--I-KNOW-THIS-IS-INSECURE \
"${DISPLAY}" \
&> /dev/null

Expand Down

0 comments on commit 0cf3ae0

Please sign in to comment.