Attaching screenshot. All dependencies of plasma-workspace and plasma-desktop are installed. Swap is disabled. Yet, "Suspend" option is not shown anywhere in GUI, not on lock screen not anywhere else. Affects 5.1.0 of desktop/workspace. Reproducible: Always Steps to Reproduce: 1. Run plasma-workspace 5.1.0. 2. See the hell. Actual Results: No "Suspend" item anywhere. Expected Results: Visible "Suspend" item in kickoff and lock menu. Archlinux, up-to-date.
I forgot to provide screenshot. I will do it today afternoon.
Created attachment 89235 [details] No "Suspend" item in kickoff menu.
Hey, could be caused by using a wrong PAM config. Please try overwriting your /etc/pam/sddm-* with their equivalents from some other DM.
Correct path is /etc/pam.d/sddm-*
The are identical with lightdm for example and with kdm. The only little differenece is in *-autologin files, but I do not use autologin.
Created attachment 89256 [details] journalctl stuff
I can suspend with systemd without problems (systemctl suspend).
same problem here, using the kubuntu 14.10 packages. no suspend icon anywhere, closing the lid of the laptop does also not suspend (although configured to do so in the energy saving settings), but sudo pm-suspend works fine.
Suspend works with systemctl suspend command, and pm-suspend too here. But no GUI items. :(
Issue is also present in clean virtualbox guest kde 5 archlinux installation.
I can reproduce in my Kubuntu CI. Plasma code comes from Solid::PowerManagement::supportedSleepStates() according to solid maintainer, the bug is probably specific to Kubuntu as this has a some "if upstart {}" code, but now kubuntu has the logind shim and we're probably not updated. Currently this is in kdelibs4support and destined to be replaced with a new API... but that's not moving forward slowly.
Exists in the latest Kubuntu CI ISO for me. Seems fixed with what will be frameworks 5.6
(In reply to David Edmundson from comment #12) > Exists in the latest Kubuntu CI ISO for me. > > Seems fixed with what will be frameworks 5.6 It's not fixed. I'm using latest git version (Gentoo, live-ebuilds), so it's post 5.6, and I still don't have the suspend button.
Can you give me the result of qdbus --system org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.CanSuspend
(In reply to David Edmundson from comment #14) > Can you give me the result of > qdbus --system org.freedesktop.login1 /org/freedesktop/login1 > org.freedesktop.login1.Manager.CanSuspend Service 'org.freedesktop.login1' does not exist.
Switched to systemd for testing and suspend is possible from GUI now. Seems KDE gets more and more systemd dependent too. :(