https://bugs.kde.org/show_bug.cgi?id=436271

dar...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dar...@gmail.com

--- Comment #7 from dar...@gmail.com ---
Using a drop-in systemd override with `ksmserver --lockscreen` doesn't work for
plasma 6.1.5.
I can see that ksmserver is started with the lockscreen option but it doesn't
seem like the kscreenlocker_greet get executed and the screen doesn't get
locked. 

What worked however is the second suggestion - to use `loginctl lock-session`. 
I ran `systemctl edit --user plasma-ksmserver` and created an override which
brings the lock screen on start.

cat ~/.config/systemd/user/plasma-ksmserver.service.d/override.conf 
[Service]
ExecStartPre=
ExecStartPre=loginctl lock-session

I also have autologin turned on in Settings/Colors & Themes/Login Screen
(SDDM)/Behavior

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to