Autologin not working with Wayland

I’ve switched over from X11 and I’ve always used “autologin”. since I’ve switched to wayland I no longer can “autologin”. in 'Settings - startupand shutdown - SDDM login > Behavior I’ve made sure autologin is selected with wayland. I’ve also checked my /etc/sddm.conf.d/kde_settings_conf file and it is being written in correctly. After booting it just takes me to the SDDM login session screen where I have to manually login. I’m wondering if this is a bug.

kde_settings_conf:

cat /etc/sddm.conf.d/kde_settings.conf
[Autologin]
Relogin=false
Session=
User=

[General]
HaltCommand=/usr/bin/systemctl poweroff
RebootCommand=/usr/bin/systemctl reboot

[Theme]
Current=Fluent-round

[Users]
MaximumUid=60000
MinimumUid=1000

I just consulted ArchWiki:

Autologin

SDDM supports automatic login through its configuration file, for example:

/etc/sddm.conf.d/autologin.conf

[Autologin]
User=john
Session=plasma

Your User= and Session= are empty. I guess you would need to fill in with your username and the name of the session.

:eye: https://wiki.archlinux.org/title/SDDM#Autologin

Isn’t this the problem? You need to specify the session type and your user name to autologin. You have to add those values in.

cat /etc/sddm.conf.d/kde_settings.conf
[Autologin]
Relogin=false
Session=plasma
User=your_username

sorry didn’t exactly be clear:
it seems as though once I make changes selecting user=myname and session=plasmawayland and clicking apply and then entering passwd to make changes… After reboot it is showing user= empty and session= empty <---- also it is defaulting to breeze sddm theme which isn’t what I even have selected.
Seems that it isn’t keeping changes.

Update: As long as I don’t change the SDDM theme fron “breeze” and select “autologin user=myname and session=plasmawayland” it will write the changes and save them even after ‘reboot or shudown’. But… it won’t autologin, it just goes to the login sddm screen.

What if you edit the config files directly instead of changing it through the GUI? Add this file /etc/sddm.conf.d/autologin.conf:

[Autologin]
user=your_name
session=plasmawayland

This does not work as well.