Public bug reported: Hello,
After updating from Ubuntu Quantla (12.10), my system (Dell XPS 12) would: 1. attempt to suspend when lid is clised (even though this behavior is disabled in 'xfce4-power-manager' settings); see bug #1222021 2. fail to suspend altogether when called from XFCE's 'Log Out -> Suspend' button Even though: a. 'pm-suspend '(as root) works flawlessly => suspend/resume works b. 'dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend' (as user) works flawlessly => DBus works I finally tracked it down to the package 'systemd-shim' being missing from my system. I recovered a flawllesly working XFCE's suspend/hibernate/resume behavior by: A . Installing 'systemd-shim' (which apparently installs the "glue" between XFCE's power manager, DBus and 'systemd' B. Inihibiting 'systemd' behavior (which overrides/bypasses 'xfce4 -power-manager'; see bug #1222021); in '/etc/systemd/logind.conf': HandlePowerKey=ignore HandleSuspendKey=ignore HandleHibernateKey=ignore HandleLidSwitch=ignore C. Addind the new 'logind'-related policies for hibernation; in '/etc/polkit-1/localauthority/50-local.d/hibernate.pkla': [EnableHibernate:LoginD] Identity=unix-user:* Action=org.freedesktop.login1.hibernate ResultActive=yes ResultAny=no Unless I'm mistaken, 'systemd-shim' should be added as a dependency of 'xfce4-power-manager' to avoid some scenari stumbling o the same issue I did. Cheers and thanks, Cédric ** Affects: xfce4-power-manager (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1251991 Title: [13.10] 'xfce4-power-manager' should depend on 'systemd-shim' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xfce4-power-manager/+bug/1251991/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs