! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-power-manager/xfce4-session/lightdm hibernation entry has disappeared a...
Status:
RESOLVED: MOVED
Product:
Xfce4-power-manager
Component:
General

Comments

Description Derk te Bokkel 2017-03-14 12:57:32 CET
I'm currently running xubuntu 17.04 with daily builds, and xfce4-gtk3.
(upgrade in place from 16.10)

 also selected and noticed that a recent update caused hibernation to disappear ..
In my past experience this was due to a consolekit and pm-utils .. 
but ..This machine is running systemd ..I'm not sure .. why hibernation has stopped working..  I'm trying to find where systemd-dbus sets suspend/hibernate fishing with qdbusviewer .. but i'm  not sure where to look ..
Comment 1 Derk te Bokkel 2017-03-14 13:53:20 CET
ok dug around and found it under org.freedesktop.login1.Manager .. hibernate works .. so why is it not in the log-out menu/power-manager settings .. something about the detection via dbus has changed?? recently??
Comment 2 Derk te Bokkel 2017-03-14 13:57:57 CET
no changes in git.xfce.org to source code since 06/06/16 .. only translations show in recent time-frame ..  mistified
Comment 3 Derk te Bokkel 2017-03-23 22:52:08 CET
seems that something else may have changed .. ?? lightdm menu also shows lack of hibernation .. capability .. more checking needed
Comment 4 Derk te Bokkel 2017-03-23 23:00:18 CET
seems setting dbus hibernate value to true --still results in hibernation .. so where would things have gone astray??
Comment 5 Derk te Bokkel 2017-03-24 19:28:05 CET
systemd shows capable of hibernation so interface between systemd and user programs x-p-m, x-s and/or lightdm are bolluxed .. some detection scripting error?
Comment 6 Derk te Bokkel 2017-03-24 19:42:52 CET
ah latest xubuntu 17.04-beta2 has a defect in syslogd hibernation .. although it saves the files properly it does not shut off the computer power.. the powerswitch also stops working thus a hard power off ( disconnect power and battery ) is required to reset the machine. repowering and turning on (via power switch) and then it recovers directly to saved hibernation file  and starts up .. is this a known problem??
Comment 7 Ali Abdallah editbugs 2017-11-15 21:02:09 CET
This is definitely a misconfiguration problem, not a bug. Most likely a problem with policykit denying permission to some actions. Run 'xfce4-power-manager --dump' and post the output here.
Comment 8 Derk te Bokkel 2017-11-15 22:37:54 CET
AS requested:  now on xubuntu 17.10


sudo xfce4-power-manager --dump

** (xfce4-power-manager:4982): WARNING **: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.xfce.PowerManager': no such name


** (xfce4-power-manager:4982): WARNING **: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.freedesktop.PowerManagement': no such name


** (xfce4-power-manager:4982): WARNING **: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.xfce.PowerManager': no such name


(xfce4-power-manager:4982): xfce4-power-manager-WARNING **: Unable to connect to session manager : Failed to connect to the session manager: SESSION_MANAGER environment variable not defined

(xfce4-power-manager:4982): GLib-GObject-WARNING **: ../../../../gobject/gsignal.c:2523: signal 'Changed' is invalid for instance '0x5638aff73970' of type 'GDBusProxy'

(xfce4-power-manager:4982): xfce4-power-manager-WARNING **: could not map keysym 1008ffa8 to keycode


(xfce4-power-manager:4982): GLib-CRITICAL **: g_error_free: assertion 'error != NULL' failed

** (xfce4-power-manager:4982): WARNING **: No outputs have backlight property

(xfce4-power-manager:4982): xfce4-power-manager-WARNING **: It seems the kernel brightness switch handling value was not restored properly on exit last time, xfce4-power-manager will try to restore it this time.
xfce4-power-manager-Message: Set kernel brightness switch to 0

(xfce4-power-manager:4982): xfce4-power-manager-WARNING **: Failed to get keyboard max brightness level : GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.freedesktop.UPower.KbdBacklight' on object at path /org/freedesktop/UPower/KbdBacklight
---------------------------------------------------
       Xfce power manager version 1.6.0git-UNKNOWN
With policykit support
With network manager support
---------------------------------------------------
Can suspend: True
Can hibernate: True
Authorized to suspend: True
Authorized to hibernate: True
Authorized to shutdown: True
Has battery: True
Has brightness panel: True
Has power button: True
Has hibernate button: True
Has sleep button: True
Has LID: True


menu for x-p-m and x-session both only show suspend entry ..

(on the same laptop .. gentoo amd64~ profile-17.0 -xfce4 git ebuilds of x-p-m and x-session all there even suspend-hibernate shows  not tried as yet)
Comment 9 Derk te Bokkel 2017-11-15 22:40:56 CET
note my  gentoo is using openrc with consolekit2 and pm-utils not systemd
Comment 10 Derk te Bokkel 2017-11-15 23:29:27 CET
updateing with xubuntu daily builds did not fix issue .. as this was migrated all the way from 16.04 I'm wonding is a fresh install is inorder.
Comment 11 Git Bot editbugs 2020-05-27 01:41:15 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-power-manager/-/issues/26.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #13425

Reported by:
Derk te Bokkel
Reported on: 2017-03-14
Last modified on: 2020-05-27

People

Assignee:
Ali Abdallah
CC List:
3 users

Version

Attachments

Additional information