Suspend always asks for permission

Ubuntu Support Template

Ubuntu Version:
OS: Lubuntu 24.04.3 LTS x86_64

Desktop Environment (if applicable):
DE: LXQt 1.4.0

Problem Description:
Always get a popup when trying to suspend that says: “Authentication is required to suspend the system while an application is inhibiting this.”
happens regardless of when I try. Fresh boot up with nothing else running, keyboard, menu link, CLI always gives the popup. If I cancel, sometimes it will cancel, other times it will then shutdown anyway. (That might be a battery issue, but something doesn’t match that)

did read in another place that it might be related to policy kit or something like that but in my testing that didn’t make a difference.

This install is less than a year old on a used laptop, but everything else appears to work. no dual boot, all updates completed.

This “feature” has existed from first install and I’ve experienced it with the same version on other computers. previous versions have worked without needing authentication to shutdown or suspend.

It’s not the end of the world, but it is annoying that it doesn’t work.

I don’t know, but I have encountered it before as a result of a change I made, but I detected the changed behavior and was able to recall back as to what I changed & reverse that choice.

I have encountered it with browser extensions from memory too, ie. told the browser it could run stuff in the background, the browser had thus added an autostart for itself (not always will it do this) thus the browser started up even if I never told it to open. Again once I detected this behavior I stopped it, and was more careful (google-chrome from memory does or did this; its behavior can change every ~4 weeks when newer versions come out so its hard to keep up with that app).

I’d look for things that you’ve configured to autostart; either intentionally or by unintentionally (as happened with me) due to a choice you’d made, and I’ll provide the manual page for where I’d look (ie. Autostart tab)

https://manual.lubuntu.me/lts/3/3.2/3.2.13/session_settings.html

( If you don’t know what’s default for a system, I’d boot another box and explore there, you could use a VM which could be quickly setup to see out of the box defaults for example )

Hopefully this is helpful, but I don’t know the cause, and what I’ve described may not be all the reasons I’ve concluded its happened to me.

1 Like

This started happening to me as well, xubuntu 24.04. I was making power changes to my laptop. Backed everything out but still happening.

1 Like

The thing is that it happened right after install. I didn’t choose anything extra or different than I have on dozens of other Lubuntu installs. I’ve disabled everything I could find that might ask for permissions and I’ve probably screwed up this install rather badly because of that, but nothing I do changes the permission issue on trying to suspend. The only thing I can think of is to give myself root permissions, but that’s just stupid…but maybe as a test? Hmmn.

Output of

systemd-inhibit | cat

could be useful.