I’ve just installed Leap 15.4 and found a variation of seemingly related problems involving the SDDM display manager which have been reported over the years, including these:
- SDDM Login screen not displayed. (Nov. 2020, update to a 15.2 system)
- Leap 15.4 upgrade failure = login hangs up
- How to change Display Manager from SDDM to LightDM on Plasma Tumbleweed
The latter post begins:
So… because of this long lasting bug (s): Bug 1207906 – Wayland crashes when automatic authentication via SDDM with Wayland is enabled. I can’t autologin into Plasma/Wayland with SDDM. I’ve been googling as to how to switch my display manager to LightDM, but information on that is lacking. (I have installed LightDM.)
My problem is that Leap 15.4 using SDDM occasionally displays a blank screen after a valid login, though other display managers work. I haven’t surveyed the numerous posts possibly relevant to SDDM but can add the following.
When SDDM gets into this state, it usually seems to apply to one user, who gets a blank screen while others work normally. However it’s not user-dependent, and sometimes more than one login user can be affected concurrently, including the root user.
If the user does nothing after logging in (for ~5 to 10 minutes in my case), they may eventually be rewarded with a normal Plasma session having their usual wallpaper, icon arrangements, task bar, etc. It’s as though some timeout occurs, or maybe the screen energy-saving process kicks in and moving the mouse then brings SDDM back to normal operation. Or something…
In another post at How to change Display Manager from SDDM to LightDM on Plasma Tumbleweed - #11 by arvidjaar deano_ferrari suggests installing LightDM:
There is no need to configure LightDM. In an effort to assist I just installed the LightDM display manager and selected it with ‘update-alternatives’. At the login screen it is possible to choose ‘Plasma (X11)’ or Plasma (Wayland)’ at top right of screen. The session type should remain as chosen following a reboot. The previous session state is stored in /var/lib/lightdm/.cache/lightdm-gtk-greeter/state.
I can confirm that works. Once “Plasma X11” on the LightDM login screen is chosen it sticks across logins. The subsequent Plasma session inherits its usual configuration, though some animated screen effects may not work (?).
I’m surprised this SDDM bug has lasted so long, especially since SDDM seems to be the default display manager in Leap 15.4. (I’m also surprised to see KDE’s KDM3 DM is available for Leap 15.4 from the KDE repository, although it may not be officially supported.)