Hi Gert,

I might have the same problem. Can you switch to another terminal with ctrl +
alt + F2? If yes, try logging in with your standard user and checking if
light-locker is running. Kill it with 'killall light-locker', then switch back
to your X with ctrl + alt + F1. If that works, there's a bug in light-locker.

Yves-Alexis, current X in testing/sid run rootless, the logs are not written
to /var/log/Xorg.0.log anymore. You can find them by running 'journalctl -u
session-1.scope', if the X session is your first. Otherwise check for other
sessions via 'systemctl'.

For me, I have the exact same symptoms (unresponsive X after resume), which
was triggered by the following change in xfce-session:

xfce4-session (4.12.1-4)
- replace recommendation on xscreensaver by light-locker

I usually use xscreensaver, and this pulled in light-locker. Looking into my
xfce4 "session & startup", I can see that *both* xscreensaver and light-locker
were started at the same time. This can be seen in session-1 logs:

Jun 21 16:19:59 saito /usr/lib/gdm3/gdm-x-session[1569]: xscreensaver:
16:19:59: couldn't grab pointer!  (AlreadyGrabbed)
Jun 21 16:19:59 saito /usr/lib/gdm3/gdm-x-session[1569]: xscreensaver:
16:19:59: unable to grab keyboard or mouse!  Blanking aborted.

Running 'killall light-locker' solved the symptom for me. Attached you will
find the logs of 'light-locker --debug', from resuming to killing it. I'm no
expert with DBUS, so I'm out of depth debugging this, but it looks like the
problem is somewhere there.

