Hi! I’m writing this for future reference in case anyone has the same problem.
I had an issue with the SDDM autologin to the Plasma Wayland session. When I disabled autologin and selected the Plasma Wayland session manually, it started properly. However, with the SDDM autologin option it always started X instead of Wayland.
After searching online, I found several discussions about similar issues but no definitive solutions.
Then, I figured out that the issue was due to my ~/.zprofile configuration. It contained the following line to start X:
I think I had this as a leftover from earlier time when I used autologin to tty and autostart X without display manager.
Later I installed SDDM, switched to Wayland and for a long time I could not figure out why manual login to Wayland works while autologin always starts X.
I used this same way of configuration and this very option and was surprised that it anyway started X. At last I’ve found this ~/.zprofile leftover configuration line.