Hello,
I'm running Debian bookworm on the Raspberry Pi 5. All users log into the session LXDE-pi-labwc as confgured by default in lightdm.conf. I would like one user to always log into the session kodi. I've changed the XSession parameter in /var/lib/AccountsService/users/myuser but the user's effective session remains the one defined in lightdm.conf.
The kodi session is defined in /usr/share/xsessions/kodi.desktop.
LightDM is configured as follows in /etc/lightdm/lightdm.conf:I've set the parameter XSession=kodi in /var/lib/AccountsService/users/myuser (as described here):
After reboot and login, this file gets rewritten to:The only way to change the effective session is to change the lightdm.conf global parameter user-session, which I don't want to do.
I'm running Debian bookworm on the Raspberry Pi 5. All users log into the session LXDE-pi-labwc as confgured by default in lightdm.conf. I would like one user to always log into the session kodi. I've changed the XSession parameter in /var/lib/AccountsService/users/myuser but the user's effective session remains the one defined in lightdm.conf.
The kodi session is defined in /usr/share/xsessions/kodi.desktop.
LightDM is configured as follows in /etc/lightdm/lightdm.conf:
Code:
[Seat:*]greeter-session=pi-greeter-labwcgreeter-hide-users=falseuser-session=LXDE-pi-labwcdisplay-setup-script=/usr/share/dispsetup.shautologin-session=LXDE-pi-labwcCode:
[User]XSession=kodiIcon=/home/myuser/.faceSystemAccount=falseCode:
[User]Session=kodiXSession=LXDE-pi-labwcIcon=/home/myuser/.faceSystemAccount=falseStatistics: Posted by CutterX — Tue Sep 16, 2025 3:42 pm