LibreELEC:/run/libreelec/debug # cat xorg.conf returns XORG_DEBUG="-logverbose 6 -verbose 6" .
systemctl status xorg.service shows a line with /bin/sh /usr/bin/xorg-launch -nolisten tcp vt01 -logverbose 6 -verbose 6.
journalctl -xeu xorg.service has as output:
Jan 17 08:02:53 LibreELEC systemd[1]: Starting xorg.service...
Jan 17 08:02:53 LibreELEC (g-launch)[899]: xorg.service: Referenced but unset environment variable evaluates to an empty string: XORG_DEBUG
Jan 17 08:03:33 LibreELEC systemd[1]: xorg.service: Failed with result 'protocol'.
Jan 17 08:03:33 LibreELEC systemd[1]: Failed to start xorg.service.
Jan 17 08:03:35 LibreELEC systemd[1]: xorg.service: Scheduled restart job, restart counter is at 1.
LibreELEC:/var/log # ls returns README btmp lastlog log.nmbd log.smbd private wtmp => Xorg.0.log is missing.
I am surprised about the [DEPEND] Dependency failed for windowmanager.service I have seen one time. I did not expect gbm needs an X-server and the X-server needs a window manager (or maybe a display manager?).
I also should expect Kodi should be compiled against gl instead of gles.