SDDM autologin still fails with wayland session

Plasma 6 is released and will eventually default to plasma session.

My concern is that SDDM still fails with autologin a wayland session.

I post here because related threads are closed:

This one suggest to use lightdm instead but it is just a workaround, not a solution: Autologin with plasmawayland.desktop leads to black screen with cursor.

1 Like

If you go to ctrl-alt-F1, login and run:

loginctl

then:
loginctl show-session <whatever num not 1> -P Type

What is your result? The black screen with cursor sounds like Xorg on tty2 but for me at least, my plasma session is on tty3 and I always have tty2 eaten by Xorg

I agree though that autologin using sddm.conf.d/ .conf files don’t work for me either. I do though… need that value in a conf file to get me to an sddm that allows me to login to wayland and retain my selection for next time

Basically this is my current config:

  1. sudo update-alternatives --config default-displaymanager

  2. selected auto option for sddm

  3. created a .conf file under /etc/sddm.conf.d/

  4. put a value in this conf file of:
    [Autologin]
    User=myuser
    Session=plasmawayland.desktop

If I remove the .conf file, I get stuck in X11. However, this doesn’t auto log me in for wayland. I get a login screen at sddm. If I remove it… autologin to x11. I’m assuming then there is another area that should be edited rather than sddm.conf but unfortunately, I dont know what that would be

No, it does not. I have no problem to autologin into Wayland session. SDDM fails to run in Wayland itself, but that is different issue.

Anyway, I am tired to repeat the same over and over again, so …

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.