Some time ago, I posted a recipe for running kodi-standalone in nodm.
Unfortunately, it is no longer viable, because nodm is deprecated and has two flaws:
- When the system is in shutdown, nodm will respawn itself after being killed by the system
- Since kodi 18.something, videos will freeze at the end and you can no longer see the kodi menus.
While the first one can be solved using a workaround in the systemd unit for nodm, the latter seems to be not fixable. Furthermore, nodm is no longer developed and also the developer suggest using lightdm and the autologin feature - which, by the way, solves both issues.