GNOME Bugzilla – Bug 691513
session manager rejects ICE/XSMP connections after shutdown was cancelled
Last modified: 2013-03-04 14:26:05 UTC
If I select "Power Off" or "Log Out" in gnome-shell's menu, but then cancel the confirmation prompt, gnome-session remains in the "shutting down" state and refuses new ICE connections forever. ... gnome-session[3823237]: DEBUG(+): GsmManager: requesting shutdown gnome-session[3823237]: DEBUG(+): GsmManager: ending phase RUNNING gnome-session[3823237]: DEBUG(+): GsmManager: starting phase QUERY_END_SESSION gnome-session[3823237]: DEBUG(+): gsm_xsmp_server_stop_accepting_new_clients ... gnome-session[3823237]: DEBUG(+): GsmManager: Cancelling the end of session gnome-session[3823237]: DEBUG(+): GsmManager: starting phase RUNNING ... gnome-session[3823237]: DEBUG(+): GsmXsmpServer: In shutdown, rejecting new client ... Using: gnome-session 3.7.3.r5.g079bbf4-1
Created attachment 235272 [details] [review] Re-accept XSMP clients if session shutdown is cancelled This bug appears to be due to the changes introduced in bug 688209, where the XSMP server is told to stop accepting new clients as soon as the QUERY_END_SESSION phase starts. If the session shutdown is cancelled, it needs to start accepting clients again. This patch tells it to start (re-)accepting clients on entry to the RUNNING phase.
Review of attachment 235272 [details] [review]: Looks good to me