Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-12-28 21:35:26

BobTheZealot
Member
Registered: 2019-12-28
Posts: 1

Screen always locks 5 minutes after resume from suspend

I have exactly the same issue as in this thread:
https://forum.xfce.org/viewtopic.php?id=13268

I'm using Xubuntu 19.10 on a Thinkpad X1 Carbon, installed about 3 days ago.

When I resume from suspend (e.g., close lid and open lid) and log in, the screensaver (blank screen) and lock will kick in after 5 minutes, even if I am using the machine.  The timeout ("regard computer idle after") is actually set to 3 minutes, not 5, in Screensaver Preferences, so this appears to be something else?

I don't have two screen lockers running, or xscreensaver installed.

If it helps: when I resume from suspend, I'm first presented with a login box with a black background (not my custom lightdm background specified in /etc/lightdm/lightdm-gtk-greeter.conf).  After a second or two, the screen turns blank, and I'm shown a login box again, this time with my custom background.  (About 1 in 5 times, the screen remains blank after the first login box; I can move the mouse, but otherwise the machine is unresponsive, and I'm forced to power reboot.)

I have pasted output below for commands requested in the other thread.  Any help would be much appreciated!

~ $ ps -ef | grep -E 'screen|lock'
root         6     2  0 16:03 ?        00:00:00 [kworker/0:0H-kblockd]
root        20     2  0 16:03 ?        00:00:00 [kworker/1:0H-kblockd]
root        26     2  0 16:03 ?        00:00:00 [kworker/2:0H-kblockd]
root        38     2  0 16:03 ?        00:00:00 [kworker/4:0H-kblockd]
root        50     2  0 16:03 ?        00:00:00 [kworker/6:0H-kblockd]
root        56     2  0 16:03 ?        00:00:00 [kworker/7:0H-kblockd]
root       162     2  0 16:03 ?        00:00:00 [kblockd]
root       553     2  0 16:03 ?        00:00:00 [kworker/4:1H-kblockd]
root       554     2  0 16:03 ?        00:00:00 [kworker/0:1H-kblockd]
root       556     2  0 16:03 ?        00:00:00 [kworker/2:1H-kblockd]
user    2603  2402  0 16:04 ?        00:00:00 xfce4-screensaver
user    2857  2849  0 16:05 pts/0    00:00:00 grep -E screen|lock
~ $ xfconf-query -c xfce4-power-manager -lv
/xfce4-power-manager/blank-on-ac                        15
/xfce4-power-manager/blank-on-battery                   10
/xfce4-power-manager/brightness-switch                  0
/xfce4-power-manager/brightness-switch-restore-on-exit  0
/xfce4-power-manager/dpms-enabled                       true
/xfce4-power-manager/dpms-on-ac-off                     60
/xfce4-power-manager/dpms-on-ac-sleep                   20
/xfce4-power-manager/dpms-on-battery-off                30
/xfce4-power-manager/dpms-on-battery-sleep              15
/xfce4-power-manager/general-notification               false
/xfce4-power-manager/inactivity-sleep-mode-on-ac        1
/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/lock-screen-suspend-hibernate      true
/xfce4-power-manager/logind-handle-lid-switch           false
/xfce4-power-manager/power-button-action                3
/xfce4-power-manager/show-panel-label                   0
/xfce4-power-manager/show-tray-icon                     false
~ $ xfce4-power-manager --no-daemon --debug

** (xfce4-power-manager:2889): WARNING **: 16:05:45.777: 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:2889): WARNING **: 16:05:45.777: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.xfce.PowerManager': no such name

TRACE[xfpm-main.c:210] xfpm_start(): Starting the power manager
TRACE[xfpm-xfconf.c:651] xfpm_xfconf_init(): lock screen TRUE
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for critical-power-level
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for show-brightness-popup
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for handle-brightness-keys
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for critical-power-action
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for hibernate-button-action
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for sleep-button-action
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for battery-button-action
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for brightness-level-on-ac
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for brightness-level-on-battery
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for brightness-slider-min-level
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for dpms-sleep-mode
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for inactivity-on-ac
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for inactivity-on-battery
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for brightness-on-ac
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for brightness-on-battery
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for network-manager-sleep
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for logind-handle-power-key
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for logind-handle-suspend-key
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for logind-handle-hibernate-key
TRACE[xfpm-xfconf.c:164] xfpm_xfconf_load(): Using default configuration for heartbeat-command
TRACE[xfpm-dpms.c:72] xfpm_dpms_set_timeouts(): Settings dpms: standby=1200 suspend=0 off=3600


(xfce4-power-manager:2889): GLib-GIO-CRITICAL **: 16:05:45.838: g_dbus_proxy_new_for_bus_sync: assertion 'g_variant_is_object_path (object_path)' failed

