deCONZ / Phoscon-GW recommends a full blown Xorg install on a Raspberry Pi to access their GUI. deCONZ is a utility to work with Zigbee controller provided by Raspbee / Conbee. deCONZ GUI provides more advanced control of Zigbee devices, and has functionality that is not available via web interface/REST API.
No need to install a full blown UI if you want to run headless. These instructions are for Raspbian.
Make sure to disable and stop existing
deconz services if enabled:
systemctl disable deconz
systemctl stop deconz
You may also have
deconz-gui service if you have followed their install guide, so make sure to disable and stop this as well if applicable.
Install TigerVNC which we will use to provide headless VNC access to the GUI:
apt-get install tigervnc-standalone-server
You will create a new systemd service definition, which is outlined below .
Description=deCONZ: ZigBee gateway -- GUI/REST API VNC
ExecStartPre=/usr/bin/tigervncserver -geometry 1024x768 -useold -SecurityTypes None -localhost yes -noxstartup "$DISPLAY"
AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_KILL CAP_SYS_BOOT CAP_SYS_TIME
Then reload systemd, enable and start the newly created service:
systemctl enable deconz-vnc
systemctl start deconz-vnc
Once this is done you can setup a SSH port forward to
localhost:5900 and access deCONZ GUI using your favourite VNC viewer.