I wonder why systemd prevents suspend when a user is still logged in. I mean, you can tell it to suspend anyway using systemctl suspend -i, but whatʼs the rationale behind the extra flag?

Please refrain from bashing systemd on this thread; iʼm just curious about design decisions here.

@gergely hmm, does it? on my system, suspend will happen if i'm still logged in but hop out to the display manager. i guess gdm or whatever it is could be managing that, though.

Follow

@gergely (sorry, this is a very fuzzy-headed post. it's late at night. i realized i haven't developed much mental model of systemd's handling of this stuff.)

Sign in to participate in the conversation
federation.p1k3.com

federation.p1k3.com is brennen's single-user Mastodon instance. This instance runs on masto.host, and is thus bound by masto.host's ToS, which bar instances dedicated to racism, Nazi shit, transphobia, misogyny, incitement to violence, and the rest of the usual litany of horrors.