A bit more information. It doesn't really have anything to do with suspend. If I run "light-locker-command -l" it does the same thing. I am able to ssh in to the laptop with no difficulty after locking it, but none of the other commands have any effect, and if I kill light-locker it does not help. I can restart lightdm from ssh, but that doesn't help me a great deal.
I think I may have some good information from a test I ran though. I killed light-locker remotely and then restarted it in debug mode, then locked it with the command on the laptop. The result was a whole lot of dbus error messages. I found references to similar error messages resulting from nvidia drivers of a similar age. I understand your unwillingness to support a proprietary driver which is buggy anyway, but if this helps you improve the program, that is great. If you want me to try something, I am willing. [gs_listener_send_lock_session] gs-listener-dbus.c:180 (17:52:47): Send lock session process 3422: 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:52:47): Couldn't allocate the dbus message [switch_greeter_timeout] gs-manager.c:430 (17:52:56): Switch to greeter timeout [gs_listener_send_switch_greeter] gs-listener-dbus.c:139 (17:52:56): Send switch greeter process 3422: 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:52:56): Couldn't allocate the dbus message [listener_dbus_handle_system_message] gs-listener-dbus.c:1330 (17:52:58): obj_path=/org/freedesktop/UPower/devices/battery_C1FD interface=org.freedesktop.DBus.Properties method=PropertiesChanged destination=(null) [listener_dbus_handle_system_message] gs-listener-dbus.c:1330 (17:54:58): obj_path=/org/freedesktop/UPower/devices/battery_C1FD interface=org.freedesktop.DBus.Properties method=PropertiesChanged destination=(null) [gs_window_raise] gs-window-x11.c:328 (17:56:48): Raising screensaver window On Fri, Aug 26, 2016 at 11:35 AM, Yves-Alexis Perez <cor...@debian.org> wrote: > Please keep the bug on CC. > > On ven., 2016-08-26 at 09:59 -0700, Michael Westwind wrote: > > I assume you mean with the nvidia drivers functioning. I close the lid > and > > it suspends normally, so far as I can tell. I lift the lid and press the > > power button and it seems to resume, but I get a black screen. Sometimes > > if I mash enough keys, it will give me a screen saying the session is > > locked and that I will get an unlock screen shortly (which never happens) > > but that is rare. If I do a Ctrl-Alt-F1, there is a flash of the console > > and then a black screen with a flashing cursor in the upper left. If I > do > > Ctrl-Alt-F1 again, I get that same flash of console text. I can do this > > repeatedly. If I then press Ctrl-Alt_Del, it shuts down and reboots. > And > > yes, I am using lightdm. > > I guess it'd help to have some logs (dmesg, Xorg.0.log and stuff from > /var/log/lightdm). I guess nvidia drivers don't like the vt switch but > honestly I won't investigate too much. I don't have an NVidia card and I > don't > really support non-free drivers. > > Regards. > -- > Yves-Alexis -- ... Had this been an actual emergency, we would have fled in terror, and you would not have been informed.
earthworm@dust:~$ DISPLAY=":0" light-locker --debug [gs_debug_init] gs-debug.c:106 (17:51:48): Debugging enabled [main] light-locker.c:142 (17:51:48): initializing light-locker 1.7.0 [main] light-locker.c:144 (17:51:48): lock after screensaver 5 [main] light-locker.c:145 (17:51:48): late locking 0 [main] light-locker.c:146 (17:51:48): lock on suspend 0 [main] light-locker.c:147 (17:51:48): lock on lid 0 [main] light-locker.c:148 (17:51:48): idle hint 0 [init_session_id] gs-listener-dbus.c:2180 (17:51:48): Got session-id: /org/freedesktop/login1/session/_36 [init_session_id] gs-listener-dbus.c:2185 (17:51:48): Got sd-session-id: 6 process 3422: 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. [query_seat_path] gs-listener-dbus.c:2212 (17:51:48): Couldn't allocate the dbus message [init_seat_path] gs-listener-dbus.c:2262 (17:51:48): Got seat: (null) [gs_listener_x11_acquire] gs-listener-x11.c:172 (17:51:48): ScreenSaver Registered [listener_dbus_handle_system_message] gs-listener-dbus.c:1330 (17:51:48): obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameAcquired destination=:1.55 [gs_grab_grab_root] gs-grab-x11.c:647 (17:52:46): Grabbing the root window [gs_grab_get_keyboard] gs-grab-x11.c:153 (17:52:46): Grabbing keyboard widget=253 [gs_grab_get_mouse] gs-grab-x11.c:213 (17:52:46): Grabbing mouse widget=253 [gs_manager_create_windows_for_screen] gs-manager.c:548 (17:52:46): Creating 1 windows for screen 0 [gs_manager_create_window_for_monitor] gs-manager.c:324 (17:52:46): Creating window for monitor 0 [0,0] (1680x1050) [update_geometry] gs-window-x11.c:197 (17:52:46): got geometry for monitor 0: x=0 y=0 w=1680 h=1050 [update_geometry] gs-window-x11.c:210 (17:52:46): using geometry for monitor 0: x=0 y=0 w=1680 h=1050 [update_geometry] gs-window-x11.c:197 (17:52:46): got geometry for monitor 0: x=0 y=0 w=1680 h=1050 [update_geometry] gs-window-x11.c:210 (17:52:46): using geometry for monitor 0: x=0 y=0 w=1680 h=1050 [gs_window_move_resize_window] gs-window-x11.c:243 (17:52:46): Move and/or resize window on monitor 0: x=0 y=0 w=1680 h=1050 [update_geometry] gs-window-x11.c:197 (17:52:46): got geometry for monitor 0: x=0 y=0 w=1680 h=1050 [update_geometry] gs-window-x11.c:210 (17:52:46): using geometry for monitor 0: x=0 y=0 w=1680 h=1050 [gs_window_move_resize_window] gs-window-x11.c:243 (17:52:46): Move and/or resize window on monitor 0: x=0 y=0 w=1680 h=1050 [update_geometry] gs-window-x11.c:197 (17:52:46): got geometry for monitor 0: x=0 y=0 w=1680 h=1050 [update_geometry] gs-window-x11.c:210 (17:52:46): using geometry for monitor 0: x=0 y=0 w=1680 h=1050 [gs_window_move_resize_window] gs-window-x11.c:243 (17:52:46): Move and/or resize window on monitor 0: x=0 y=0 w=1680 h=1050 [gs_manager_timed_switch] gs-manager.c:445 (17:52:46): Start switch to greeter timer [gs_window_xevent] gs-window-x11.c:369 (17:52:46): not raising our windows [window_map_event_cb] gs-manager.c:233 (17:52:46): Handling window map_event event [gs_listener_resume_suspend] gs-listener-dbus.c:513 (17:52:46): Resume suspend: fd=-1 [manager_maybe_grab_window] gs-manager.c:204 (17:52:46): Moving grab to 0x561c3f272320 [gs_grab_move_keyboard] gs-grab-x11.c:450 (17:52:46): Moving keyboard grab from 253 to 220000C [gs_grab_move_keyboard] gs-grab-x11.c:457 (17:52:46): *** doing X server grab [gs_grab_release_keyboard] gs-grab-x11.c:279 (17:52:46): Ungrabbing keyboard [gs_grab_get_keyboard] gs-grab-x11.c:153 (17:52:46): Grabbing keyboard widget=220000C [gs_grab_move_keyboard] gs-grab-x11.c:479 (17:52:46): *** releasing X server grab [gs_grab_move_mouse] gs-grab-x11.c:395 (17:52:46): Moving pointer grab from 253 to 220000C [gs_grab_move_mouse] gs-grab-x11.c:402 (17:52:46): *** doing X server grab [gs_grab_release_mouse] gs-grab-x11.c:320 (17:52:46): Ungrabbing pointer [gs_grab_get_mouse] gs-grab-x11.c:213 (17:52:46): Grabbing mouse widget=220000C [gs_grab_move_mouse] gs-grab-x11.c:425 (17:52:46): *** releasing X server grab [update_geometry] gs-window-x11.c:197 (17:52:46): got geometry for monitor 0: x=0 y=0 w=1680 h=1050 [update_geometry] gs-window-x11.c:210 (17:52:46): using geometry for monitor 0: x=0 y=0 w=1680 h=1050 [gs_window_move_resize_window] gs-window-x11.c:243 (17:52:46): Move and/or resize window on monitor 0: x=0 y=0 w=1680 h=1050 [update_geometry] gs-window-x11.c:197 (17:52:46): got geometry for monitor 0: x=0 y=0 w=1680 h=1050 [update_geometry] gs-window-x11.c:210 (17:52:46): using geometry for monitor 0: x=0 y=0 w=1680 h=1050 [gs_window_move_resize_window] gs-window-x11.c:243 (17:52:46): Move and/or resize window on monitor 0: x=0 y=0 w=1680 h=1050 [gs_listener_send_lock_session] gs-listener-dbus.c:180 (17:52:47): Send lock session process 3422: 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:52:47): Couldn't allocate the dbus message [switch_greeter_timeout] gs-manager.c:430 (17:52:56): Switch to greeter timeout [gs_listener_send_switch_greeter] gs-listener-dbus.c:139 (17:52:56): Send switch greeter process 3422: 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:52:56): Couldn't allocate the dbus message [listener_dbus_handle_system_message] gs-listener-dbus.c:1330 (17:52:58): obj_path=/org/freedesktop/UPower/devices/battery_C1FD interface=org.freedesktop.DBus.Properties method=PropertiesChanged destination=(null) [listener_dbus_handle_system_message] gs-listener-dbus.c:1330 (17:54:58): obj_path=/org/freedesktop/UPower/devices/battery_C1FD interface=org.freedesktop.DBus.Properties method=PropertiesChanged destination=(null) [gs_window_raise] gs-window-x11.c:328 (17:56:48): Raising screensaver window [gs_window_xevent] gs-window-x11.c:381 (17:56:48): not raising our windows [gs_window_xevent] gs-window-x11.c:381 (17:56:48): not raising our windows [gs_window_raise] gs-window-x11.c:328 (17:56:48): Raising screensaver window [gs_window_xevent] gs-window-x11.c:381 (17:56:48): not raising our windows [gs_window_xevent] gs-window-x11.c:381 (17:56:48): not raising our windows [gs_window_raise] gs-window-x11.c:328 (17:56:48): Raising screensaver window [gs_window_raise] gs-window-x11.c:328 (17:56:48): Raising screensaver window [gs_window_raise] gs-window-x11.c:328 (17:56:48): Raising screensaver window [gs_window_raise] gs-window-x11.c:328 (17:56:48): Raising screensaver window [listener_dbus_handle_system_message] gs-listener-dbus.c:1330 (17:56:58): obj_path=/org/freedesktop/UPower/devices/battery_C1FD interface=org.freedesktop.DBus.Properties method=PropertiesChanged destination=(null)