Raspbian 10, kernel 4.19.93-v7l+
i tried to disable lightdm service (chkconfig disable lightdm) and make startup script for Kodi service. (seen when searching for "Option 1 (without desktop):" here.
It worked to launch Kodi appliacation after boot. But after i quit the Kodi, i was not offered command prompt, there was only bootup progress items.
Now i am in the moment where i am unable to return to the state where desktop interface appeared after boot.
I can SSH into the Pi, but no desktop.
lightdm command returns:
** (lightdm:1089): WARNING **: 21:02:00.128: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
I tried to "apt reinstall lightdm" and confirm the "pi" autologin into GUI is enabled in "sudo raspi-config".
Which commands should i try please?
UPDATE: i think that i messed it even more. Please how do i reinstall whole desktop environment and related things?