How can I run Kodi without a window manager? (re: error when starting)

I’m running Ubuntu 16.04 with a minimal install on an Intel i3-6100 CPU.

I’ve read that it’s possible to run Kodi without any window managers (using Linux KMS/DRM) but it immediately crashes and the error log says “FATAL: CApplication::Create: Unable to init windowing system”. (http://pastebin.com/em8GMnsa)

What am I doing wrong? I’m running /usr/bin/kodi-standalone.