Regards,
Lee
[listener_dbus_handle_system_message] gs-listener-dbus.c:1330 (17:14:15):	 obj_path=/org/freedesktop/login1 interface=org.freedesktop.login1.Manager method=PrepareForSleep destination=(null)
[listener_dbus_handle_system_message] gs-listener-dbus.c:1387 (17:14:15):	 systemd initiating sleep
[gs_grab_grab_root] gs-grab-x11.c:647 (17:14:15):	 Grabbing the root window
[gs_grab_get_keyboard] gs-grab-x11.c:153 (17:14:15):	 Grabbing keyboard widget=DA
[gs_grab_get_mouse] gs-grab-x11.c:213 (17:14:15):	 Grabbing mouse widget=DA
[gs_manager_create_windows_for_screen] gs-manager.c:548 (17:14:15):	 Creating 2 windows for screen 0
[gs_manager_create_window_for_monitor] gs-manager.c:324 (17:14:15):	 Creating window for monitor 0 [0,672] (1366x768)
[gs_manager_create_window_for_monitor] gs-manager.c:324 (17:14:15):	 Creating window for monitor 1 [1366,0] (2560x1440)
[update_geometry] gs-window-x11.c:197 (17:14:15):	 got geometry for monitor 0: x=0 y=672 w=1366 h=768
[update_geometry] gs-window-x11.c:210 (17:14:15):	 using geometry for monitor 0: x=0 y=672 w=1366 h=768
[update_geometry] gs-window-x11.c:197 (17:14:15):	 got geometry for monitor 0: x=0 y=672 w=1366 h=768
[update_geometry] gs-window-x11.c:210 (17:14:15):	 using geometry for monitor 0: x=0 y=672 w=1366 h=768
[gs_window_move_resize_window] gs-window-x11.c:243 (17:14:15):	 Move and/or resize window on monitor 0: x=0 y=672 w=1366 h=768
[update_geometry] gs-window-x11.c:197 (17:14:15):	 got geometry for monitor 0: x=0 y=672 w=1366 h=768
[update_geometry] gs-window-x11.c:210 (17:14:15):	 using geometry for monitor 0: x=0 y=672 w=1366 h=768
[gs_window_move_resize_window] gs-window-x11.c:243 (17:14:15):	 Move and/or resize window on monitor 0: x=0 y=672 w=1366 h=768
[update_geometry] gs-window-x11.c:197 (17:14:15):	 got geometry for monitor 0: x=0 y=672 w=1366 h=768
[update_geometry] gs-window-x11.c:210 (17:14:15):	 using geometry for monitor 0: x=0 y=672 w=1366 h=768
[gs_window_move_resize_window] gs-window-x11.c:243 (17:14:15):	 Move and/or resize window on monitor 0: x=0 y=672 w=1366 h=768
[update_geometry] gs-window-x11.c:197 (17:14:15):	 got geometry for monitor 1: x=1366 y=0 w=2560 h=1440
[update_geometry] gs-window-x11.c:210 (17:14:15):	 using geometry for monitor 1: x=1366 y=0 w=2560 h=1440
[update_geometry] gs-window-x11.c:197 (17:14:15):	 got geometry for monitor 1: x=1366 y=0 w=2560 h=1440
[update_geometry] gs-window-x11.c:210 (17:14:15):	 using geometry for monitor 1: x=1366 y=0 w=2560 h=1440
[gs_window_move_resize_window] gs-window-x11.c:243 (17:14:15):	 Move and/or resize window on monitor 1: x=1366 y=0 w=2560 h=1440
[update_geometry] gs-window-x11.c:197 (17:14:15):	 got geometry for monitor 1: x=1366 y=0 w=2560 h=1440
[update_geometry] gs-window-x11.c:210 (17:14:15):	 using geometry for monitor 1: x=1366 y=0 w=2560 h=1440
[gs_window_move_resize_window] gs-window-x11.c:243 (17:14:15):	 Move and/or resize window on monitor 1: x=1366 y=0 w=2560 h=1440
[update_geometry] gs-window-x11.c:197 (17:14:15):	 got geometry for monitor 1: x=1366 y=0 w=2560 h=1440
[update_geometry] gs-window-x11.c:210 (17:14:15):	 using geometry for monitor 1: x=1366 y=0 w=2560 h=1440
[gs_window_move_resize_window] gs-window-x11.c:243 (17:14:15):	 Move and/or resize window on monitor 1: x=1366 y=0 w=2560 h=1440
[gs_manager_timed_switch] gs-manager.c:445 (17:14:15):	 Start switch to greeter timer
[gs_window_xevent] gs-window-x11.c:381 (17:14:15):	 not raising our windows
[gs_window_xevent] gs-window-x11.c:381 (17:14:15):	 not raising our windows
[gs_window_xevent] gs-window-x11.c:369 (17:14:15):	 not raising our windows
[gs_window_xevent] gs-window-x11.c:369 (17:14:15):	 not raising our windows
[window_map_event_cb] gs-manager.c:233 (17:14:15):	 Handling window map_event event
[gs_listener_resume_suspend] gs-listener-dbus.c:513 (17:14:15):	 Resume suspend: fd=14
[manager_maybe_grab_window] gs-manager.c:204 (17:14:15):	 Moving grab to 0x55cbdb81e310
[gs_grab_move_keyboard] gs-grab-x11.c:450 (17:14:15):	 Moving keyboard grab from DA to 1A0000C
[gs_grab_move_keyboard] gs-grab-x11.c:457 (17:14:15):	 *** doing X server grab
[gs_grab_release_keyboard] gs-grab-x11.c:279 (17:14:15):	 Ungrabbing keyboard
[gs_grab_get_keyboard] gs-grab-x11.c:153 (17:14:15):	 Grabbing keyboard widget=1A0000C
[gs_grab_move_keyboard] gs-grab-x11.c:479 (17:14:15):	 *** releasing X server grab
[gs_grab_move_mouse] gs-grab-x11.c:395 (17:14:15):	 Moving pointer grab from DA to 1A0000C
[gs_grab_move_mouse] gs-grab-x11.c:402 (17:14:15):	 *** doing X server grab
[gs_grab_release_mouse] gs-grab-x11.c:320 (17:14:15):	 Ungrabbing pointer
[gs_grab_get_mouse] gs-grab-x11.c:213 (17:14:15):	 Grabbing mouse widget=1A0000C
[gs_grab_move_mouse] gs-grab-x11.c:425 (17:14:15):	 *** releasing X server grab
[listener_dbus_handle_system_message] gs-listener-dbus.c:1330 (17:14:15):	 obj_path=/org/freedesktop/login1 interface=org.freedesktop.DBus.Properties method=PropertiesChanged destination=(null)
[gs_window_xevent] gs-window-x11.c:381 (17:14:15):	 not raising our windows
[gs_window_xevent] gs-window-x11.c:381 (17:14:15):	 not raising our windows
[gs_window_xevent] gs-window-x11.c:381 (17:14:15):	 not raising our windows
[gs_window_xevent] gs-window-x11.c:381 (17:14:15):	 not raising our windows
[gs_window_xevent] gs-window-x11.c:369 (17:14:15):	 not raising our windows
[gs_window_xevent] gs-window-x11.c:369 (17:14:15):	 not raising our windows
[window_map_event_cb] gs-manager.c:233 (17:14:15):	 Handling window map_event event
[gs_listener_resume_suspend] gs-listener-dbus.c:513 (17:14:15):	 Resume suspend: fd=-1
[gs_window_xevent] gs-window-x11.c:369 (17:14:15):	 not raising our windows
[gs_window_xevent] gs-window-x11.c:369 (17:14:15):	 not raising our windows
[window_map_event_cb] gs-manager.c:233 (17:14:15):	 Handling window map_event event
[gs_listener_resume_suspend] gs-listener-dbus.c:513 (17:14:15):	 Resume suspend: fd=-1
[update_geometry] gs-window-x11.c:197 (17:14:15):	 got geometry for monitor 0: x=0 y=672 w=1366 h=768
[update_geometry] gs-window-x11.c:210 (17:14:15):	 using geometry for monitor 0: x=0 y=672 w=1366 h=768
[gs_window_move_resize_window] gs-window-x11.c:243 (17:14:15):	 Move and/or resize window on monitor 0: x=0 y=672 w=1366 h=768
[update_geometry] gs-window-x11.c:197 (17:14:15):	 got geometry for monitor 0: x=0 y=672 w=1366 h=768
[update_geometry] gs-window-x11.c:210 (17:14:15):	 using geometry for monitor 0: x=0 y=672 w=1366 h=768
[gs_window_move_resize_window] gs-window-x11.c:243 (17:14:15):	 Move and/or resize window on monitor 0: x=0 y=672 w=1366 h=768
[update_geometry] gs-window-x11.c:197 (17:14:15):	 got geometry for monitor 1: x=1366 y=0 w=2560 h=1440
[update_geometry] gs-window-x11.c:210 (17:14:15):	 using geometry for monitor 1: x=1366 y=0 w=2560 h=1440
[gs_window_move_resize_window] gs-window-x11.c:243 (17:14:15):	 Move and/or resize window on monitor 1: x=1366 y=0 w=2560 h=1440
[update_geometry] gs-window-x11.c:197 (17:14:15):	 got geometry for monitor 1: x=1366 y=0 w=2560 h=1440
[update_geometry] gs-window-x11.c:210 (17:14:15):	 using geometry for monitor 1: x=1366 y=0 w=2560 h=1440
[gs_window_move_resize_window] gs-window-x11.c:243 (17:14:15):	 Move and/or resize window on monitor 1: x=1366 y=0 w=2560 h=1440
[listener_dbus_handle_system_message] gs-listener-dbus.c:1330 (17:14:15):	 obj_path=/org/freedesktop/login1 interface=org.freedesktop.DBus.Properties method=PropertiesChanged destination=(null)
[gs_listener_send_lock_session] gs-listener-dbus.c:180 (17:14:22):	 Send lock session
process 5237: arguments to dbus_message_new_method_call() were incorrect, assertion "path != NULL" failed in file ../../dbus/dbus-message.c line 1363.
This is normally a bug in some application using the D-Bus library.
[gs_listener_send_lock_session] gs-listener-dbus.c:202 (17:14:22):	 Couldn't allocate the dbus message
[listener_dbus_handle_system_message] gs-listener-dbus.c:1330 (17:14:22):	 obj_path=/org/freedesktop/login1 interface=org.freedesktop.login1.Manager method=PrepareForSleep destination=(null)
[listener_dbus_handle_system_message] gs-listener-dbus.c:1387 (17:14:22):	 systemd initiating resume
[listener_dbus_handle_system_message] gs-listener-dbus.c:1330 (17:14:22):	 obj_path=/org/freedesktop/login1 interface=org.freedesktop.DBus.Properties method=PropertiesChanged destination=(null)
[gs_listener_send_switch_greeter] gs-listener-dbus.c:139 (17:14:23):	 Send switch greeter
process 5237: arguments to dbus_message_new_method_call() were incorrect, assertion "path != NULL" failed in file ../../dbus/dbus-message.c line 1363.
This is normally a bug in some application using the D-Bus library.
[gs_listener_send_switch_greeter] gs-listener-dbus.c:161 (17:14:23):	 Couldn't allocate the dbus message
[switch_greeter_timeout] gs-manager.c:430 (17:14:30):	 Switch to greeter timeout
[gs_listener_send_switch_greeter] gs-listener-dbus.c:139 (17:14:30):	 Send switch greeter
process 5237: arguments to dbus_message_new_method_call() were incorrect, assertion "path != NULL" failed in file ../../dbus/dbus-message.c line 1363.
This is normally a bug in some application using the D-Bus library.
[gs_listener_send_switch_greeter] gs-listener-dbus.c:161 (17:14:30):	 Couldn't allocate the dbus message
[listener_dbus_handle_system_message] gs-listener-dbus.c:1330 (17:14:30):	 obj_path=/org/freedesktop/login1/session/_315 interface=org.freedesktop.DBus.Properties method=PropertiesChanged destination=(null)
[listener_dbus_handle_system_message] gs-listener-dbus.c:1330 (17:14:30):	 obj_path=/org/freedesktop/login1/seat/seat0 interface=org.freedesktop.DBus.Properties method=PropertiesChanged destination=(null)
[listener_dbus_handle_system_message] gs-listener-dbus.c:1361 (17:14:30):	 systemd notified ActiveSession 0
[listener_session_switched_cb] gs-monitor.c:298 (17:14:30):	 Session switched: 0
Terminated

Reply via email to