-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception: Failed to prevent sleep: Permission denied in Linux Mint 22 #296
Comments
Please check if |
Command returns
Mint 21.2:
|
What client version? (because of e341465) |
v8.4.5 |
Sorry, wrong command. Try |
Linux Mint 22 |
Linux Mint 21.2 |
Mint 21 uses the outdated 0.105 version, while Mint 22 uses the new version with JavaScript-based rules. Our DEB package uses the older rules for broader compatibility. Therefore, on Mint 22, https://salsa.debian.org/utopia-team/polkit/-/commit/9e392db5105240817c235e74b5a3f4043fda256a However, I'm uncertain if this change was backported to older versions, especially Ubuntu 20.04 LTS. Thus, I think I'll recommend |
Hm, but if distros keeps updating the packages, we will be back to square one |
By default, |
Required to prevent sleep on Debian 12, Ubuntu 24.04 LTS, and Mint 22. Cannot be depended on as the polkitd-pkla package is not available or provided by any other package in older versions (< 0.105-32). Closes FoldingAtHome#296
Required to prevent sleep on Debian 12, Ubuntu 24.04 LTS, and Mint 22. Cannot be depended on as the polkitd-pkla package is not available or provided by any other package in older versions (policykit-1 < 0.105-32). Closes FoldingAtHome#296
Due to our use of the legacy rule format for broader Debian compatibility, the policykit-1 dependency needs to be versioned. Otherwise, newer versions' transitional package won't pull in polkitd-pkla. Closes FoldingAtHome#296
Pushed a new version requiring the dependency in #297. It should be compatible with all Debian systems. |
I noticed few messages in the log of my Mint 22. Seems that v8 has lost permissions to prevent sleep in Mint 22.
Mint 21.2 does not show this error message in the logs.
Even though I disabled sleep in my both Linux boxes, I still have Keep Awake ticked in the Settings, just for good measure. Ticks are done on both GPU and CPU resource groups.
The text was updated successfully, but these errors were encountered: