GNOME Bugzilla – Bug 728934
at-spi2-registryd: The name org.gnome.SessionManager was not provided by any .service files
Last modified: 2014-06-07 19:17:24 UTC
Created attachment 275112 [details] [review] register to session manager when it is running at-spi2-registryd failed to register at startup. It is a race-condition issue. Gnome session manager start but is not running full. The warning message displays in /var/log/message. https://bugzilla.novell.com/show_bug.cgi?id=873541
Comment on attachment 275112 [details] [review] register to session manager when it is running Thanks for the patch. I wonder whether it is ever possible for at-spi2-registryd to start after the SessionRunning signal is sent out, in which case we wouldn't end up registering, but I didn't notice that happening when briefly testing, so your patch seems like an improvement over the current behavior. Committed to master with minor modification as e05258.
Created attachment 275295 [details] [review] check whether the session was running Thanks! I add a new patch to check if the session was already running. Tested in my system.
Created attachment 275296 [details] [review] remove the warning message When gnome-session was not start fully, it is even not be able to get the 'IsSessionRunning' status. Change the patch by removing the 'error check' part.
Created attachment 277528 [details] [review] updated register only once. As if the session turn back from QueryEndSession, the SessionRunning will emit again.
Comment on attachment 277528 [details] [review] updated Looks fine. Committed to master as 09854f. Thanks.