[...]
> kodi-standalone contains a lowercase version of this file:
> /usr/share/xsessions/xbmc.desktop
>
> Workaround is to run:
>
> cd /usr/share/xsessions/
> sudo ln -s kodi.desktop XBMC.desktop
>
> Once this link is created, kodi starts without problem when kdm is restarted.
>
> I think kodi-standalone should contain this link to avoid migration issue.