Start kodi on boot

I have the problem that my system does not start kodi when booting anymore. When it was working it would start GDM and then log in as the user ‘kodi’ and start kodi.
I have the following lines in /etc/sysconfig/displaymanager

Path: Desktop/Display manager

Description: settings to generate a proper displaymanager config

DISPLAYMANAGER=“gdm”

Type: string

Default:

DISPLAYMANAGER_AUTOLOGIN=“kodi”

Type: yesno

Default: no

DISPLAYMANAGER_PASSWORD_LESS_LOGIN=“yes”

and in /etc/sysconfig/windowmanager I have

Here you can set the default window manager (kde, fvwm, …)

changes here require at least a re-login

DEFAULT_WM=“kodi”

I was trying to get audio through hdmi so I gave the user ‘kodi’ a password. After that I logged in with gnome and changed some things with pavucontrol. I don’t know if this is why it is not working anymore, or if a new update changed something. (I have deleted the password for kodi again with passwd -d kodi)

Hope somebody can help me with this. Thanks!