You are not logged in.
Pages: 1
Hi
I'm tired to google it so I'll ask here.
suspend seems to work fine from applications/exit menu.
But I also tuned power manager to go suspend on lid close and by power button.
In both of this cases I get a messages
GDBus.Error:org.freedesktop.ConsoleKit.Manager.Error.AuthorizationRequired
in power manager logs I see next
TRACE[xfpm-button.c:118] xfpm_button_filter_x_events(): Key press: ((XfpmButtonKey) BUTTON_POWER_OFF)
TRACE[xfpm-manager.c:367] xfpm_manager_button_pressed_cb(): Received button press event: ((XfpmButtonKey) BUTTON_POWER_OFF)
TRACE[xfpm-manager.c:398] xfpm_manager_button_pressed_cb(): Shutdown request : : ((XfpmShutdownRequest) XFPM_DO_SUSPEND)
** (xfce4-power-manager:12777): WARNING **: No outputs have backlight property
(xfce4-power-manager:12777): GLib-CRITICAL **: Source ID 72 was not found when attempting to remove it
and next for lid
TRACE[xfpm-manager.c:438] xfpm_manager_lid_changed_cb(): LID close event: ((XfpmLidTriggerAction) LID_TRIGGER_SUSPEND)
** (xfce4-power-manager:12777): WARNING **: No outputs have backlight property
(xfce4-power-manager:12777): GLib-CRITICAL **: Source ID 78 was not found when attempting to remove it
TRACE[xfpm-manager.c:471] xfpm_manager_lid_changed_cb(): LID opened: ((XfpmLidTriggerAction) LID_TRIGGER_SUSPEND)
TRACE[xfpm-dpms.c:284] xfpm_dpms_force_level(): start
TRACE[xfpm-dpms.c:316] xfpm_dpms_force_level(): No need to change DPMS mode, current_level=0 requested_level=0
And my laptop does not suspend.
It's Gentoo system with just Xfce.
sys-power/pm-utils-1.4.1-r7
sys-power/upower-0.99.6
xfce-extra/xfce4-power-manager-1.6.0-r1 {debug networkmanager +panel-plugin policykit systemd KERNEL="linux" XFCE_PLUGINS="+power"}
Offline
Ah, I figured it out.
I first logged as root on terminal and then started DM where logged as user. It seems consolekit forbids suspend in this case.
But then strange it works from menu.
Offline
Pages: 1
[ Generated in 0.008 seconds, 8 queries executed - Memory usage: 521.25 KiB (Peak: 521.88 KiB) ]