deCONz Docker Crashes after enabling VNC

Hi all,

I am running the deCONz docker on a Synology DS220+. I have tried to access the deCONZ GUI via VNC, thus I have set VNC_MODE to 1. After that the docker starts but crashes immediately.

Any ideas how to fix it? Thanks!

Here is the log:

[deconzcommunity/deconz] Starting deCONZ...
stdout
23:41:29
[deconzcommunity/deconz] Current deCONZ version: 2.22.02
stdout
23:41:29
[deconzcommunity/deconz] Web UI port: 8080
stdout
23:41:29
[deconzcommunity/deconz] Websockets port: 443
stdout
23:41:29
[deconzcommunity/deconz] Using options --auto-connect=1 --appdata=/opt/deCONZ --dbg-info=1 --dbg-aps=0 --dbg-zcl=0 --dbg-ddf=0 --dbg-dev=0 --dbg-zdp=0 --dbg-ota=0 --dbg-error=0 --dbg-http=0 --http-port=8080 --ws-port=443
stdout
23:41:29
[deconzcommunity/deconz] Modifying user and group ID
stdout
23:41:29
usermod: no changes
stdout
23:41:30
[deconzcommunity/deconz] Checking device group ID
stdout
23:41:31
[deconzcommunity/deconz] VNC port: 5901
stdout
23:41:31
[deconzcommunity/deconz] VNC DISABLE PASSWORD: 0
stdout
23:41:31
hostname: Name or service not known
stdout
23:41:31
tigervncserver: Could not acquire fully qualified host name of this machine.
stdout
23:41:31
hostname: Name or service not known
stdout
23:41:31
tigervncserver: Could not acquire fully qualified host name of this machine.
stdout
23:41:31
hostname: Name or service not known
stdout
23:41:31
tigervncserver: Could not acquire fully qualified host name of this machine.
stdout
23:41:31
WebSocket server settings:
stdout
23:41:31
  - Listen on :6080
stdout
23:41:31
  - Web server. Web root: /usr/share/novnc
stdout
23:41:31
  - SSL/TLS support
stdout
23:41:31
  - Backgrounding (daemon)
stdout
23:41:31
[deconzcommunity/deconz] NOVNC port: 6080
stdout
23:41:31
qt.qpa.xcb: could not connect to display :1
stdout
23:41:31
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
stdout
23:41:31
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
stdout
23:41:31

stdout
23:41:31
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

I have same probleme since 2.18 :frowning: after update vnc never working since 2 year

i have too the DS220+

I run deconz 2.25.1 beta on a DS918+ with these settings:

{
   "CapAdd" : [],
   "CapDrop" : [],
   "cmd" : "bash /start.sh",
   "cpu_priority" : 50,
   "enable_publish_all_ports" : false,
   "enable_restart_policy" : true,
   "enable_service_portal" : null,
   "enabled" : false,
   "env_variables" : [
      {
         "key" : "PATH",
         "value" : "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
      },
      {
         "key" : "DEBIAN_FRONTEND",
         "value" : "noninteractive"
      },
      {
         "key" : "DECONZ_VERSION",
         "value" : "2.13.02"
      },
      {
         "key" : "DECONZ_WEB_PORT",
         "value" : "2082"
      },
      {
         "key" : "DECONZ_WS_PORT",
         "value" : "443"
      },
      {
         "key" : "DEBUG_INFO",
         "value" : "1"
      },
      {
         "key" : "DEBUG_APS",
         "value" : "0"
      },
      {
         "key" : "DEBUG_ZCL",
         "value" : "0"
      },
      {
         "key" : "DEBUG_ZDP",
         "value" : "0"
      },
      {
         "key" : "DEBUG_DDF",
         "value" : "0"
      },
      {
         "key" : "DEBUG_DEV",
         "value" : "0"
      },
      {
         "key" : "DEBUG_OTA",
         "value" : "0"
      },
      {
         "key" : "DEBUG_ERROR",
         "value" : "0"
      },
      {
         "key" : "DEBUG_HTTP",
         "value" : "0"
      },
      {
         "key" : "DECONZ_DEVICE",
         "value" : "/dev/ttyACM0"
      },
      {
         "key" : "DECONZ_VNC_MODE",
         "value" : "1"
      },
      {
         "key" : "DECONZ_VNC_DISPLAY",
         "value" : "0"
      },
      {
         "key" : "DECONZ_VNC_DISABLE_PASSWORD",
         "value" : "0"
      },
      {
         "key" : "DECONZ_VNC_PASSWORD",
         "value" : "P@55W0rdG035H3re!"
      },
      {
         "key" : "DECONZ_VNC_PASSWORD_FILE",
         "value" : "0"
      },
      {
         "key" : "DECONZ_VNC_PORT",
         "value" : "5900"
      },
      {
         "key" : "DECONZ_NOVNC_PORT",
         "value" : "6080"
      },
      {
         "key" : "DECONZ_UPNP",
         "value" : "1"
      },
      {
         "key" : "DECONZ_UID",
         "value" : "1000"
      },
      {
         "key" : "DECONZ_GID",
         "value" : "1000"
      },
      {
         "key" : "DECONZ_START_VERBOSE",
         "value" : "0"
      },
      {
         "key" : "DECONZ_BAUDRATE",
         "value" : "0"
      },
      {
         "key" : "DEBUG_OTAU",
         "value" : "0"
      },
      {
         "key" : "LC_ALL",
         "value" : "C.UTF-8"
      },
      {
         "key" : "UDEV",
         "value" : "off"
      },
      {
         "key" : "TINI_VERSION",
         "value" : "0.18.0"
      }
   ],
   "exporting" : false,
   "id" : "8687eaca6e62f472a5e480a486cf62ff0943a641a7af75f362faf78cebafb5e1",
   "image" : "deconzcommunity/deconz:latest",
   "is_ddsm" : false,
   "is_package" : false,
   "labels" : {
      "maintainer" : "deconz-community",
      "org.opencontainers.image.revision" : "3c72f5ffa3f30824f7edf4b074903fb3aa1c5ee8",
      "org.opencontainers.image.vendor" : "deconz-community"
   },
   "links" : [],
   "memory_limit" : 0,
   "name" : "deconz",
   "network" : [
      {
         "driver" : "bridge",
         "name" : "bridge"
      }
   ],
   "network_mode" : "bridge",
   "port_bindings" : [
      {
         "container_port" : 2082,
         "host_port" : 2082,
         "type" : "tcp"
      },
      {
         "container_port" : 5900,
         "host_port" : 2083,
         "type" : "tcp"
      }
   ],
   "privileged" : true,
   "shortcut" : {
      "enable_shortcut" : false
   },
   "use_host_network" : false,
   "version" : 2,
   "volume_bindings" : [
      {
         "host_volume_file" : "/docker/deconz/otau",
         "is_directory" : true,
         "mount_point" : "/opt/deCONZ/otau",
         "type" : "rw"
      },
      {
         "host_volume_file" : "/docker/deconz/config",
         "is_directory" : true,
         "mount_point" : "/opt/deCONZ",
         "type" : "rw"
      }
   ]
}

I suggest you compare your JSON (Container > deconz > Action > Export) with the above.

After create folder vnc it solve thé problème for me