You are not logged in.
I have a strange problem that is plaguing me for some time now. I cannot make my laptop sleep using fn+F4 when I am in the X VT. if I am in the VT currently running X and press fn+F4 nothing happens. If however I switch to another VT it works.
I use XMonad as my display manager. Using systemctl suspend works anywhere.
I have no idea what can cause something like this so I do not know what logs to attach. Here is my logind.conf:
[Login]
NAutoVTs=4
ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#Controllers=
#ResetControllers=cpu
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
#HandleLidSwitch=suspend
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=yes
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#IdleAction=ignore
#IdleActionSec=30minHere is the only extra line that appears in journalctl after I press the sleep button when I use X:
Oct 21 13:48:03 tardis systemd-logind[634]: Suspend key pressed.nothing appears in the dmesg log
if I close Xmonad and wait for 15 or so seconds and then press the suspend button it works.
Offline