My uncle has an old XBMCbuntu (Lubuntu) 12.04 nettop that I built for him years ago. The media scrapers have finally broken beyond my ability to repair them, so I'm finally just wiping it and doing a full reinstall/upgrade from scratch. Aiming for a similar config, I've installed Lubuntu 22.04 with the newest version of Kodi.
I set up the box for autologin, and it's logging into the Lubuntu session by default. The problem I'm having is in trying to change the default login session to Kodi instead of Lubuntu. /etc/sddm.conf originally looked like this:
[Autologin]
User=<the user name I set up>
Session=Lubuntu
When I change it to Session=Kodi autologin stops working.
Am I on the right path with /etc/sddm.conf ? What am I missing?
(In searching for other answers to this problem, I've seen people recommending creating a startup script for this user that starts Kodi as soon as you autologin to Lubuntu, but that's not what I'm trying to do. I'm trying to recreate the same setup from XBMCbuntu/Kodibuntu where the system autologins to a Kodi session.)