I just encountered this error and wanted to a put a record up in case it affects anyone else. The symptom for me was that I could not make changes to the Power Management panel in the KDE System Settings. There were quite a lot of ‘solutions’ in regards to powerd upgrades, timeout changes, etc. that didn’t seem to apply. What actually fixed it was:
- Open a terminal and go to etc/xdg/autostart/
- Look for powerdevil.desktop and open it.
- Edit powerdevil.desktop and look for X-systemd-skip
- This is probably set to true. Change it to false.
- Reboot
After the reboot power management was back although the user login seems to have been slowed down by a few seconds. I’m not exactly sure what started this but the only recent change I recall making is switching to Wayland.
These are the commands for anyone that might be a newbie and doesn’t want the slight bit of Linux usage practice above:
In your terminal:
cd /etc/xdg/autostart
kate powerdevil.desktop
change X-systemd-skip=true to X-systemd-skip=false
Save
Reboot
All respect where it’s due: One of the random posts on the issue pointed me to this guy’s video which details the fix. https://www.youtube.com/watch?v=bFSd6QYerRM&t=80s
This is meant purely to help someone else that might run into it in the future. So Mods, if it needs to be moved/deleted/whatever, do what you must.