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 ..
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??
no changes in git.xfce.org to source code since 06/06/16 .. only translations show in recent time-frame .. mistified
seems that something else may have changed .. ?? lightdm menu also shows lack of hibernation .. capability .. more checking needed
seems setting dbus hibernate value to true --still results in hibernation .. so where would things have gone astray??
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?
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??
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.
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)
note my gentoo is using openrc with consolekit2 and pm-utils not systemd
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.
-- 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