On Ubuntu 11.10, when clicking on dash home (unity menu bar), the x-session will crash and redirect to the login page. This same behavior occurs arbitrarily when executing other applications (e.g. KCacheGrind, VirtualBox, ...) and sometimes without manual interaction.
These are the contents of .xsession-errors after a crash:
Running X session wrapper
Loading profile from /etc/profile
Loading profile from /home/nu/.profile
Loading resource: /etc/X11/Xresources/x11-common
Loading xinit script /etc/X11/xinit/xinitrc.d/*
Loading X session script /etc/X11/Xsession.d/00_handle_guest_session
Loading X session script /etc/X11/Xsession.d/20x11-common_process-args
Loading X session script /etc/X11/Xsession.d/30x11-common_xresources
Loading X session script /etc/X11/Xsession.d/40x11-common_xsessionrc
Loading X session script /etc/X11/Xsession.d/50_check_unity_support
Loading X session script /etc/X11/Xsession.d/50x11-common_determine-startup
Loading X session script /etc/X11/Xsession.d/52libcanberra-gtk3-module_add-to-gtk-modules
Loading X session script /etc/X11/Xsession.d/52libcanberra-gtk-module_add-to-gtk-modules
Loading X session script /etc/X11/Xsession.d/55gnome-session_gnomerc
Loading X session script /etc/X11/Xsession.d/60x11-common_localhost
Loading X session script /etc/X11/Xsession.d/60x11-common_xdg_path
Loading X session script /etc/X11/Xsession.d/60xdg-user-dirs-update
Loading X session script /etc/X11/Xsession.d/65compiz_profile-on-session
Loading X session script /etc/X11/Xsession.d/70gconfd_path-on-session
Loading X session script /etc/X11/Xsession.d/75dbus_dbus-launch
Loading X session script /etc/X11/Xsession.d/80appmenu
Loading X session script /etc/X11/Xsession.d/80appmenu-gtk3
Loading X session script /etc/X11/Xsession.d/80im-switch
Setting IM through im-switch for locale=en_US.
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
Loading X session script /etc/X11/Xsession.d/90consolekit
Loading X session script /etc/X11/Xsession.d/90qt-a11y
Loading X session script /etc/X11/Xsession.d/90x11-common_ssh-agent
Loading X session script /etc/X11/Xsession.d/99x11-common_start
GNOME_KEYRING_CONTROL=/tmp/keyring-YEtVJJ
GNOME_KEYRING_CONTROL=/tmp/keyring-YEtVJJ
SSH_AUTH_SOCK=/tmp/keyring-YEtVJJ/ssh
GNOME_KEYRING_CONTROL=/tmp/keyring-YEtVJJ
SSH_AUTH_SOCK=/tmp/keyring-YEtVJJ/ssh
GNOME_KEYRING_CONTROL=/tmp/keyring-YEtVJJ
SSH_AUTH_SOCK=/tmp/keyring-YEtVJJ/ssh
GPG_AGENT_INFO=/tmp/keyring-YEtVJJ/gpg:0:1
(gnome-settings-daemon:13244): color-plugin-WARNING **: failed to get edid: unable to get EDID for output
unity-2d-panel: [DEBUG] Scanning panel plugin directory "/usr/lib/unity-2d/plugins/panel"
unity-2d-panel: [DEBUG] Loading panel plugin: "/usr/lib/unity-2d/plugins/panel/libpanelplugin-appindicator.so"
unity-2d-panel: [DEBUG] Loading panel plugin: "/usr/lib/unity-2d/plugins/panel/libpanelplugin-appname.so"
unity-2d-panel: [DEBUG] Loading panel plugin: "/usr/lib/unity-2d/plugins/panel/libpanelplugin-homebutton.so"
unity-2d-panel: [DEBUG] Loading panel plugin: "/usr/lib/unity-2d/plugins/panel/libpanelplugin-indicator.so"
unity-2d-panel: [DEBUG] Loading panel plugin: "/usr/lib/unity-2d/plugins/panel/libpanelplugin-legacytray.so"
unity-2d-panel: [DEBUG] Loading panel plugin: "/usr/lib/unity-2d/plugins/panel/libpanelplugin-separator.so"
unity-2d-panel: [DEBUG] Configured plugins list is: ("appname", "!legacytray", "indicator")
unity-2d-launcher: [DEBUG] bool KeyMonitor::registerEvents(): Could not open device: Virtual core pointer
unity-2d-launcher: [DEBUG] bool KeyMonitor::registerEvents(): Could not open device: Virtual core keyboard
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Alt+F1"
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Alt+F2"
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Meta+0"
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Meta+Shift+0"
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Meta+1"
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Meta+Shift+1"
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Meta+2"
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Meta+Shift+2"
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Meta+3"
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Meta+Shift+3"
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Meta+4"
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Meta+Shift+4"
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Meta+5"
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Meta+Shift+5"
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Meta+6"
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Meta+Shift+6"
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Meta+7"
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Meta+Shift+7"
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Meta+8"
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Meta+Shift+8"
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Meta+9"
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Meta+Shift+9"
** (gnome-fallback-mount-helper:13270): DEBUG: Starting automounting manager
Failed to play sound: File or data not found
unity-2d-launcher: [DEBUG] static void WindowImageProvider::activateComposite(): Server supports the Composite extension (ver 0.4)
** (nautilus:13268): DEBUG: Syncdaemon not running, waiting for it to start in NameOwnerChanged
Initializing nautilus-gdu extension
(bluetooth-applet:13267): Bluetooth-DEBUG: adding killswitch idx 0 state KILLSWITCH_STATE_UNBLOCKED
(bluetooth-applet:13267): Bluetooth-DEBUG: adding killswitch idx 2 state KILLSWITCH_STATE_UNBLOCKED
(bluetooth-applet:13267): Bluetooth-DEBUG: killswitch 0 is KILLSWITCH_STATE_UNBLOCKED
(bluetooth-applet:13267): Bluetooth-DEBUG: killswitch 2 is KILLSWITCH_STATE_UNBLOCKED
(bluetooth-applet:13267): Bluetooth-DEBUG: killswitches state KILLSWITCH_STATE_UNBLOCKED
(bluetooth-applet:13267): Bluetooth-DEBUG: killswitch 0 is KILLSWITCH_STATE_UNBLOCKED
(bluetooth-applet:13267): Bluetooth-DEBUG: killswitch 2 is KILLSWITCH_STATE_UNBLOCKED
(bluetooth-applet:13267): Bluetooth-DEBUG: killswitches state KILLSWITCH_STATE_UNBLOCKED
(bluetooth-applet:13267): Bluetooth-DEBUG: killswitch 0 is KILLSWITCH_STATE_UNBLOCKED
(bluetooth-applet:13267): Bluetooth-DEBUG: killswitch 2 is KILLSWITCH_STATE_UNBLOCKED
(bluetooth-applet:13267): Bluetooth-DEBUG: killswitches state KILLSWITCH_STATE_UNBLOCKED
(bluetooth-applet:13267): Bluetooth-DEBUG: killswitch 0 is KILLSWITCH_STATE_UNBLOCKED
(bluetooth-applet:13267): Bluetooth-DEBUG: killswitch 2 is KILLSWITCH_STATE_UNBLOCKED
(bluetooth-applet:13267): Bluetooth-DEBUG: killswitches state KILLSWITCH_STATE_UNBLOCKED
(bluetooth-applet:13267): Bluetooth-DEBUG: killswitch 0 is KILLSWITCH_STATE_UNBLOCKED
(bluetooth-applet:13267): Bluetooth-DEBUG: killswitch 2 is KILLSWITCH_STATE_UNBLOCKED
(bluetooth-applet:13267): Bluetooth-DEBUG: killswitches state KILLSWITCH_STATE_UNBLOCKED
(bluetooth-applet:13267): Bluetooth-DEBUG: killswitch 0 is KILLSWITCH_STATE_UNBLOCKED
(bluetooth-applet:13267): Bluetooth-DEBUG: killswitch 2 is KILLSWITCH_STATE_UNBLOCKED
(bluetooth-applet:13267): Bluetooth-DEBUG: killswitches state KILLSWITCH_STATE_UNBLOCKED
unity-panel-service: no process found
unity-2d-panel: [DEBUG] Scanning panel plugin directory "/usr/lib/unity-2d/plugins/panel"
unity-2d-panel: [DEBUG] Loading panel plugin: "/usr/lib/unity-2d/plugins/panel/libpanelplugin-appindicator.so"
unity-2d-panel: [DEBUG] Loading panel plugin: "/usr/lib/unity-2d/plugins/panel/libpanelplugin-appname.so"
unity-2d-panel: [DEBUG] Loading panel plugin: "/usr/lib/unity-2d/plugins/panel/libpanelplugin-homebutton.so"
unity-2d-panel: [DEBUG] Loading panel plugin: "/usr/lib/unity-2d/plugins/panel/libpanelplugin-indicator.so"
unity-2d-panel: [DEBUG] Loading panel plugin: "/usr/lib/unity-2d/plugins/panel/libpanelplugin-legacytray.so"
unity-2d-panel: [DEBUG] Loading panel plugin: "/usr/lib/unity-2d/plugins/panel/libpanelplugin-separator.so"
unity-2d-panel: [DEBUG] Configured plugins list is: ("appname", "!legacytray", "indicator")
** Message: applet now removed from the notification area
unity-2d-panel: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "F10"
** (gnome-fallback-mount-helper:13270): DEBUG: Found ConsoleKit session at path /org/freedesktop/ConsoleKit/Session8
** (gnome-fallback-mount-helper:13270): DEBUG: ScreenSaver name appeared
** (gnome-fallback-mount-helper:13270): DEBUG: ConsoleKit session is active 1
** (gnome-fallback-mount-helper:13270): DEBUG: ScreenSaver proxy ready
** (gnome-fallback-mount-helper:13270): DEBUG: Screensaver GetActive() returned 0
** (nm-applet:13264): DEBUG: old state indicates that this was not a disconnect 0
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Meta+S"
unity-2d-launcher: [DEBUG] virtual void Hotkey::connectNotify(const char*): Grabbing hotkey "Meta+T"
unity-2d-launcher: [WARNING] int Trash::count() const: Unable to obtain the number of items in the trash: Automount failed: DBus error org.freedesktop.DBus.Error.InvalidArgs: Mountpoint Already registered
(nautilus:13268): Gtk-CRITICAL **: gtk_action_set_visible: assertion `GTK_IS_ACTION (action)' failed
(nautilus:13268): Gtk-CRITICAL **: gtk_action_set_visible: assertion `GTK_IS_ACTION (action)' failed
** Message: using fallback from indicator to GtkStatusIcon
** Message: moving back from GtkStatusIcon to indicator
unity-2d-launcher: [WARNING] QImage GImageUtils::imageForIconString(const QString&, int, GtkIconTheme*): Failed to find icon: "user-trash"
unity-2d-launcher: [WARNING] file:///usr/share/unity-2d/launcher/LauncherItem.qml:243:13: QML QDeclarativeImage_QML_6: Failed to get image from provider: image://icons/user-trash
unity-2d-launcher: [WARNING] QImage GImageUtils::imageForIconString(const QString&, int, GtkIconTheme*): Failed to find icon: "unknown"
unity-2d-launcher: [WARNING] file:///usr/share/unity-2d/launcher/LauncherItem.qml:243:13: QML QDeclarativeImage_QML_6: Failed to get image from provider: image://icons/unknown
unity-2d-launcher: [WARNING] X Error: BadWindow (invalid Window parameter) 3
Major opcode: 18 (X_ChangeProperty)
Resource id: 0x0
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.
** (gnome-settings-daemon:13244): WARNING **: Connection failed, reconnecting...
** (gnome-settings-daemon:13244): WARNING **: Failed to connect context: Connection refused
** (process:13386): DEBUG: Telepathy Indicator started
unity-2d-launcher: [WARNING] void LauncherApplicationsList::onRemoteEntryUpdated(QString, QMap<QString, QVariant>): Application sent an update but we don't seem to have it in the launcher: "application://empathy.desktop"
unity-2d-launcher: [WARNING] void LauncherApplicationsList::onRemoteEntryUpdated(QString, QMap<QString, QVariant>): Application sent an update but we don't seem to have it in the launcher: "application://empathy.desktop"
gnome-session[13175]: WARNING: Could not launch application 'pulseaudio.desktop': Unable to start application: Failed to execute child process "start-pulseaudio-x11" (No such file or directory)
** (gnome-settings-daemon:13244): WARNING **: Connection failed, reconnecting...
** (gnome-settings-daemon:13244): WARNING **: Failed to connect context: Connection refused
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]