raspberry pi – Raspi-os: how to enable Xfce4 as default Desktop with autologin?

I’m on raspi-os, latest version based on Trixie.
I want to enable Xfce4 as default Desktop with autologin.
I have made those steps

raspi-config

and disable autologin

vim /etc/lightdm/lightdm.conf

[SeatDefaults]
autologin-user=myuser
autologin-user-timeout=0
user-session=xfce

With this command

 update-alternatives --config x-session-manager

I select xfce4 and after a reboot…
xfce4 don’t appear and appear the standard RaspiOs desktop (Pixel)

How to switch to Xfce4?

Read more here: Source link