After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 527443 - Unlock dialog fails to appear
Unlock dialog fails to appear
Status: RESOLVED INVALID
Product: gnome-screensaver
Classification: Deprecated
Component: general
2.22.x
Other Linux
: Normal major
: ---
Assigned To: gnome-screensaver maintainers
gnome-screensaver maintainers
Depends on:
Blocks:
 
 
Reported: 2008-04-10 22:26 UTC by Sven Arvidsson
Modified: 2008-11-14 19:18 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Sven Arvidsson 2008-04-10 22:26:08 UTC
[ From http://bugs.debian.org/457777 ]

Two Debian users have reported bugs about the gnome-screensaver unlock dialog not appearing when the screensaver is canceled:

"After the screen is (auto-)locked, i press the shift key to login again.
But sometimes the login screen is not appearing. However, the keystroke
is recognized: The screensaver artworks freezes; but no dialog is 
appearing"

and

"I also encounter this bug. It is a freshly installed sid system and each
time (three all in all), the dialog to enter the password is not
displayed. I can see the mouse cursor only when moving the mouse, when I
stop moving the mouse it vanishes"

Compiz isn't used, and the pam setup should be the default one in Debian (which works well).

Below is a debug log from gnome-screensaver when this happens, but I suspect it's not enough, is a backtrace needed as well?

$ gnome-screensaver --no-daemon --debug
[gs_debug_init] gs-debug.c:106 (15:19:23):       Debugging enabled
[main] gnome-screensaver.c:87 (15:19:23):        initializing gnome-screensaver 2.22.0
[query_session_id] gs-listener-dbus.c:2033 (15:19:23):   org.freedesktop.DBus.Error.ServiceUnknown raised:
 The name org.freedesktop.ConsoleKit was not provided by any .service files


 [init_session_id] gs-listener-dbus.c:2051 (15:19:23):    Got session-id: (null)
 [gs_fade_init] gs-fade.c:679 (15:19:23):         Fade type: 2
 [gamma_info_init] gs-fade.c:352 (15:19:23):      Initialized gamma ramp fade
 [initialize_server_extensions] gs-watcher-x11.c:903 (15:19:23):  Not using server's MIT-SCREEN-SAVER extension.
 [gs_watcher_set_active] gs-watcher-x11.c:731 (15:19:23):         turning watcher: ON
 [_gs_watcher_set_active_internal] gs-watcher-x11.c:718 (15:19:23):       Starting idle watcher
 [listener_dbus_handle_system_message] gs-listener-dbus.c:1481 (15:19:23):       obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameAcquired destination=:1.37
 [listener_dbus_handle_system_message] gs-listener-dbus.c:1481 (15:19:23):       obj_path=(null) interface=(null) method=(null) destination=:1.37
 [listener_dbus_handle_system_message] gs-listener-dbus.c:1481 (15:19:23):       obj_path=(null) interface=(null) method=(null) destination=:1.37
 [listener_dbus_handle_system_message] gs-listener-dbus.c:1481 (15:19:23):       obj_path=(null) interface=(null) method=(null) destination=:1.37
 [listener_dbus_handle_system_message] gs-listener-dbus.c:1481 (15:19:23):       obj_path=(null) interface=(null) method=(null) destination=:1.37
 [listener_service_deleted] gs-listener-dbus.c:1043 (15:19:26):   DBUS service deleted:
 [gs_grab_grab_root] gs-grab-x11.c:481 (15:19:26):        Grabbing the root window
 [gs_grab_get_keyboard] gs-grab-x11.c:166 (15:19:26):     Grabbing keyboard widget=66
 [gs_grab_get_mouse] gs-grab-x11.c:193 (15:19:26):        Grabbing mouse widget=66
 [gs_manager_create_window] gs-manager.c:1370 (15:19:26):         Creating 1 windows for screen 0
 [gs_manager_activate] gs-manager.c:1490 (15:19:26):      fading out
 [fade_done_cb] gs-manager.c:1451 (15:19:27):     fade completed, showing windows
 [get_best_visual_for_screen] gs-window-x11.c:500 (15:19:27):     Found best GL visual for screen 0: 0x24
 [window_map_cb] gs-manager.c:1209 (15:19:27):    Handling window map event
 [gs_window_clear] gs-window-x11.c:276 (15:19:27):        Clearing window
 [clear_all_children] gs-window-x11.c:251 (15:19:27):     Clearing all child windows
 [window_show_cb] gs-manager.c:1258 (15:19:27):   Handling window show
 [gs_job_set_command] gs-job.c:193 (15:19:27):    Setting command for job: 'NULL'
 [gs_watcher_set_active] gs-watcher-x11.c:731 (15:19:27):         turning watcher: OFF
 [_gs_watcher_set_active_internal] gs-watcher-x11.c:714 (15:19:27):       Stopping idle watcher
 [gs_listener_send_signal_active_changed] gs-listener-dbus.c:260 (15:19:27):     Sending the ActiveChanged(TRUE) signal on the session bus
 [gs_manager_set_lock_active] gs-manager.c:409 (15:19:27):        Setting lock active: 1
 [gs_window_xevent] gs-window-x11.c:679 (15:19:27):       not raising our windows
 [window_map_event_cb] gs-manager.c:1196 (15:19:27):      Handling window map_event event
 [manager_maybe_grab_window] gs-manager.c:1150 (15:19:27):        Moving grab to 0x80b9048
 [xorg_lock_smasher_set_active] gs-grab-x11.c:126 (15:19:27):     Disabling the x.org grab smasher
 [xorg_lock_smasher_set_active] gs-grab-x11.c:146 (15:19:27):     XF86MiscSetGrabKeysState(off) returned MiscExtGrabStateSuccess

 [gs_grab_move_keyboard] gs-grab-x11.c:331 (15:19:27):    Moving keyboard grab from 66 to 2200021
 [gs_grab_move_keyboard] gs-grab-x11.c:338 (15:19:27):    *** doing X server grab
 [gs_grab_release_keyboard] gs-grab-x11.c:219 (15:19:27):         Ungrabbing keyboard
 [gs_grab_get_keyboard] gs-grab-x11.c:166 (15:19:27):     Grabbing keyboard widget=2200021
 [gs_grab_move_keyboard] gs-grab-x11.c:360 (15:19:27):    *** releasing X server grab
 [gs_grab_move_mouse] gs-grab-x11.c:276 (15:19:27):       Moving pointer grab from 66 to 2200021
 [gs_grab_move_mouse] gs-grab-x11.c:283 (15:19:27):       *** doing X server grab
 [gs_grab_release_mouse] gs-grab-x11.c:237 (15:19:27):    Ungrabbing pointer
 [gs_grab_get_mouse] gs-grab-x11.c:193 (15:19:27):        Grabbing mouse widget=2200021
 [gs_grab_move_mouse] gs-grab-x11.c:306 (15:19:27):       *** releasing X server grab
 [manager_maybe_start_job_for_window] gs-manager.c:201 (15:19:27):        Starting job for window
 [gs_job_start] gs-job.c:431 (15:19:27):  starting job
 [gs_job_start] gs-job.c:446 (15:19:27):  No command set for job.
 [gs_window_xevent] gs-window-x11.c:679 (15:19:27):       not raising our windows
 [window_map_event_cb] gs-manager.c:1196 (15:19:27):      Handling window map_event event
 [manager_maybe_grab_window] gs-manager.c:1150 (15:19:27):        Moving grab to 0x80b9048
 [xorg_lock_smasher_set_active] gs-grab-x11.c:126 (15:19:27):     Disabling the x.org grab smasher
 [xorg_lock_smasher_set_active] gs-grab-x11.c:146 (15:19:27):     XF86MiscSetGrabKeysState(off) returned MiscExtGrabStateAlready

 [gs_grab_move_keyboard] gs-grab-x11.c:324 (15:19:27):    Window 2200021 is already grabbed, skipping
 [gs_grab_move_mouse] gs-grab-x11.c:264 (15:19:27):       Window 2200021 is already grabbed, skipping
 [manager_maybe_start_job_for_window] gs-manager.c:201 (15:19:27):        Starting job for window
 [gs_job_start] gs-job.c:431 (15:19:27):  starting job
 [gs_job_start] gs-job.c:446 (15:19:27):  No command set for job.
 [listener_service_deleted] gs-listener-dbus.c:1043 (15:19:27):   DBUS service deleted: :1.32
 [find_window_at_pointer] gs-manager.c:1126 (15:19:27):   Requesting unlock for screen 0
 [gs_window_request_unlock] gs-window-x11.c:1466 (15:19:27):      Requesting unlock
 [window_dialog_up_cb] gs-manager.c:1035 (15:19:27):      Handling dialog up
 [gs_grab_get_keyboard] gs-grab-x11.c:166 (15:19:27):     Grabbing keyboard widget=2200021
 [gs_grab_get_mouse] gs-grab-x11.c:193 (15:19:27):        Grabbing mouse widget=2200021
 [gs_grab_release_mouse] gs-grab-x11.c:237 (15:19:27):    Ungrabbing pointer
 [window_dialog_up_cb] gs-manager.c:1058 (15:19:27):      Suspending jobs
 [gs_job_suspend] gs-job.c:508 (15:19:27):        suspending job
 [popup_dialog_idle] gs-window-x11.c:1414 (15:19:27):     Popping up dialog
 [gs_window_clear] gs-window-x11.c:276 (15:19:27):        Clearing window
 [clear_all_children] gs-window-x11.c:251 (15:19:27):     Clearing all child windows
 [unfade_idle] gs-manager.c:1177 (15:19:27):      resetting fade
 [gs_fade_reset] gs-fade.c:635 (15:19:27):        Resetting fade
 [error_watch] gs-window-x11.c:843 (15:19:27):    command error output: [gs_debug_init] gs-debug.c:106 (15:19:27):        Debugging enabled

 [gs_window_dialog_finish] gs-window-x11.c:1242 (15:19:27):       Dialog finished
 [keyboard_command_finish] gs-window-x11.c:1118 (15:19:27):       Keyboard finished
 [gs_window_clear] gs-window-x11.c:276 (15:19:27):        Clearing window
 [clear_all_children] gs-window-x11.c:251 (15:19:27):     Clearing all child windows
 [window_dialog_down_cb] gs-manager.c:1073 (15:19:27):    Handling dialog down
 [xorg_lock_smasher_set_active] gs-grab-x11.c:126 (15:19:27):     Disabling the x.org grab smasher
 [xorg_lock_smasher_set_active] gs-grab-x11.c:146 (15:19:27):     XF86MiscSetGrabKeysState(off) returned MiscExtGrabStateAlready

 [gs_grab_move_keyboard] gs-grab-x11.c:324 (15:19:27):    Window 2200021 is already grabbed, skipping
 [gs_grab_move_mouse] gs-grab-x11.c:279 (15:19:27):       Getting pointer grab on 2200021
 [gs_grab_move_mouse] gs-grab-x11.c:283 (15:19:27):       *** doing X server grab
 [gs_grab_get_mouse] gs-grab-x11.c:193 (15:19:27):        Grabbing mouse widget=2200021
 [gs_grab_move_mouse] gs-grab-x11.c:306 (15:19:27):       *** releasing X server grab
 [manager_maybe_start_job_for_window] gs-manager.c:201 (15:19:27):        Starting job for window
 [gs_job_start] gs-job.c:431 (15:19:27):  starting job
 [gs_job_start] gs-job.c:446 (15:19:27):  No command set for job.
 [find_window_at_pointer] gs-manager.c:1126 (15:19:29):   Requesting unlock for screen 0
 [gs_window_request_unlock] gs-window-x11.c:1466 (15:19:29):      Requesting unlock
 [window_dialog_up_cb] gs-manager.c:1035 (15:19:29):      Handling dialog up
 [gs_grab_get_keyboard] gs-grab-x11.c:166 (15:19:29):     Grabbing keyboard widget=2200021
 [gs_grab_get_mouse] gs-grab-x11.c:193 (15:19:29):        Grabbing mouse widget=2200021
 [gs_grab_release_mouse] gs-grab-x11.c:237 (15:19:29):    Ungrabbing pointer
 [window_dialog_up_cb] gs-manager.c:1058 (15:19:29):      Suspending jobs
 [gs_job_suspend] gs-job.c:508 (15:19:29):        suspending job
 [popup_dialog_idle] gs-window-x11.c:1414 (15:19:29):     Popping up dialog
 [gs_window_clear] gs-window-x11.c:276 (15:19:29):        Clearing window
 [clear_all_children] gs-window-x11.c:251 (15:19:29):     Clearing all child windows
 [error_watch] gs-window-x11.c:843 (15:19:29):    command error output: [gs_debug_init] gs-debug.c:106 (15:19:29):        Debugging enabled

 [gs_manager_request_unlock] gs-manager.c:1581 (15:19:29):        Request unlock but dialog is already up
 [gs_window_dialog_finish] gs-window-x11.c:1242 (15:19:29):       Dialog finished
 [keyboard_command_finish] gs-window-x11.c:1118 (15:19:29):       Keyboard finished
 [gs_window_clear] gs-window-x11.c:276 (15:19:29):        Clearing window
 [clear_all_children] gs-window-x11.c:251 (15:19:29):     Clearing all child windows
 [window_dialog_down_cb] gs-manager.c:1073 (15:19:29):    Handling dialog down
 [xorg_lock_smasher_set_active] gs-grab-x11.c:126 (15:19:29):     Disabling the x.org grab smasher
 [xorg_lock_smasher_set_active] gs-grab-x11.c:146 (15:19:29):     XF86MiscSetGrabKeysState(off) returned MiscExtGrabStateAlready

 [gs_grab_move_keyboard] gs-grab-x11.c:324 (15:19:29):    Window 2200021 is already grabbed, skipping
 [gs_grab_move_mouse] gs-grab-x11.c:279 (15:19:29):       Getting pointer grab on 2200021
 [gs_grab_move_mouse] gs-grab-x11.c:283 (15:19:29):       *** doing X server grab
 [gs_grab_get_mouse] gs-grab-x11.c:193 (15:19:29):        Grabbing mouse widget=2200021
 [gs_grab_move_mouse] gs-grab-x11.c:306 (15:19:29):       *** releasing X server grab
 [manager_maybe_start_job_for_window] gs-manager.c:201 (15:19:29):        Starting job for window
 [gs_job_start] gs-job.c:431 (15:19:29):  starting job
 [gs_job_start] gs-job.c:446 (15:19:29):  No command set for job.
 [find_window_at_pointer] gs-manager.c:1126 (15:19:29):   Requesting unlock for screen 0
 [gs_window_request_unlock] gs-window-x11.c:1466 (15:19:29):      Requesting unlock
 [window_dialog_up_cb] gs-manager.c:1035 (15:19:29):      Handling dialog up
 [gs_grab_get_keyboard] gs-grab-x11.c:166 (15:19:29):     Grabbing keyboard widget=2200021
 [gs_grab_get_mouse] gs-grab-x11.c:193 (15:19:29):        Grabbing mouse widget=2200021
 [gs_grab_release_mouse] gs-grab-x11.c:237 (15:19:29):    Ungrabbing pointer
 [window_dialog_up_cb] gs-manager.c:1058 (15:19:29):      Suspending jobs
 [gs_job_suspend] gs-job.c:508 (15:19:29):        suspending job
 [popup_dialog_idle] gs-window-x11.c:1414 (15:19:29):     Popping up dialog
 [gs_window_clear] gs-window-x11.c:276 (15:19:29):        Clearing window
 [clear_all_children] gs-window-x11.c:251 (15:19:29):     Clearing all child windows
 [gs_manager_request_unlock] gs-manager.c:1581 (15:19:29):        Request unlock but dialog is already up
 [error_watch] gs-window-x11.c:843 (15:19:29):    command error output: [gs_debug_init] gs-debug.c:106 (15:19:29):        Debugging enabled

 [gs_manager_request_unlock] gs-manager.c:1581 (15:19:29):        Request unlock but dialog is already up
 [gs_window_dialog_finish] gs-window-x11.c:1242 (15:19:29):       Dialog finished
 [keyboard_command_finish] gs-window-x11.c:1118 (15:19:29):       Keyboard finished
 [gs_window_clear] gs-window-x11.c:276 (15:19:29):        Clearing window
 [clear_all_children] gs-window-x11.c:251 (15:19:29):     Clearing all child windows
 [window_dialog_down_cb] gs-manager.c:1073 (15:19:29):    Handling dialog down
 [xorg_lock_smasher_set_active] gs-grab-x11.c:126 (15:19:29):     Disabling the x.org grab smasher
 [xorg_lock_smasher_set_active] gs-grab-x11.c:146 (15:19:29):     XF86MiscSetGrabKeysState(off) returned MiscExtGrabStateAlready

 [gs_grab_move_keyboard] gs-grab-x11.c:324 (15:19:29):    Window 2200021 is already grabbed, skipping
 [gs_grab_move_mouse] gs-grab-x11.c:279 (15:19:29):       Getting pointer grab on 2200021
 [gs_grab_move_mouse] gs-grab-x11.c:283 (15:19:29):       *** doing X server grab
 [gs_grab_get_mouse] gs-grab-x11.c:193 (15:19:29):        Grabbing mouse widget=2200021
 [gs_grab_move_mouse] gs-grab-x11.c:306 (15:19:29):       *** releasing X server grab
 [manager_maybe_start_job_for_window] gs-manager.c:201 (15:19:29):        Starting job for window
 [gs_job_start] gs-job.c:431 (15:19:29):  starting job
 [gs_job_start] gs-job.c:446 (15:19:29):  No command set for job.
 [find_window_at_pointer] gs-manager.c:1126 (15:19:29):   Requesting unlock for screen 0
 [gs_window_request_unlock] gs-window-x11.c:1466 (15:19:29):      Requesting unlock
 [window_dialog_up_cb] gs-manager.c:1035 (15:19:29):      Handling dialog up
 [gs_grab_get_keyboard] gs-grab-x11.c:166 (15:19:29):     Grabbing keyboard widget=2200021
 [gs_grab_get_mouse] gs-grab-x11.c:193 (15:19:29):        Grabbing mouse widget=2200021
 [gs_grab_release_mouse] gs-grab-x11.c:237 (15:19:29):    Ungrabbing pointer
 [window_dialog_up_cb] gs-manager.c:1058 (15:19:29):      Suspending jobs
 [gs_job_suspend] gs-job.c:508 (15:19:29):        suspending job
 [popup_dialog_idle] gs-window-x11.c:1414 (15:19:29):     Popping up dialog
 [gs_window_clear] gs-window-x11.c:276 (15:19:29):        Clearing window
 [clear_all_children] gs-window-x11.c:251 (15:19:29):     Clearing all child windows
 [error_watch] gs-window-x11.c:843 (15:19:29):    command error output: [gs_debug_init] gs-debug.c:106 (15:19:29):        Debugging enabled

 [gs_manager_request_unlock] gs-manager.c:1581 (15:19:29):        Request unlock but dialog is already up
 [gs_window_dialog_finish] gs-window-x11.c:1242 (15:19:30):       Dialog finished
 [keyboard_command_finish] gs-window-x11.c:1118 (15:19:30):       Keyboard finished
 [gs_window_clear] gs-window-x11.c:276 (15:19:30):        Clearing window
 [clear_all_children] gs-window-x11.c:251 (15:19:30):     Clearing all child windows
 [window_dialog_down_cb] gs-manager.c:1073 (15:19:30):    Handling dialog down
 [xorg_lock_smasher_set_active] gs-grab-x11.c:126 (15:19:30):     Disabling the x.org grab smasher
 [xorg_lock_smasher_set_active] gs-grab-x11.c:146 (15:19:30):     XF86MiscSetGrabKeysState(off) returned MiscExtGrabStateAlready

 [gs_grab_move_keyboard] gs-grab-x11.c:324 (15:19:30):    Window 2200021 is already grabbed, skipping
 [gs_grab_move_mouse] gs-grab-x11.c:279 (15:19:30):       Getting pointer grab on 2200021
 [gs_grab_move_mouse] gs-grab-x11.c:283 (15:19:30):       *** doing X server grab
 [gs_grab_get_mouse] gs-grab-x11.c:193 (15:19:30):        Grabbing mouse widget=2200021
 [gs_grab_move_mouse] gs-grab-x11.c:306 (15:19:30):       *** releasing X server grab
 [manager_maybe_start_job_for_window] gs-manager.c:201 (15:19:30):        Starting job for window
 [gs_job_start] gs-job.c:431 (15:19:30):  starting job
 [gs_job_start] gs-job.c:446 (15:19:30):  No command set for job.
 [find_window_at_pointer] gs-manager.c:1126 (15:19:31):   Requesting unlock for screen 0
 [gs_window_request_unlock] gs-window-x11.c:1466 (15:19:31):      Requesting unlock
 [window_dialog_up_cb] gs-manager.c:1035 (15:19:31):      Handling dialog up
 [gs_grab_get_keyboard] gs-grab-x11.c:166 (15:19:31):     Grabbing keyboard widget=2200021
 [gs_grab_get_mouse] gs-grab-x11.c:193 (15:19:31):        Grabbing mouse widget=2200021
 [gs_grab_release_mouse] gs-grab-x11.c:237 (15:19:31):    Ungrabbing pointer
 [window_dialog_up_cb] gs-manager.c:1058 (15:19:31):      Suspending jobs
 [gs_job_suspend] gs-job.c:508 (15:19:31):        suspending job
 [popup_dialog_idle] gs-window-x11.c:1414 (15:19:31):     Popping up dialog
 [gs_window_clear] gs-window-x11.c:276 (15:19:31):        Clearing window
 [clear_all_children] gs-window-x11.c:251 (15:19:31):     Clearing all child windows
 [gs_manager_request_unlock] gs-manager.c:1581 (15:19:31):        Request unlock but dialog is already up
 [error_watch] gs-window-x11.c:843 (15:19:31):    command error output: [gs_debug_init] gs-debug.c:106 (15:19:31):        Debugging enabled

 [gs_window_dialog_finish] gs-window-x11.c:1242 (15:19:31):       Dialog finished
 [keyboard_command_finish] gs-window-x11.c:1118 (15:19:31):       Keyboard finished
 [gs_window_clear] gs-window-x11.c:276 (15:19:31):        Clearing window
 [clear_all_children] gs-window-x11.c:251 (15:19:31):     Clearing all child windows
 [window_dialog_down_cb] gs-manager.c:1073 (15:19:31):    Handling dialog down
 [xorg_lock_smasher_set_active] gs-grab-x11.c:126 (15:19:31):     Disabling the x.org grab smasher
 [xorg_lock_smasher_set_active] gs-grab-x11.c:146 (15:19:31):     XF86MiscSetGrabKeysState(off) returned MiscExtGrabStateAlready

 [gs_grab_move_keyboard] gs-grab-x11.c:324 (15:19:31):    Window 2200021 is already grabbed, skipping
 [gs_grab_move_mouse] gs-grab-x11.c:279 (15:19:31):       Getting pointer grab on 2200021
 [gs_grab_move_mouse] gs-grab-x11.c:283 (15:19:31):       *** doing X server grab
 [gs_grab_get_mouse] gs-grab-x11.c:193 (15:19:31):        Grabbing mouse widget=2200021
 [gs_grab_move_mouse] gs-grab-x11.c:306 (15:19:31):       *** releasing X server grab
 [manager_maybe_start_job_for_window] gs-manager.c:201 (15:19:31):        Starting job for window
 [gs_job_start] gs-job.c:431 (15:19:31):  starting job
 [gs_job_start] gs-job.c:446 (15:19:31):  No command set for job.
 [window_obscured_cb] gs-manager.c:1282 (15:19:33):       Handling window obscured: obscured
 [gs_job_stop] gs-job.c:479 (15:19:33):   stopping job
 [gs_job_stop] gs-job.c:482 (15:19:33):   Could not stop job: pid not defined
 [listener_service_deleted] gs-listener-dbus.c:1043 (15:19:43):   DBUS service deleted:
 [gs_fade_reset] gs-fade.c:635 (15:19:43):        Resetting fade
 [gs_grab_release] gs-grab-x11.c:388 (15:19:43):  Releasing all grabs
 [gs_grab_release_mouse] gs-grab-x11.c:237 (15:19:43):    Ungrabbing pointer
 [gs_grab_release_keyboard] gs-grab-x11.c:219 (15:19:43):         Ungrabbing keyboard
 [xorg_lock_smasher_set_active] gs-grab-x11.c:124 (15:19:43):     Enabling the x.org grab smasher
 [xorg_lock_smasher_set_active] gs-grab-x11.c:146 (15:19:43):     XF86MiscSetGrabKeysState(on) returned MiscExtGrabStateSuccess

 [gs_job_stop] gs-job.c:479 (15:19:43):   stopping job
 [gs_job_stop] gs-job.c:482 (15:19:43):   Could not stop job: pid not defined
 [window_unmap_cb] gs-manager.c:1216 (15:19:43):  window unmapped!
 [gs_window_dialog_finish] gs-window-x11.c:1242 (15:19:43):       Dialog finished
 [keyboard_command_finish] gs-window-x11.c:1118 (15:19:43):       Keyboard finished
 [gs_watcher_set_active] gs-watcher-x11.c:731 (15:19:43):         turning watcher: ON
 [_gs_watcher_set_active_internal] gs-watcher-x11.c:718 (15:19:44):       Starting idle watcher
 [gs_listener_send_signal_active_changed] gs-listener-dbus.c:260 (15:19:44):     Sending the ActiveChanged(FALSE) signal on the session bus
 [listener_service_deleted] gs-listener-dbus.c:1043 (15:19:44):   DBUS service deleted: :1.33
 [listener_service_deleted] gs-listener-dbus.c:1043 (15:19:51):   DBUS service deleted:
 [gs_listener_set_active] gs-listener-dbus.c:516 (15:19:51):      Trying to set active state when already: inactive
 [gs_grab_release] gs-grab-x11.c:388 (15:19:51):  Releasing all grabs
 [gs_grab_release_mouse] gs-grab-x11.c:237 (15:19:51):    Ungrabbing pointer
 [gs_grab_release_keyboard] gs-grab-x11.c:219 (15:19:51):         Ungrabbing keyboard
 [xorg_lock_smasher_set_active] gs-grab-x11.c:124 (15:19:51):     Enabling the x.org grab smasher
 [xorg_lock_smasher_set_active] gs-grab-x11.c:146 (15:19:51):     XF86MiscSetGrabKeysState(on) returned MiscExtGrabStateSuccess

 [main] gnome-screensaver.c:115 (15:19:51):       gnome-screensaver finished
 [gs_debug_shutdown] gs-debug.c:115 (15:19:51):   Shutting down debugging
Comment 1 HUB 2008-04-28 10:40:30 UTC
(In reply to comment #0)

I've got the same problem. The debugging information is the same.
gnome-screensaver version is 2.22.0
Comment 2 Vasilis Vasaitis 2008-05-06 12:03:09 UTC
  Hi,

  I'm having the same symptoms, not sure if it's the same cause though. I.e. in my system too, sometimes gnome-screensaver fails to present the unlock dialog when I move the mouse / press a key. In my case however, the cause is quite obvious: my home directory is on AFS, and the bug manifests when my AFS tickets have expired. I would imagine that gnome-screensaver tries to access one or more files inside my home directory before presenting the unlock dialog, and fails.

  I have gnome-screensaver 2.22.2 from Debian unstable.

Thanks,
Vasilis
Comment 3 William Jon McCann 2008-11-13 19:01:28 UTC
Do you use NIS, NIS+, LDAP, or some other remote directory to store user/password info?

Comment 4 Vasilis Vasaitis 2008-11-13 19:31:18 UTC
Is this question for me? In any case, here's what /etc/pam.d/gnome-screensaver says:

@include common-auth
auth optional pam_gnome_keyring.so

And here's what /etc/pam.d/common-auth says:

auth	required	pam_unix.so nullok_secure
auth	optional	pam_krb5.so use_authtok minimum_uid=1000
auth	optional	pam_afs_session.so minimum_uid=1000

I.e. gnome-screensaver is instructed to contact kerberos for authentication, but only after it has checked with the local password database.
Comment 5 William Jon McCann 2008-11-13 19:43:36 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 527185 ***
Comment 6 Vasilis Vasaitis 2008-11-13 19:57:15 UTC
Err, this definitely isn't the same bug as #527185, in my case at least. User account information *can* be retrieved, as it's all local. Only a part of the password authentication mechanism is remote, and that's always available when the problem appears, it's never a case of servers down or anything similar.

Also, I have the exact same problem even if I change /etc/pam.d/gnome-screensaver to simply this (I just tried):

auth	required	pam_unix.so nullok_secure

... as long as the AFS ticket for my home directory has expired, of course.

I therefore request that this bug be reopened.

Thanks,
Vasilis
Comment 7 William Jon McCann 2008-11-13 20:06:02 UTC
Ok.  Then this may be due to your gconf database being inaccessible.  Can you try forcing your ticket to expire and try running test-window or even /usr/libexec/gnome-screensaver-dialog and see if you get any interesting messages?
Comment 8 William Jon McCann 2008-11-13 20:20:20 UTC
Not able to reproduce this here simply by changing permissions on files and directories and killing the gconfd.
Comment 9 Vasilis Vasaitis 2008-11-14 14:01:39 UTC
Ah, good idea. No idea what test-window is, but I just tried with gnome-screensaver-dialog. Hm, the problem is quite fundamental it seems. When I run it without a ticket I get this:

No protocol specified
cannot open display:

(without a newline on the second line). I strace'd it too; I can post the whole trace if you like, but the offending line seems to be this one:

20173 access("/home/s0459994/.Xauthority", R_OK) = -1 EACCES (Permission denied)

On the other hand, if I run it with a non-expired ticket, I get output like this one (and it doesn't terminate until I press Ctrl-C):

WINDOW ID=54525982

I can get the same behaviour with an expired ticket, if I have also executed the following command beforehand:

xhost +local:

So it seems that the behaviour I'm observing is due to gnome-screensaver-dialog's inability to authenticate to the X server when I don't have a ticket, right? Not sure what could be done to rectify this...

Thanks,
Vasilis
Comment 10 William Jon McCann 2008-11-14 14:22:04 UTC
What login program and version do you use?  GDM 2.22 and newer don't store your X cookies in your home directory for this reason.  Thanks.
Comment 11 Vasilis Vasaitis 2008-11-14 14:30:41 UTC
I'm using GDM 2.20.7. As far as I can tell, GDM 2.22 hasn't been packaged for Debian yet.
Comment 12 Ray Strode [halfline] 2008-11-14 15:48:44 UTC
you can work around the issue in gdm 2.20 with UserAuthDir=/tmp in the [daemon] section of /etc/gdm/custom.conf
Comment 13 Vasilis Vasaitis 2008-11-14 18:17:35 UTC
Ah, that solved it for me, thanks! I'll pass it on to the downstream bug report, to see if it helps anyone else.