Control: tags -1 sid confirmed Control: found -1 1.8.0-3 On Thu, 26 Apr 2018 00:28:07 +0100 sungazer <nomadicliz...@gmail.com> wrote: > I am the only user of my system, so set allow-user-switching=false in > /etc/lightdm/lightdm.conf expecting it to cause light locker to no longer ask > for a login/password combination when unlocking the screen, but instead to > only allow entry of my password. > > Instead, the screen remains blank and unresponsive (e.g. wiggling mouse, > typing etc causes no change) and there is no way to unlock my session again. > > Setting allow-user-switching=true fixes the problem, allowing entry of > login/password to unlock my screen.
If you're the sole user, you don't have to change 'allow-user-switching'. You can achieve what you want without touching this key. This is true for light-locker 1.8.0-3 and lightdm 1.26.0-8. With that said, I suspect the problem might be with lightdm and not light-locker. The output of light-locker in debug mode is attached. Manually calling SetActive() and SimulateUserActivity() methods with `dbus-send` has no effect (similar log messages are output).
[gs_debug_init] gs-debug.c:106 (16:13:52): Debugging enabled [main] light-locker.c:142 (16:13:52): initializing light-locker 1.8.0 [main] light-locker.c:164 (16:13:52): Platform: gtk: 3 systemd: yes ConsoleKit: no UPower: yes [main] light-locker.c:196 (16:13:52): Features: lock-after-screensaver: yes late-locking: yes lock-on-suspend: yes lock-on-lid: yes settings backend: GSETTINGS [main] light-locker.c:198 (16:13:52): lock after screensaver 5 [main] light-locker.c:199 (16:13:52): late locking 0 [main] light-locker.c:200 (16:13:52): lock on suspend 0 [main] light-locker.c:201 (16:13:52): lock on lid 0 [main] light-locker.c:202 (16:13:52): idle hint 0 [init_session_id] gs-listener-dbus.c:2196 (16:13:52): Got session-id: /org/freedesktop/login1/session/_31 [init_session_id] gs-listener-dbus.c:2206 (16:13:52): Got sd-session-id: 1 [init_seat_path] gs-listener-dbus.c:2287 (16:13:52): Got seat: /org/freedesktop/DisplayManager/Seat0 [gs_listener_x11_acquire] gs-listener-x11.c:172 (16:13:52): ScreenSaver Registered [listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (16:13:52): obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameAcquired destination=:1.44 [listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (16:13:57): obj_path=/org/freedesktop/login1/session/_31 interface=org.freedesktop.DBus.Properties method=PropertiesChanged destination=(null) [listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (16:13:57): obj_path=/org/freedesktop/login1/session/_33 interface=org.freedesktop.DBus.Properties method=PropertiesChanged destination=(null) [listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (16:13:57): 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:1374 (16:13:57): systemd notified ActiveSession 0 [listener_session_switched_cb] gs-monitor.c:298 (16:13:57): Session switched: 0 [listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (16:14:10): obj_path=/org/freedesktop/login1/session/_33 interface=org.freedesktop.DBus.Properties method=PropertiesChanged destination=(null) [xroot_filter] gs-listener-x11.c:124 (16:14:10): ScreenSaver stopped [listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (16:14:10): obj_path=/org/freedesktop/login1/session/_31 interface=org.freedesktop.DBus.Properties method=PropertiesChanged destination=(null) [listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (16:14:10): 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:1374 (16:14:10): systemd notified ActiveSession 1 [listener_session_switched_cb] gs-monitor.c:298 (16:14:10): Session switched: 1 [listener_dbus_handle_session_message] gs-listener-dbus.c:1010 (16:14:13): Received Lock request [gs_grab_grab_root] gs-grab-x11.c:647 (16:14:13): Grabbing the root window [gs_grab_get_keyboard] gs-grab-x11.c:153 (16:14:13): Grabbing keyboard widget=531 [gs_grab_get_mouse] gs-grab-x11.c:213 (16:14:13): Grabbing mouse widget=531 [gs_manager_create_windows_for_screen] gs-manager.c:548 (16:14:13): Creating 1 windows for screen 0 [gs_manager_create_window_for_monitor] gs-manager.c:324 (16:14:13): Creating window for monitor 0 [0,0] (1366x768) [update_geometry] gs-window-x11.c:197 (16:14:13): got geometry for monitor 0: x=0 y=0 w=1366 h=768 [update_geometry] gs-window-x11.c:210 (16:14:13): using geometry for monitor 0: x=0 y=0 w=1366 h=768 [update_geometry] gs-window-x11.c:197 (16:14:13): got geometry for monitor 0: x=0 y=0 w=1366 h=768 [update_geometry] gs-window-x11.c:210 (16:14:13): using geometry for monitor 0: x=0 y=0 w=1366 h=768 [gs_window_move_resize_window] gs-window-x11.c:243 (16:14:13): Move and/or resize window on monitor 0: x=0 y=0 w=1366 h=768 [update_geometry] gs-window-x11.c:197 (16:14:13): got geometry for monitor 0: x=0 y=0 w=1366 h=768 [update_geometry] gs-window-x11.c:210 (16:14:13): using geometry for monitor 0: x=0 y=0 w=1366 h=768 [gs_window_move_resize_window] gs-window-x11.c:243 (16:14:13): Move and/or resize window on monitor 0: x=0 y=0 w=1366 h=768 [update_geometry] gs-window-x11.c:197 (16:14:13): got geometry for monitor 0: x=0 y=0 w=1366 h=768 [update_geometry] gs-window-x11.c:210 (16:14:13): using geometry for monitor 0: x=0 y=0 w=1366 h=768 [gs_window_move_resize_window] gs-window-x11.c:243 (16:14:13): Move and/or resize window on monitor 0: x=0 y=0 w=1366 h=768 [gs_manager_timed_switch] gs-manager.c:445 (16:14:13): Start switch to greeter timer [gs_window_xevent] gs-window-x11.c:369 (16:14:13): not raising our windows [window_map_event_cb] gs-manager.c:233 (16:14:13): Handling window map_event event [gs_listener_resume_suspend] gs-listener-dbus.c:513 (16:14:13): Resume suspend: fd=-1 [manager_maybe_grab_window] gs-manager.c:204 (16:14:13): Moving grab to 0x56264990e4e0 [gs_grab_move_keyboard] gs-grab-x11.c:450 (16:14:13): Moving keyboard grab from 531 to 360000C [gs_grab_move_keyboard] gs-grab-x11.c:457 (16:14:13): *** doing X server grab [gs_grab_release_keyboard] gs-grab-x11.c:279 (16:14:13): Ungrabbing keyboard [gs_grab_get_keyboard] gs-grab-x11.c:153 (16:14:13): Grabbing keyboard widget=360000C [gs_grab_move_keyboard] gs-grab-x11.c:479 (16:14:13): *** releasing X server grab [gs_grab_move_mouse] gs-grab-x11.c:395 (16:14:13): Moving pointer grab from 531 to 360000C [gs_grab_move_mouse] gs-grab-x11.c:402 (16:14:13): *** doing X server grab [gs_grab_release_mouse] gs-grab-x11.c:320 (16:14:13): Ungrabbing pointer [gs_grab_get_mouse] gs-grab-x11.c:213 (16:14:13): Grabbing mouse widget=360000C [gs_grab_move_mouse] gs-grab-x11.c:425 (16:14:13): *** releasing X server grab [update_geometry] gs-window-x11.c:197 (16:14:13): got geometry for monitor 0: x=0 y=0 w=1366 h=768 [update_geometry] gs-window-x11.c:210 (16:14:13): using geometry for monitor 0: x=0 y=0 w=1366 h=768 [gs_window_move_resize_window] gs-window-x11.c:243 (16:14:13): Move and/or resize window on monitor 0: x=0 y=0 w=1366 h=768 [update_geometry] gs-window-x11.c:197 (16:14:13): got geometry for monitor 0: x=0 y=0 w=1366 h=768 [update_geometry] gs-window-x11.c:210 (16:14:13): using geometry for monitor 0: x=0 y=0 w=1366 h=768 [gs_window_move_resize_window] gs-window-x11.c:243 (16:14:13): Move and/or resize window on monitor 0: x=0 y=0 w=1366 h=768 [gs_listener_send_lock_session] gs-listener-dbus.c:180 (16:14:14): Send lock session [listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (16:14:14): obj_path=(null) interface=(null) method=(null) destination=:1.44 [listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (16:14:14): obj_path=/org/freedesktop/login1/session/_31 interface=org.freedesktop.DBus.Properties method=PropertiesChanged destination=(null) [listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (16:14:14): obj_path=/org/freedesktop/login1/session/_33 interface=org.freedesktop.DBus.Properties method=PropertiesChanged destination=(null) [listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (16:14:14): 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:1374 (16:14:14): systemd notified ActiveSession 0 [listener_session_switched_cb] gs-monitor.c:298 (16:14:14): Session switched: 0 [gs_manager_stop_switch] gs-manager.c:456 (16:14:14): Stop switch to greeter timer [listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (16:14:20): obj_path=/org/freedesktop/login1/session/_33 interface=org.freedesktop.DBus.Properties method=PropertiesChanged destination=(null) [xroot_filter] gs-listener-x11.c:124 (16:14:20): ScreenSaver stopped [listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (16:14:20): obj_path=/org/freedesktop/login1/session/_31 interface=org.freedesktop.DBus.Properties method=PropertiesChanged destination=(null) [listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (16:14:20): 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:1374 (16:14:20): systemd notified ActiveSession 1 [listener_session_switched_cb] gs-monitor.c:298 (16:14:20): Session switched: 1 [gs_manager_timed_switch] gs-manager.c:445 (16:14:20): Start switch to greeter timer [listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (16:14:22): obj_path=/org/freedesktop/login1/session/_31 interface=org.freedesktop.DBus.Properties method=PropertiesChanged destination=(null) [listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (16:14:22): obj_path=/org/freedesktop/login1/session/_33 interface=org.freedesktop.DBus.Properties method=PropertiesChanged destination=(null) [listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (16:14:22): 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:1374 (16:14:22): systemd notified ActiveSession 0 [listener_session_switched_cb] gs-monitor.c:298 (16:14:22): Session switched: 0 [gs_manager_stop_switch] gs-manager.c:456 (16:14:22): Stop switch to greeter timer