FoldingAtHome / fah-client-bastet

Folding@home client, code named Bastet
GNU General Public License v3.0
65 stars 11 forks source link

Exception: Failed to prevent sleep: Permission denied in Linux Mint 22 #296

Open muziqaz opened 3 days ago

muziqaz commented 3 days ago

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.

marcosfrm commented 2 days ago

Please check if polkitd-pkla is installed (dpkg-query --show polkitd polkitd-pkla). See:

https://github.com/FoldingAtHome/fah-client-bastet/pull/199#issuecomment-1890796358

muziqaz commented 2 days ago

Command returns Mint 22:

polkitd 124-2ubuntu1
polkitd-pkla

Mint 21.2:

polkitd 0.105-33
polkitd-pkla
marcosfrm commented 2 days ago

What client version? (because of https://github.com/FoldingAtHome/fah-client-bastet/commit/e341465d0b92600eade8d62829428e2899170c56)

muziqaz commented 2 days ago

v8.4.5

marcosfrm commented 17 hours ago

Sorry, wrong command. Try dpkg-query -L polkitd polkitd-pkla.