Pretty queer: after filing this bug the delay on session close vanished and never returned ... ;-) Presumably a Unity-2D update has fixed it in the meantime. So I mark this bug as Resolved/WorksForMe.
** Changed in: unity-2d (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to unity-2d in Ubuntu. Matching subscriptions: dp-unity2d https://bugs.launchpad.net/bugs/1013133 Title: long delay on session close Status in “unity-2d” package in Ubuntu: Fix Released Bug description: Seems I have a similar issue to the already fixed #812104, but this one was fixed in unity-2d 5.6 and I use 5.12.0. On session logout, there is a approx. 30s delay without any activity. Under 11.04 with netbook-launcher-efl the logout/shutdown time was about 2-3 sec. i notice a couple of errors in .xsession-errors.old after reboot: ---------------------------------- tail of .xsession-errors.old ------------------------------- unity-2d-shell: [DEBUG] void GnomeSessionClient::queryEndSession(): unity-2d-shell: [DEBUG] bool GnomeSessionClientPrivate::sendEndSessionResponse(): unity-2d-panel: [DEBUG] void GnomeSessionClient::queryEndSession(): unity-2d-panel: [DEBUG] bool GnomeSessionClientPrivate::sendEndSessionResponse(): unity-2d-shell: [DEBUG] void GnomeSessionClient::endSession(): unity-2d-shell: [DEBUG] bool GnomeSessionClientPrivate::sendEndSessionResponse(): unity-2d-panel: [DEBUG] void GnomeSessionClient::waitForEndSession(): Application is about to quit, waiting for gnome-session to call us back unity-2d-panel: [DEBUG] void GnomeSessionClient::endSession(): unity-2d-panel: [DEBUG] bool GnomeSessionClientPrivate::sendEndSessionResponse(): unity-2d-shell: [DEBUG] void GnomeSessionClient::waitForEndSession(): Application is about to quit, waiting for gnome-session to call us back Warnung der Fensterverwaltung: CurrentTime used to choose focus window; focus window may not be correct. Warnung der Fensterverwaltung: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn't happen! (gnome-settings-daemon:1615): print-notifications-plugin-CRITICAL **: gsd_print_notifications_plugin_finalize: assertion `plugin->priv != NULL' failed (gnome-settings-daemon:1615): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (gnome-settings-daemon:1615): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed unity-2d-shell: [WARNING] QClipboard: Unable to receive an event from the clipboard manager in a reasonable time (indicator-keylock:1649): Gdk-WARNING **: indicator-keylock: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0. (nm-applet:1658): Gdk-WARNING **: nm-applet: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0. (update-notifier:1939): Gdk-WARNING **: update-notifier: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0. (gnome-screensaver:1814): Gdk-WARNING **: gnome-screensaver: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0. (gnome-fallback-mount-helper:1655): Gdk-WARNING **: gnome-fallback- mount-helper: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0. (bluetooth-applet:1653): Gdk-WARNING **: bluetooth-applet: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0. (gdu-notification-daemon:1730): Gdk-WARNING **: gdu-notification- daemon: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0. (nautilus:1666): Gdk-WARNING **: nautilus: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0. (deja-dup-monitor:2029): GVFS-RemoteVolumeMonitor-WARNING **: Owner :1.47 of volume monitor org.gtk.Private.GduVolumeMonitor disconnected from the bus; removing drives/volumes/mounts (deja-dup-monitor:2029): GVFS-RemoteVolumeMonitor-WARNING **: Owner :1.48 of volume monitor org.gtk.Private.GPhoto2VolumeMonitor disconnected from the bus; removing drives/volumes/mounts (deja-dup-monitor:2029): GVFS-RemoteVolumeMonitor-WARNING **: Owner :1.50 of volume monitor org.gtk.Private.AfcVolumeMonitor disconnected from the bus; removing drives/volumes/mounts ---------------------------------- end of .xsession-errors.old ------------------------------- As this is a German system, some messages are in German, meaning: Warnung der Fensterverwaltung: windows manager warning Die Ressource ist zur Zeit nicht verfügbar: resource temporarily not available I guess those Fatal IO error 11 are due to a timing issue: objects called that are already destroyed? and then waiting for a timeout? some details, in part already in the apport-data: this is on a Asus EeePC 1000H after upgrade Natty->Oneric->Precise, and Precise fully updated ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: unity-2d 5.12.0-0ubuntu1 ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18 Uname: Linux 3.2.0-25-generic i686 ApportVersion: 2.0.1-0ubuntu8 Architecture: i386 Date: Thu Jun 14 13:19:13 2012 InstallationMedia: Ubuntu-Netbook 10.04 "Lucid Lynx" - Release i386 (20100429.4) PackageArchitecture: all SourcePackage: unity-2d UpgradeStatus: Upgraded to precise on 2012-05-13 (31 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity-2d/+bug/1013133/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp