You are not logged in.
Hello!
I've a problem triggering s2ram. Everything has been working flawlessly until a few weeks ago, when I updated my Manjaro packages. I tried to debug the issue but so far has been unable to find the root cause.
Any ideas are welcome!
Thanks!
journalctl errors reported like this:
Apr 16 08:15:01 tpad1.home.arpa polkitd[1564]: Operator of unix-session:7 FAILED to authenticate to gain authorization for action org.freedesktop.login1.suspend for system-bus-name::1.281 [xfce4-power-manager] (owned by unix-user:superuser)
$ env | grep DBUS_SESSION_BUS_ADDRESS
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
ps -ef | grep power
root 1986 1 0 Apr13 ? 00:11:27 /usr/lib/upowerd
superus+ 2919 2014 0 Apr13 ? 00:00:02 /usr/bin/python /usr/bin/powerline-daemon -q
superus+ 28602 28511 0 Apr14 ? 00:00:05 xfce4-power-manager
superus+ 28760 28570 0 Apr14 ? 00:00:22 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libxfce4powermanager.so 8 14680076 power-manager-plugin Power Manager Plugin Display the battery levels of your devices and control the brightness of your display
$ xfconf-query -c xfce4-power-manager -lv
/xfce4-power-manager/blank-on-ac 30
/xfce4-power-manager/blank-on-battery 5
/xfce4-power-manager/brightness-on-ac 120
/xfce4-power-manager/brightness-on-battery 60
/xfce4-power-manager/brightness-switch 0
/xfce4-power-manager/brightness-switch-restore-on-exit 1
/xfce4-power-manager/critical-power-action 3
/xfce4-power-manager/dpms-enabled false
/xfce4-power-manager/dpms-on-ac-off 32
/xfce4-power-manager/dpms-on-ac-sleep 31
/xfce4-power-manager/dpms-on-battery-sleep 6
/xfce4-power-manager/general-notification true
/xfce4-power-manager/inactivity-on-ac 30
/xfce4-power-manager/inactivity-on-battery 15
/xfce4-power-manager/inactivity-sleep-mode-on-battery 1
/xfce4-power-manager/lid-action-on-ac 1
/xfce4-power-manager/lid-action-on-battery 1
/xfce4-power-manager/logind-handle-lid-switch true
/xfce4-power-manager/power-button-action 3
/xfce4-power-manager/show-panel-label 1
/xfce4-power-manager/show-presentation-indicator false
/xfce4-power-manager/show-tray-icon false
$ xfce4-power-manager --debug
TRACE[xfpm-main.c:210] xfpm_start(): Starting the power manager
(xfce4-power-manager:3418920): xfce4-power-manager-WARNING **: 10:18:01.310: Unable to connect to session manager : Failed to connect to the session manager: SESSION_MANAGER environment variable not defined
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for lock-screen-suspend-hibernate
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for critical-power-level
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for show-brightness-popup
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for handle-brightness-keys
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for brightness-step-count
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for brightness-exponential
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for hibernate-button-action
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for sleep-button-action
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for battery-button-action
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for brightness-level-on-ac
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for brightness-level-on-battery
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for brightness-slider-min-level
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for dpms-enabled
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for dpms-on-battery-off
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for dpms-sleep-mode
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for inactivity-sleep-mode-on-ac
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for logind-handle-power-key
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for logind-handle-suspend-key
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for logind-handle-hibernate-key
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for heartbeat-command
TRACE[xfpm-polkit.c:289] xfpm_polkit_init_data(): Using unix session polkit subject
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 3418920>, 'start-time': <uint64 247927781>}), 'org.freedesktop.login1.power-off', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.power-off is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 3418920>, 'start-time': <uint64 247927781>}), 'org.freedesktop.login1.reboot', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.reboot is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 3418920>, 'start-time': <uint64 247927781>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 3418920>, 'start-time': <uint64 247927781>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-power.c:916] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/line_power_AC
TRACE[xfpm-power.c:875] xfpm_power_add_device(): 'line-power' device added
TRACE[xfpm-power.c:916] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/battery_BAT0
TRACE[xfpm-power.c:875] xfpm_power_add_device(): 'battery' device added
TRACE[xfpm-power.c:884] xfpm_power_add_device(): Battery device type 'battery' detected at: /org/freedesktop/UPower/devices/battery_BAT0
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 124 : ((XfpmButtonKey) BUTTON_POWER_OFF)
TRACE[xfpm-button.c:170] xfpm_button_xevent_key(): could not map keysym 1008ffa8 to keycode
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 213 : ((XfpmButtonKey) BUTTON_HIBERNATE)
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 150 : ((XfpmButtonKey) BUTTON_SLEEP)
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 233 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_UP)
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 232 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_DOWN)
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 244 : ((XfpmButtonKey) BUTTON_BATTERY)
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 238 : ((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_UP)
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 237 : ((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_DOWN)
TRACE[xfpm-power.c:916] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/battery_hidpp_battery_3
TRACE[xfpm-power.c:875] xfpm_power_add_device(): 'mouse' device added
TRACE[xfpm-power.c:884] xfpm_power_add_device(): Battery device type 'mouse' detected at: /org/freedesktop/UPower/devices/battery_hidpp_battery_3
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 3418920>, 'start-time': <uint64 247927781>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 3418920>, 'start-time': <uint64 247927781>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-power.c:1416] xfpm_update_blank_time(): Prev Timeout: 1800 / New Timeout: 600
TRACE[xfpm-power.c:1416] xfpm_update_blank_time(): Prev Timeout: 600 / New Timeout: 1800
TRACE[xfpm-manager.c:647] xfpm_manager_inhibit_sleep_systemd(): Inhibiting systemd sleep: handle-power-key:handle-suspend-key:handle-hibernate-key
TRACE[xfpm-manager.c:537] xfpm_manager_set_idle_alarm_on_ac(): setting inactivity sleep timeout on ac to 80
TRACE[xfpm-manager.c:561] xfpm_manager_set_idle_alarm_on_battery(): setting inactivity sleep timeout on battery to 15
TRACE[xfpm-brightness.c:240] xfpm_brightness_setup_xrandr(): No outputs have backlight property
TRACE[xfpm-brightness.c:301] xfpm_brightness_helper_get_value(): Executing command: /usr/bin/xfpm-power-backlight-helper --get-max-brightness
TRACE[xfpm-brightness.c:333] xfpm_brightness_setup_helper(): xfpm_brightness_setup_helper: get-max-brightness returned 255
TRACE[xfpm-brightness.c:500] xfpm_brightness_setup(): xrandr not available, brightness controlled by sysfs helper; min_level=0 max_level=255
TRACE[xfpm-brightness.c:301] xfpm_brightness_helper_get_value(): Executing command: /usr/bin/xfpm-power-backlight-helper --get-brightness-switch
TRACE[xfpm-brightness.c:415] xfpm_brightness_helper_set_switch(): Executing command: pkexec /usr/bin/xfpm-power-backlight-helper --set-brightness-switch 0
TRACE[xfpm-backlight.c:516] xfpm_backlight_set_property(): Set kernel brightness switch to 0
TRACE[xfpm-brightness.c:301] xfpm_brightness_helper_get_value(): Executing command: /usr/bin/xfpm-power-backlight-helper --get-brightness
TRACE[xfpm-brightness.c:360] xfpm_brightness_helper_get_level(): xfpm_brightness_helper_get_level: get-brightness returned 130
TRACE[xfpm-backlight.c:293] xfpm_backlight_brightness_on_ac_settings_changed(): Alarm on ac timeout changed 120
TRACE[xfpm-backlight.c:314] xfpm_backlight_brightness_on_battery_settings_changed(): Alarm on battery timeout changed 9
cat /usr/share/polkit-1/actions/org.xfce.power.policy
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
<policyconfig>
<vendor>XFCE Power Manager</vendor>
<vendor_url>http://goodies.xfce.org/projects/applications/xfce4-power-manager</vendor_url>
<icon_name>battery</icon_name>
<action id="org.xfce.power.backlight-helper">
<description>Modify the laptop display brightness</description>
<message>Authentication is required to modify the laptop display brightness</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/xfpm-power-backlight-helper</annotate>
</action>
<action id="org.xfce.power.xfce4-pm-helper">
<description>Suspend or hibernate the system</description>
<message>Authentication is required to place the system in suspend or hibernate mode</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/xfce4-pm-helper</annotate>
</action>
$ pacman -Ql | awk '{print $1}' | uniq | grep polkit
polkit
polkit-gnome
polkit-qt5
$ groups
sys network scanner power wireshark autologin libvirt lp wheel superuser
# NOTE: There are no custom rules under /etc/polkit-1/rules.d/
Last edited by limaunion (2024-04-17 19:57:12)
Offline
Hello and welcome.
Can you clarify what initiates suspend in your scenario? Lid close? Timeout? Manual suspend? Does it no longer work for any of the three?
/xfce4-power-manager/logind-handle-lid-switch true
You are passing lid handling over to systemd/logind. What does your /etc/systemd/logind.conf file says about the "HandleLidSwitch"?
As a test, you can try setting that to false and letting xfce4-power-manager handle the suspend event (assuming suspend on lid close is the issue).
There is also this thread about a similar problem that was resolved by a polkit rule.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Hi! Thanks for the welcome.
I'm new to the forum but long time XFCE user, 10-15years... cannot remember any more
I'm only interested triggering s2ram after inactivity, 90m plugged and 15m on battery.
This was running flawlessly until a few weeks ago.
I'll check the link provided for any clue.
There is no custom systemd config in my file:
$ grep HandleLidSwitch /etc/systemd/logind.conf
#HandleLidSwitch=suspend
#HandleLidSwitchExternalPower=suspend
#HandleLidSwitchDocked=ignore
$ xfce4-power-manager --dump
---------------------------------------------------
Xfce power manager version 4.18.3
With policykit support
Without 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 battery button: True
Has LID: True
Offline
I'm only interested triggering s2ram after inactivity, 90m plugged and 15m on battery.
This was running flawlessly until a few weeks ago.
Something obviously changed. Was xfce4-power-manager updated recently on your system?
Also, do you use, and is a screensaver kicking in within the 90/15 min time frame?
Does you previously posted "xfce4-power-manager --debug" command include the time when the system should have suspended? If not, try setting the timeouts to lower values to see if you can capture some debug output for when the event should happen.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
These are the last two most recent updates I got for xfce4-power-manager:
[2023-08-08T15:29:43+0200] [ALPM] upgraded xfce4-power-manager (4.18.1-1 -> 4.18.2-1)
[2024-02-23T17:30:23+0100] [ALPM] upgraded xfce4-power-manager (4.18.2-1 -> 4.18.3-1)
I don't use any screensaver.
I configured the polkit rule as per the link and restarted its service. Unfortunately the issue is still happening.
This is the output when running 'xfce4-power-manager --debug':
TRACE[xfpm-main.c:210] xfpm_start(): Starting the power manager
(xfce4-power-manager:446034): xfce4-power-manager-WARNING **: 20:00:04.465: Unable to connect to session manager : Failed to connect to the session manager: SESSION_MANAGER environment variable not defined
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for lock-screen-suspend-hibernate
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for critical-power-level
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for show-brightness-popup
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for handle-brightness-keys
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for brightness-step-count
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for brightness-exponential
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for hibernate-button-action
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for sleep-button-action
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for battery-button-action
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for brightness-level-on-ac
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for brightness-level-on-battery
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for brightness-slider-min-level
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for dpms-on-battery-off
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for dpms-sleep-mode
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for inactivity-sleep-mode-on-ac
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for logind-handle-power-key
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for logind-handle-suspend-key
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for logind-handle-hibernate-key
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for heartbeat-command
TRACE[xfpm-polkit.c:289] xfpm_polkit_init_data(): Using unix session polkit subject
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.power-off', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.power-off is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.reboot', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.reboot is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-power.c:916] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/battery_BAT0
TRACE[xfpm-power.c:875] xfpm_power_add_device(): 'battery' device added
TRACE[xfpm-power.c:884] xfpm_power_add_device(): Battery device type 'battery' detected at: /org/freedesktop/UPower/devices/battery_BAT0
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 124 : ((XfpmButtonKey) BUTTON_POWER_OFF)
TRACE[xfpm-button.c:170] xfpm_button_xevent_key(): could not map keysym 1008ffa8 to keycode
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 213 : ((XfpmButtonKey) BUTTON_HIBERNATE)
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 150 : ((XfpmButtonKey) BUTTON_SLEEP)
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 233 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_UP)
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 232 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_DOWN)
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 244 : ((XfpmButtonKey) BUTTON_BATTERY)
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 238 : ((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_UP)
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 237 : ((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_DOWN)
TRACE[xfpm-power.c:916] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/line_power_AC
TRACE[xfpm-power.c:875] xfpm_power_add_device(): 'line-power' device added
TRACE[xfpm-power.c:916] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/battery_hidpp_battery_0
TRACE[xfpm-power.c:875] xfpm_power_add_device(): 'mouse' device added
TRACE[xfpm-power.c:884] xfpm_power_add_device(): Battery device type 'mouse' detected at: /org/freedesktop/UPower/devices/battery_hidpp_battery_0
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-power.c:1416] xfpm_update_blank_time(): Prev Timeout: 300 / New Timeout: 600
TRACE[xfpm-power.c:1416] xfpm_update_blank_time(): Prev Timeout: 600 / New Timeout: 300
TRACE[xfpm-manager.c:647] xfpm_manager_inhibit_sleep_systemd(): Inhibiting systemd sleep: handle-power-key:handle-suspend-key:handle-hibernate-key
TRACE[xfpm-manager.c:537] xfpm_manager_set_idle_alarm_on_ac(): setting inactivity sleep timeout on ac to 15
TRACE[xfpm-manager.c:561] xfpm_manager_set_idle_alarm_on_battery(): setting inactivity sleep timeout on battery to 15
TRACE[xfpm-brightness.c:240] xfpm_brightness_setup_xrandr(): No outputs have backlight property
TRACE[xfpm-brightness.c:301] xfpm_brightness_helper_get_value(): Executing command: /usr/bin/xfpm-power-backlight-helper --get-max-brightness
TRACE[xfpm-brightness.c:333] xfpm_brightness_setup_helper(): xfpm_brightness_setup_helper: get-max-brightness returned 255
TRACE[xfpm-brightness.c:500] xfpm_brightness_setup(): xrandr not available, brightness controlled by sysfs helper; min_level=0 max_level=255
TRACE[xfpm-brightness.c:301] xfpm_brightness_helper_get_value(): Executing command: /usr/bin/xfpm-power-backlight-helper --get-brightness-switch
TRACE[xfpm-brightness.c:415] xfpm_brightness_helper_set_switch(): Executing command: pkexec /usr/bin/xfpm-power-backlight-helper --set-brightness-switch 0
TRACE[xfpm-backlight.c:516] xfpm_backlight_set_property(): Set kernel brightness switch to 0
TRACE[xfpm-brightness.c:301] xfpm_brightness_helper_get_value(): Executing command: /usr/bin/xfpm-power-backlight-helper --get-brightness
TRACE[xfpm-brightness.c:360] xfpm_brightness_helper_get_level(): xfpm_brightness_helper_get_level: get-brightness returned 130
TRACE[xfpm-backlight.c:293] xfpm_backlight_brightness_on_ac_settings_changed(): Alarm on ac timeout changed 9
TRACE[xfpm-backlight.c:314] xfpm_backlight_brightness_on_battery_settings_changed(): Alarm on battery timeout changed 60
TRACE[xfpm-polkit.c:237] xfpm_polkit_free_data(): Destroying Polkit data
TRACE[xfpm-manager.c:492] xfpm_manager_alarm_timeout_cb(): Alarm inactivity timeout id 2
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:289] xfpm_polkit_init_data(): Using unix session polkit subject
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=FALSE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=FALSE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=FALSE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=FALSE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=FALSE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=FALSE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=FALSE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=FALSE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=FALSE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=FALSE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=FALSE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=FALSE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=FALSE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=FALSE
TRACE[xfpm-polkit.c:237] xfpm_polkit_free_data(): Destroying Polkit data
TRACE[xfpm-manager.c:492] xfpm_manager_alarm_timeout_cb(): Alarm inactivity timeout id 4
TRACE[xfpm-manager.c:492] xfpm_manager_alarm_timeout_cb(): Alarm inactivity timeout id 3
TRACE[xfpm-brightness.c:240] xfpm_brightness_setup_xrandr(): No outputs have backlight property
TRACE[xfpm-brightness.c:301] xfpm_brightness_helper_get_value(): Executing command: /usr/bin/xfpm-power-backlight-helper --get-max-brightness
TRACE[xfpm-brightness.c:333] xfpm_brightness_setup_helper(): xfpm_brightness_setup_helper: get-max-brightness returned 255
TRACE[xfpm-brightness.c:500] xfpm_brightness_setup(): xrandr not available, brightness controlled by sysfs helper; min_level=0 max_level=255
TRACE[xfpm-brightness.c:301] xfpm_brightness_helper_get_value(): Executing command: /usr/bin/xfpm-power-backlight-helper --get-brightness
TRACE[xfpm-brightness.c:360] xfpm_brightness_helper_get_level(): xfpm_brightness_helper_get_level: get-brightness returned 130
(xfce4-power-manager:446034): GLib-CRITICAL **: 20:15:38.168: g_variant_unref: assertion 'value != NULL' failed
TRACE[xfpm-power.c:470] xfpm_power_sleep(): D-Bus time out, but should be harmless
TRACE[xfpm-brightness.c:378] xfpm_brightness_helper_set_level(): Executing command: pkexec /usr/bin/xfpm-power-backlight-helper --set-brightness 130
Error executing command as another user: Not authorized
This incident has been reported.
TRACE[xfpm-brightness.c:382] xfpm_brightness_helper_set_level(): Failed to set value: Child process exited with code 127
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:289] xfpm_polkit_init_data(): Using unix session polkit subject
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=FALSE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=FALSE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=FALSE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=FALSE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:237] xfpm_polkit_free_data(): Destroying Polkit data
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:289] xfpm_polkit_init_data(): Using unix session polkit subject
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:237] xfpm_polkit_free_data(): Destroying Polkit data
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:289] xfpm_polkit_init_data(): Using unix session polkit subject
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:237] xfpm_polkit_free_data(): Destroying Polkit data
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:289] xfpm_polkit_init_data(): Using unix session polkit subject
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 446034>, 'start-time': <uint64 25387934>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
^CTRACE[xfpm-main.c:68] xfpm_quit_signal(): sig 2
TRACE[xfpm-manager.c:939] xfpm_manager_stop(): Stopping
TRACE[xfpm-manager.c:262] xfpm_manager_quit(): Exiting
TRACE[xfpm-brightness.c:415] xfpm_brightness_helper_set_switch(): Executing command: pkexec /usr/bin/xfpm-power-backlight-helper --set-brightness-switch 1
TRACE[xfpm-backlight.c:557] xfpm_backlight_finalize(): Restored brightness switch value to: 1
TRACE[xfpm-polkit.c:237] xfpm_polkit_free_data(): Destroying Polkit data
I also tested the following command and found that in this case s2ram runs succesfully:
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/inactivity-on-ac -s 5
The 'xfce4-power-manager --debug' in this case is this one:
TRACE[xfpm-main.c:210] xfpm_start(): Starting the power manager
(xfce4-power-manager:449367): xfce4-power-manager-WARNING **: 20:54:29.222: Unable to connect to session manager : Failed to connect to the session manager: SESSION_MANAGER environment variable not defined
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for lock-screen-suspend-hibernate
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for critical-power-level
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for show-brightness-popup
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for handle-brightness-keys
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for brightness-step-count
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for brightness-exponential
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for hibernate-button-action
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for sleep-button-action
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for battery-button-action
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for brightness-level-on-ac
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for brightness-level-on-battery
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for brightness-slider-min-level
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for dpms-on-battery-off
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for dpms-sleep-mode
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for inactivity-sleep-mode-on-ac
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for logind-handle-power-key
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for logind-handle-suspend-key
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for logind-handle-hibernate-key
TRACE[xfpm-xfconf.c:169] xfpm_xfconf_load(): Using default configuration for heartbeat-command
TRACE[xfpm-polkit.c:289] xfpm_polkit_init_data(): Using unix session polkit subject
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.power-off', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.power-off is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.reboot', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.reboot is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-power.c:916] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/battery_BAT0
TRACE[xfpm-power.c:875] xfpm_power_add_device(): 'battery' device added
TRACE[xfpm-power.c:884] xfpm_power_add_device(): Battery device type 'battery' detected at: /org/freedesktop/UPower/devices/battery_BAT0
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 124 : ((XfpmButtonKey) BUTTON_POWER_OFF)
TRACE[xfpm-button.c:170] xfpm_button_xevent_key(): could not map keysym 1008ffa8 to keycode
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 213 : ((XfpmButtonKey) BUTTON_HIBERNATE)
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 150 : ((XfpmButtonKey) BUTTON_SLEEP)
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 233 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_UP)
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 232 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_DOWN)
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 244 : ((XfpmButtonKey) BUTTON_BATTERY)
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 238 : ((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_UP)
TRACE[xfpm-button.c:177] xfpm_button_xevent_key(): Grabbed key 237 : ((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_DOWN)
TRACE[xfpm-power.c:916] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/line_power_AC
TRACE[xfpm-power.c:875] xfpm_power_add_device(): 'line-power' device added
TRACE[xfpm-power.c:916] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/battery_hidpp_battery_0
TRACE[xfpm-power.c:875] xfpm_power_add_device(): 'mouse' device added
TRACE[xfpm-power.c:884] xfpm_power_add_device(): Battery device type 'mouse' detected at: /org/freedesktop/UPower/devices/battery_hidpp_battery_0
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-power.c:1416] xfpm_update_blank_time(): Prev Timeout: 300 / New Timeout: 600
TRACE[xfpm-power.c:1416] xfpm_update_blank_time(): Prev Timeout: 600 / New Timeout: 300
TRACE[xfpm-manager.c:647] xfpm_manager_inhibit_sleep_systemd(): Inhibiting systemd sleep: handle-power-key:handle-suspend-key:handle-hibernate-key
TRACE[xfpm-manager.c:537] xfpm_manager_set_idle_alarm_on_ac(): setting inactivity sleep timeout on ac to 5
TRACE[xfpm-manager.c:561] xfpm_manager_set_idle_alarm_on_battery(): setting inactivity sleep timeout on battery to 15
TRACE[xfpm-brightness.c:240] xfpm_brightness_setup_xrandr(): No outputs have backlight property
TRACE[xfpm-brightness.c:301] xfpm_brightness_helper_get_value(): Executing command: /usr/bin/xfpm-power-backlight-helper --get-max-brightness
TRACE[xfpm-brightness.c:333] xfpm_brightness_setup_helper(): xfpm_brightness_setup_helper: get-max-brightness returned 255
TRACE[xfpm-brightness.c:500] xfpm_brightness_setup(): xrandr not available, brightness controlled by sysfs helper; min_level=0 max_level=255
TRACE[xfpm-brightness.c:301] xfpm_brightness_helper_get_value(): Executing command: /usr/bin/xfpm-power-backlight-helper --get-brightness-switch
TRACE[xfpm-brightness.c:415] xfpm_brightness_helper_set_switch(): Executing command: pkexec /usr/bin/xfpm-power-backlight-helper --set-brightness-switch 0
TRACE[xfpm-backlight.c:516] xfpm_backlight_set_property(): Set kernel brightness switch to 0
TRACE[xfpm-brightness.c:301] xfpm_brightness_helper_get_value(): Executing command: /usr/bin/xfpm-power-backlight-helper --get-brightness
TRACE[xfpm-brightness.c:360] xfpm_brightness_helper_get_level(): xfpm_brightness_helper_get_level: get-brightness returned 130
TRACE[xfpm-backlight.c:293] xfpm_backlight_brightness_on_ac_settings_changed(): Alarm on ac timeout changed 9
TRACE[xfpm-backlight.c:314] xfpm_backlight_brightness_on_battery_settings_changed(): Alarm on battery timeout changed 60
TRACE[xfpm-polkit.c:237] xfpm_polkit_free_data(): Destroying Polkit data
TRACE[xfpm-manager.c:492] xfpm_manager_alarm_timeout_cb(): Alarm inactivity timeout id 2
TRACE[xfpm-manager.c:492] xfpm_manager_alarm_timeout_cb(): Alarm inactivity timeout id 3
TRACE[xfpm-brightness.c:240] xfpm_brightness_setup_xrandr(): No outputs have backlight property
TRACE[xfpm-brightness.c:301] xfpm_brightness_helper_get_value(): Executing command: /usr/bin/xfpm-power-backlight-helper --get-max-brightness
TRACE[xfpm-brightness.c:333] xfpm_brightness_setup_helper(): xfpm_brightness_setup_helper: get-max-brightness returned 255
TRACE[xfpm-brightness.c:500] xfpm_brightness_setup(): xrandr not available, brightness controlled by sysfs helper; min_level=0 max_level=255
TRACE[xfpm-brightness.c:301] xfpm_brightness_helper_get_value(): Executing command: /usr/bin/xfpm-power-backlight-helper --get-brightness
TRACE[xfpm-brightness.c:360] xfpm_brightness_helper_get_level(): xfpm_brightness_helper_get_level: get-brightness returned 130
TRACE[xfpm-brightness.c:378] xfpm_brightness_helper_set_level(): Executing command: pkexec /usr/bin/xfpm-power-backlight-helper --set-brightness 130
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:289] xfpm_polkit_init_data(): Using unix session polkit subject
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
TRACE[xfpm-polkit.c:383] xfpm_polkit_changed_cb(): Auth changed
TRACE[xfpm-power.c:975] xfpm_power_polkit_auth_changed_cb(): Auth configuration changed
TRACE[xfpm-power.c:206] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:345] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 449367>, 'start-time': <uint64 25714410>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE
^CTRACE[xfpm-main.c:68] xfpm_quit_signal(): sig 2
TRACE[xfpm-manager.c:939] xfpm_manager_stop(): Stopping
TRACE[xfpm-manager.c:262] xfpm_manager_quit(): Exiting
TRACE[xfpm-brightness.c:415] xfpm_brightness_helper_set_switch(): Executing command: pkexec /usr/bin/xfpm-power-backlight-helper --set-brightness-switch 1
TRACE[xfpm-backlight.c:557] xfpm_backlight_finalize(): Restored brightness switch value to: 1
TRACE[xfpm-polkit.c:237] xfpm_polkit_free_data(): Destroying Polkit data
Maybe polkit service restart is not enough?
I'll check some other posts related with this, but please let me know if there's any suggestion or test to do
Thanks
Last edited by limaunion (2024-04-16 19:50:18)
Offline
[2024-02-23T17:30:23+0100] [ALPM] upgraded xfce4-power-manager (4.18.2-1 -> 4.18.3-1)
Maybe you can also try downgrading this package back to 4.18.2-1 to see if suspend works again?
TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=FALSE
It really looks like a policykit permissions issue.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Yes, likely polkit... I forgot that I already tested downgrading the version:
[2024-03-23T21:05:00+0100] [PACMAN] Running 'pacman -U polkit-123-1-x86_64.pkg.tar.zst'
[2024-03-23T21:05:18+0100] [ALPM] warning: /etc/pam.d/polkit-1 installed as /etc/pam.d/polkit-1.pacnew
[2024-03-23T21:05:18+0100] [ALPM] downgraded polkit (124-2 -> 123-1)
But last week I updated the whole system and now it's on release:
$ pacman -Q polkit
polkit 124-2
Just found this other command:
pkaction --verbose --action-id org.freedesktop.login1.suspend
org.freedesktop.login1.suspend:
description: Suspend the system
message: Authentication is required to suspend the system.
vendor: The systemd Project
vendor_url: https://systemd.io
icon:
implicit any: auth_admin_keep
implicit inactive: auth_admin_keep
implicit active: yes
I'll continue troubleshoting polkit...
Thanks.
Offline
So the polkit rule I created yesterday refers to the 'users' group which does not exist in my system. I've just updated it to use the 'power' group and restarted the service. I'll see if this works or not...
Offline
Still having this error even though my user has been properly defined in /etc/polkit-1/rules.d/85-suspend.rules:
Apr 17 11:59:18 tpad1.home.arpa polkitd[537035]: Operator of unix-session:7 FAILED to authenticate to gain authorization for action org.freedesktop.login1.suspend for system-bus-name::1.2971 [/usr/bin/xfce4-power-manager] (owned by unix-user:superuser)
So for some unknown reason polkit is not able to gain authorization privileges needed... Will continue my troubleshooting later today...
Offline
I did some additional tests and the link provided with the custom polkit rule seems to be working fine so far.
Thanks for all the help!
Offline
[ Generated in 0.013 seconds, 7 queries executed - Memory usage: 909.07 KiB (Peak: 999.45 KiB) ]