Systemctl suspend permission error

It looks like it works:

$ journalctl -f
Dec 12 10:45:29 Mirdarthos-PC systemd[1]: Mounted Mirdarthos' Downloads Directory.
Dec 12 10:45:35 Mirdarthos-PC systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Dec 12 10:45:52 Mirdarthos-PC systemd[1]: systemd-timedated.service: Deactivated successfully.
Dec 12 10:45:54 Mirdarthos-PC systemd[1]: Unmounting Mirdarthos' Downloads Directory...
Dec 12 10:45:54 Mirdarthos-PC systemd[1]: home-mirdarthos-Downloads.mount: Deactivated successfully.
Dec 12 10:45:54 Mirdarthos-PC systemd[1]: Unmounted Mirdarthos' Downloads Directory.
Dec 12 10:46:53 Mirdarthos-PC syncthing[752]: [VVBCU] INFO: Joined relay relay://108.181.120.239:443
Dec 12 10:48:24 Mirdarthos-PC syncthing[752]: [VVBCU] INFO: quic://0.0.0.0:22000 resolved external address quic://192.145.142.101:22000 (via stun.syncthing.net:3478)
Dec 12 10:48:26 Mirdarthos-PC syncthing[752]: [VVBCU] INFO: Joined relay relay://45.77.254.29:22067
Dec 12 10:51:00 Mirdarthos-PC systemd[744]: Started Firefox Developer Edition - Web Browser.



Dec 12 10:56:41 Mirdarthos-PC polkitd[559]: Registered Authentication Agent for unix-process:3550:73217 (system bus name :1.96 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_ZA.UTF-8)
Dec 12 10:56:41 Mirdarthos-PC systemd-logind[562]: The system will suspend now!
Dec 12 10:56:41 Mirdarthos-PC systemd-logind[562]: Unit suspend.target is masked, refusing operation.
Dec 12 10:56:41 Mirdarthos-PC polkitd[559]: Unregistered Authentication Agent for unix-process:3550:73217 (system bus name :1.96, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_ZA.UTF-8) (disconnected from bus)

Butt it doesn’t:

$ systemctl suspend
Call to Suspend failed: Access denied

URC I’m denser than dense! It gave no errors that it couldn’t unmask it previously, but it obviously couldn’t…

Yeah was just about to quote that…

Well, that seemed to have done the trick. Again, something obvious. But hard to know kind of thing, because I didn’t see any errors…

But it just teaches me, again, not to assume, although I didn’t here - I pre sumed based on what I saw…

Nevertheless, I’m glad it was something small. Thanks everyone!

The answer was awarded to @anon51566685 because it’s with his command I saw the error…

2 Likes

Mark as solved!

Waaay ahead of you! Did that already!

1 Like

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.