Hi, I am running deCONZ via the deCONZ Community Docker image on a Raspberry Pi 4, and it works fine. Now I’m trying to establish a VNC connection to be able to see my Zigbee mesh. I modified my docker-compose file, and it now looks like this:
version: “3”
services:
deconz:
image: deconzcommunity/deconz:stable
container_name: deconz
restart: always
privileged: true
ports:
- 8080:8080
- 443:443
volumes:
- /opt/deCONZ:/opt/deCONZ
devices:
- /dev/ttyS0
environment:
- TZ=Europe/Berlin
- DECONZ_WEB_PORT=8080
- DECONZ_WS_PORT=443
- DEBUG_INFO=1
- DEBUG_APS=0
- DEBUG_ZCL=0
- DEBUG_ZDP=0
- DEBUG_OTA=0
- DEBUG_HTTP=0
- DECONZ_DEVICE=/dev/ttyS0
- DECONZ_START_VERBOSE=0
- DECONZ_VNC_MODE=1
- DECONZ_VNC_PORT=5900
- DECONZ_VNC_PASSWORD=…
When I boot up my compose file, the logs show that a VNC server is provided:
New Xtigervnc server ‘xxxxx (deconz)’ on port 5900 for display :0.
Use xtigervncviewer -SecurityTypes VncAuth,TLSVnc -passwd /xxxxxxxx to connect to the VNC server.
However, when I try to connect to the VNC server via my VNC viewer (localIp:5900), it says “Cannot currently show the desktop.” Then I went ahead and tried to change the port of the VNC server to 5901 or any other port. The log indicates again that a VNC server is running:
New Xtigervnc server ‘xxxx (deconz)’ on port 5901 for display :1.
Use xtigervncviewer -SecurityTypes VncAuth,TLSVnc -passwd /xxxxxx to connect to the VNC server.
But when I try to connect with my VNC viewer this time (localip:5901), it says that the server doesn’t allow a connection.
Can anyone help me?