(xfce4-power-manager:2889): GLib-GObject-WARNING **: 16:05:45.842: ../../../gobject/gsignal.c:2529: signal 'Changed' is invalid for instance '0x55e879ad8150' of type 'GDBusProxy'
TRACE[xfpm-polkit.c:284] xfpm_polkit_init_data(): Using unix session polkit subject
TRACE[xfpm-polkit.c:342] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 2889>, 'start-time': <uint64 15045>}), 'org.freedesktop.login1.power-off', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:363] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.power-off is authorized=TRUE
TRACE[xfpm-polkit.c:342] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 2889>, 'start-time': <uint64 15045>}), 'org.freedesktop.login1.reboot', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:363] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.reboot is authorized=TRUE
TRACE[xfpm-polkit.c:342] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 2889>, 'start-time': <uint64 15045>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:363] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:342] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 2889>, 'start-time': <uint64 15045>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:363] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=FALSE
TRACE[xfpm-power.c:937] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/line_power_AC
TRACE[xfpm-power.c:895] xfpm_power_add_device(): 'line-power' device added
TRACE[xfpm-power.c:937] xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/battery_BAT0
TRACE[xfpm-power.c:895] xfpm_power_add_device(): 'battery' device added
TRACE[xfpm-power.c:904] xfpm_power_add_device(): Battery device type 'battery' detected at: /org/freedesktop/UPower/devices/battery_BAT0
TRACE[xfpm-button.c:182] xfpm_button_xevent_key(): Grabbed key 124 : ((XfpmButtonKey) BUTTON_POWER_OFF)

(xfce4-power-manager:2889): xfce4-power-manager-WARNING **: 16:05:46.008: could not map keysym 1008ffa8 to keycode

TRACE[xfpm-button.c:182] xfpm_button_xevent_key(): Grabbed key 213 : ((XfpmButtonKey) BUTTON_HIBERNATE)
TRACE[xfpm-button.c:182] xfpm_button_xevent_key(): Grabbed key 150 : ((XfpmButtonKey) BUTTON_SLEEP)
TRACE[xfpm-button.c:182] xfpm_button_xevent_key(): Grabbed key 233 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_UP)
TRACE[xfpm-button.c:182] xfpm_button_xevent_key(): Grabbed key 232 : ((XfpmButtonKey) BUTTON_MON_BRIGHTNESS_DOWN)
TRACE[xfpm-button.c:182] xfpm_button_xevent_key(): Grabbed key 244 : ((XfpmButtonKey) BUTTON_BATTERY)
TRACE[xfpm-button.c:182] xfpm_button_xevent_key(): Grabbed key 238 : ((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_UP)
TRACE[xfpm-button.c:182] xfpm_button_xevent_key(): Grabbed key 237 : ((XfpmButtonKey) BUTTON_KBD_BRIGHTNESS_DOWN)
TRACE[xfpm-dpms.c:72] xfpm_dpms_set_timeouts(): Settings dpms: standby=900 suspend=0 off=1800

TRACE[xfpm-dpms.c:343] xfpm_dpms_set_on_battery(): dpms on battery TRUE
TRACE[xfpm-power.c:1446] xfpm_update_blank_time(): Timeout: 10
TRACE[xfpm-power.c:210] xfpm_power_check_polkit_auth(): using logind suspend backend
TRACE[xfpm-polkit.c:342] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 2889>, 'start-time': <uint64 15045>}), 'org.freedesktop.login1.suspend', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:363] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.suspend is authorized=TRUE
TRACE[xfpm-polkit.c:342] xfpm_polkit_check_auth_intern(): polkit request: (('unix-process', {'pid': <uint32 2889>, 'start-time': <uint64 15045>}), 'org.freedesktop.login1.hibernate', @a{ss} {}, uint32 0, '')
TRACE[xfpm-polkit.c:363] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=FALSE
TRACE[xfpm-power.c:1446] xfpm_update_blank_time(): Timeout: 10
TRACE[xfpm-power.c:1446] xfpm_update_blank_time(): Timeout: 10
TRACE[xfpm-power.c:1446] xfpm_update_blank_time(): Timeout: 10
TRACE[xfpm-power.c:1446] xfpm_update_blank_time(): Timeout: 10
TRACE[xfpm-manager.c:647] xfpm_manager_inhibit_sleep_systemd(): Inhibiting systemd sleep: handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch

(xfce4-power-manager:2889): GLib-CRITICAL **: 16:05:46.033: g_error_free: assertion 'error != NULL' failed

(xfce4-power-manager:2889): xfce4-power-manager-WARNING **: 16:05:46.034: Unable to set the kernel brightness switch parameter to 0.
TRACE[xfpm-backlight.c:254] xfpm_backlight_brightness_on_ac_settings_changed(): Alarm on ac timeout changed 9
TRACE[xfpm-backlight.c:275] xfpm_backlight_brightness_on_battery_settings_changed(): Alarm on battery timeout changed 120
TRACE[xfpm-manager.c:442] xfpm_manager_lid_changed_cb(): LID close event: ((XfpmLidTriggerAction) LID_TRIGGER_SUSPEND)

(xfce4-power-manager:2889): xfce4-power-manager-WARNING **: 16:06:03.421: Screensaver lock command not set when attempting to lock the screen.
Please set the xfconf property /general/LockCommand in xfce4-session to the desired lock command
TRACE[xfpm-manager.c:475] xfpm_manager_lid_changed_cb(): LID opened: ((XfpmLidTriggerAction) LID_TRIGGER_SUSPEND)
TRACE[xfpm-dpms.c:279] xfpm_dpms_force_level(): start
TRACE[xfpm-dpms.c:311] xfpm_dpms_force_level(): No need to change DPMS mode, current_level=0 requested_level=0
TRACE[xfpm-polkit.c:241] xfpm_polkit_free_data(): Destroying Polkit data

* edited title

Last edited by BobTheZealot (2019-12-29 18:09:09)

Offline

#2 2020-01-12 15:36:22

alcornoqui
Member
Registered: 2014-07-28
Posts: 832

Re: Screen always locks 5 minutes after resume from suspend

Does the problem persist?

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.009 seconds, 10 queries executed - Memory usage: 576.34 KiB (Peak: 616.89 KiB) ]