System Not Locked on Suspend

When waking the system after manually suspending, I am not prompted for my password. The system loads straight in to the gnome desktop.

I do have a password set, and I am prompted to enter it at boot or when logging out.

Is this an expected behaviour in Fedora 44, or is this a bug?

I recorded a quick video with my phone showing the behaviour:

Which Desktop Environment and which spin or edition version?

Gnome
Wayland
Fedora Linux 44 (Workstation Edition)

Hello All, whot do You have in sleep.conf on path /etc/systemd/ ? Is any config files there ? Check if this file egsist is the suspend are allow.

I don’t have sleep.conf under /etc/systemd or any sub path of that directory. The only non-standard file I’ve added is /etc/systemd/journald.conf:

[Journal]
SystemMaxUse=256M
RuntimeMaxUse=128M
MaxFileSec=1day
SystemMaxFileSize=32M
RuntimeMaxFileSize=16M

Try to create from terminal from >> nano /ect/systemd/sleep.conf , add to file this:

AllowSuspend=yes
AllowHibernation=no
AllowHybridSleep=no
AllowSuspendThenHibernate=no

This is from https://wiki.archlinux.org in section Power and suspend. This file should help but if not try to set the sleep mode.

What do you have set under:
Settings → Privacy Security → Screen Lock
and
Settings → Power → Power Saving

Thanks, good call on the lock settings. I thought I had checked there, but I forgot I had set Automatic Screen Lock to off. Turning it back on fixed the issue with locking on suspend.