SDDM/KDE Lock, Desktop Layout, and Lock Screen Features

Hello,

After logging in, the animation of the panels and tools on the Plasma desktop looks bad. I think the splash screen should wait long enough for the panels to settle and the desktop to fully load. That’s the first thing that caught my eye. Anyway, back to the main topic.

Disabling SDDM causes a number of problems, so instead of turning it off, I enabled automatic login. Then I wrote a script to run KDE Lock at login, and it works quite nicely.

But here’s the problem: I think what I did could create a security issue. Why not design it to open the session directly through KDE Lock instead of SDDM? Wouldn’t it be perfect if it opened directly, like in Windows 11?

That way, the login time would also be significantly shorter.

Currently, my laptop’s startup time is 14 seconds. If it didn’t go to the SDDM screen, it would be 12 seconds, and if I also turned off the Plymouth animation, the time would be 7-9 seconds. In Windows 11, this time is between 7-9 seconds.

Another thing I’m curious about is this:

Why aren’t buttons like shut down and restart added to the lock screen?

Also, even though I don’t have a fingerprint reader, I constantly get an annoying message about the fingerprint reader.

Hello Herzane,

Maybe we can exchange some experiences because I also don’t use SDDM. I am logging in directly to a TTY and then use a simple run script to start Plasma from there. The only thing I had to adjust for this to work is some small adjustments in the PAM configuration files to open the KDE wallet automatically after login.

I do also see the messages about smart cards and fingerprints for a second on the lock screen before they disappear. That I am just ignoring as it doesn’t break anything.

If I understand correctly, are you logging in via tty?

By the way, what I mean is that when I open this session and the panel is being set up, it’s positioned in a strange way. I think it must be because of the plugin I’m using in the panel.

Exactly. I have no display manager installed whatsoever. No Plymouth either. I am using the TTY to log in and then I have set up an alias to run plasma, e.g.:

gui='/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland'

For me, this is useful as I don’t need Plasma every time I am using my machines.

What’s this panel you are using exactly? I can’t decipher that.. sorry.

It’s a normal KDE panel, but I’m using an extension to make the panel transparent in certain situations.

Does it behave the same when you disable that extension? My panels fly in from the edges of the screen fully expanded already. I don’t ever see this effect.

By the way, this is the PAM stuff I was talking about. When using TTY for login, to have KDE Wallet open automatically on login, I added these two lines to /etc/pam.d/login

auth            optional        pam_kwallet5.so
session         optional        pam_kwallet5.so auto_start force_run

Which I didn’t invent, but got from here: KDE Wallet - ArchWiki