Dear Adam, thanks for taking time to test. I tried again this morning
and it crashed. Now, I am trying again to diagnose the problem, which
does not always happen. Here is what I did:

1) Logged in as user 1
2) Selected 'Switch User', it opens a new gdm scrren on tty3 (tty2 was
already opened by me manually)
3) Login as user2
4) Selected 'Switch User', it opens a new gdm screen on tty4
5) Go to tty3, using ctrl+alt+f3, and notice that the shell for user 2
has crashed.

I took a snapshot of the systemd-journal at every step. Here is a diff
of the snapshots between 4 and 5:

< -- Logs begin at Wed, 2013-05-01 11:20:00 CEST, end at Wed,
2013-05-01 11:26:14 CEST. --
---
> -- Logs begin at Wed, 2013-05-01 11:20:00 CEST, end at Wed, 2013-05-01 
> 11:27:00 CEST. --
1721a1722,1792
> May 01 11:26:41 linux-3xop.site /etc/gdm/Xsession[1089]: 
> (gnome-settings-daemon:1204): keyboard-plugin-WARNING **: Couldn't find XKB 
> input source 'ch+de'
> May 01 11:26:41 linux-3xop.site /etc/gdm/Xsession[1089]: 
> (gnome-settings-daemon:1204): keyboard-plugin-WARNING **: Couldn't find XKB 
> input source 'ch+de'
> May 01 11:26:41 linux-3xop.site /etc/gdm/Xsession[1089]: 
> (gnome-settings-daemon:1204): keyboard-plugin-WARNING **: Couldn't find XKB 
> input source 'ch+de'
> May 01 11:26:47 linux-3xop.site /etc/gdm/Xsession[1089]: 
> (gnome-settings-daemon:1204): color-plugin-WARNING **: failed to get devices: 
> The name org.freedesktop.ColorManager was not provided by any .service files
> May 01 11:26:49 linux-3xop.site /etc/gdm/Xsession[1899]: 
> (gnome-settings-daemon:2007): keyboard-plugin-WARNING **: Couldn't find XKB 
> input source 'ch+de'
> May 01 11:26:49 linux-3xop.site /etc/gdm/Xsession[1899]: 
> (gnome-settings-daemon:2007): keyboard-plugin-WARNING **: Couldn't find XKB 
> input source 'ch+de'
> May 01 11:26:49 linux-3xop.site /etc/gdm/Xsession[1899]: 
> (gnome-settings-daemon:2007): keyboard-plugin-WARNING **: Couldn't find XKB 
> input source 'ch+de'
> May 01 11:26:49 linux-3xop.site /etc/gdm/Xsession[1899]: 
> (gnome-settings-daemon:2007): color-plugin-WARNING **: failed to get devices: 
> The name org.freedesktop.ColorManager was not provided by any .service files
> May 01 11:26:55 linux-3xop.site dbus-daemon[554]: dbus[554]: [system] 
> Rejected send message, 2 matched rules; type="method_return", sender=":1.1" 
> (uid=0 pid=542 comm="/usr/lib/systemd/systemd-logind ") interface="(unset)" 
> member="(unset)" error name="(unset)" requested_reply="0" 
> destination=":1.116" (uid=1001 pid=1899 comm="/usr/bin/gnome-session ")
> May 01 11:26:55 linux-3xop.site dbus[554]: [system] Rejected send message, 2 
> matched rules; type="method_return", sender=":1.1" (uid=0 pid=542 
> comm="/usr/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" 
> error name="(unset)" requested_reply="0" destination=":1.116" (uid=1001 
> pid=1899 comm="/usr/bin/gnome-session ")
> May 01 11:26:55 linux-3xop.site dbus-daemon[554]: dbus[554]: [system] 
> Rejected send message, 1 matched rules; type="method_call", sender=":1.6" 
> (uid=0 pid=627 comm="/usr/sbin/gdm ") 
> interface="org.freedesktop.DBus.Properties" member="GetAll" error 
> name="(unset)" requested_reply="0" destination=":1.150" (uid=0 pid=2345 
> comm="/usr/lib/gdm/gdm-simple-slave --display-id /org/gn")
> May 01 11:26:55 linux-3xop.site dbus[554]: [system] Rejected send message, 1 
> matched rules; type="method_call", sender=":1.6" (uid=0 pid=627 
> comm="/usr/sbin/gdm ") interface="org.freedesktop.DBus.Properties" 
> member="GetAll" error name="(unset)" requested_reply="0" destination=":1.150" 
> (uid=0 pid=2345 comm="/usr/lib/gdm/gdm-simple-slave --display-id /org/gn")
> May 01 11:26:55 linux-3xop.site /etc/gdm/Xsession[1899]: (gnome-shell:2068): 
> Cogl-ERROR **: Failed to create an OpenGL framebuffer object
> May 01 11:26:55 linux-3xop.site kernel: traps: gnome-shell[2068] trap int3 
> ip:7f748933108f sp:7fffdb9647b0 error:0
> May 01 11:26:55 linux-3xop.site dbus-daemon[554]: dbus[554]: [system] 
> Rejected send message, 2 matched rules; type="method_return", sender=":1.1" 
> (uid=0 pid=542 comm="/usr/lib/systemd/systemd-logind ") interface="(unset)" 
> member="(unset)" error name="(unset)" requested_reply="0" 
> destination=":1.116" (uid=1001 pid=1899 comm="/usr/bin/gnome-session ")
> May 01 11:26:55 linux-3xop.site dbus[554]: [system] Rejected send message, 2 
> matched rules; type="method_return", sender=":1.1" (uid=0 pid=542 
> comm="/usr/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" 
> error name="(unset)" requested_reply="0" destination=":1.116" (uid=1001 
> pid=1899 comm="/usr/bin/gnome-session ")
> May 01 11:26:55 linux-3xop.site /etc/gdm/Xsession[1899]: gnome-session[1899]: 
> WARNING: Application 'gnome-shell.desktop' killed by signal 5
> May 01 11:26:55 linux-3xop.site gnome-session[1899]: WARNING: Application 
> 'gnome-shell.desktop' killed by signal 5
> May 01 11:26:55 linux-3xop.site /etc/gdm/Xsession[1899]: ** 
> (evolution-alarm-notify:2096): WARNING **: Can't load fallback CSS resource: 
> Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does 
> not exist
> May 01 11:26:55 linux-3xop.site /etc/gdm/Xsession[1899]: ** Message: applet 
> now removed from the notification area
> May 01 11:26:55 linux-3xop.site /etc/gdm/Xsession[1899]: ** (nm-applet:2115): 
> WARNING **: Can't load fallback CSS resource: Failed to import: The resource 
> at '/org/gnome/adwaita/gtk-fallback.css' does not exist
> May 01 11:26:55 linux-3xop.site /etc/gdm/Xsession[1899]: ** 
> (gnome-shell:2354): WARNING **: Can't load fallback CSS resource: Failed to 
> import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist
> May 01 11:26:55 linux-3xop.site xdm[555]: Failed to give slave programs 
> access to the display. Trying to proceed.
> May 01 11:26:55 linux-3xop.site NetworkManager[563]: <warn> error requesting 
> auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of 
> name ':1.141': no such name
> May 01 11:26:55 linux-3xop.site NetworkManager[563]: <warn> error requesting 
> auth for org.freedesktop.NetworkManager.wifi.share.open: (3) 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of 
> name ':1.141': no such name
> May 01 11:26:55 linux-3xop.site NetworkManager[563]: <warn> error requesting 
> auth for org.freedesktop.NetworkManager.enable-disable-network: (3) 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of 
> name ':1.141': no such name
> May 01 11:26:55 linux-3xop.site NetworkManager[563]: <warn> error requesting 
> auth for org.freedesktop.NetworkManager.sleep-wake: (3) 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of 
> name ':1.141': no such name
> May 01 11:26:55 linux-3xop.site NetworkManager[563]: <warn> error requesting 
> auth for org.freedesktop.NetworkManager.enable-disable-wifi: (3) 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of 
> name ':1.141': no such name
> May 01 11:26:55 linux-3xop.site NetworkManager[563]: <warn> error requesting 
> auth for org.freedesktop.NetworkManager.enable-disable-wwan: (3) 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of 
> name ':1.141': no such name
> May 01 11:26:55 linux-3xop.site NetworkManager[563]: <warn> error requesting 
> auth for org.freedesktop.NetworkManager.enable-disable-wimax: (3) 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of 
> name ':1.141': no such name
> May 01 11:26:55 linux-3xop.site NetworkManager[563]: <warn> error requesting 
> auth for org.freedesktop.NetworkManager.network-control: (3) 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of 
> name ':1.141': no such name
> May 01 11:26:55 linux-3xop.site NetworkManager[563]: <warn> error requesting 
> auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of 
> name ':1.141': no such name
> May 01 11:26:55 linux-3xop.site NetworkManager[563]: <warn> error requesting 
> auth for org.freedesktop.NetworkManager.wifi.share.open: (3) 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of 
> name ':1.141': no such name
> May 01 11:26:55 linux-3xop.site NetworkManager[563]: <warn> error requesting 
> auth for org.freedesktop.NetworkManager.settings.modify.system: (3) 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of 
> name ':1.141': no such name
> May 01 11:26:55 linux-3xop.site NetworkManager[563]: <warn> error requesting 
> auth for org.freedesktop.NetworkManager.settings.modify.own: (3) 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of 
> name ':1.141': no such name
> May 01 11:26:55 linux-3xop.site polkitd[625]: Unregistered Authentication 
> Agent for unix-session:5 (system bus name :1.140, object path 
> /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) 
> (disconnected from bus)
> May 01 11:26:55 linux-3xop.site NetworkManager[563]: <warn> error requesting 
> auth for org.freedesktop.NetworkManager.settings.modify.hostname: (3) 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: 
> GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of 
> name ':1.141': no such name
> May 01 11:26:55 linux-3xop.site gdm-launch-environment][2371]: 
> pam_unix(gdm-launch-environment:session): session opened for user gdm by 
> (uid=0)
> May 01 11:26:55 linux-3xop.site systemd-logind[542]: New session 6 of user 
> gdm.
> May 01 11:26:55 linux-3xop.site systemd-logind[542]: Linked /tmp/.X11-unix/X2 
> to /run/user/489/X11-display.
> May 01 11:26:55 linux-3xop.site /etc/gdm/Xsession[1899]: JS LOG: IBus version 
> is too old
> May 01 11:26:56 linux-3xop.site /etc/gdm/Xsession[1899]: (gnome-shell:2354): 
> Bluetooth-WARNING **: Could not open RFKILL control device, please verify 
> your installation
> May 01 11:26:56 linux-3xop.site polkitd[625]: Registered Authentication Agent 
> for unix-session:5 (system bus name :1.155 [/usr/bin/gnome-shell], object 
> path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
> May 01 11:26:56 linux-3xop.site gnome-session[2377]: Entering running state
> May 01 11:26:56 linux-3xop.site /etc/gdm/Xsession[1899]: JS LOG: GNOME Shell 
> started at Wed May 01 2013 11:26:56 GMT+0200 (CEST)
> May 01 11:26:56 linux-3xop.site rtkit-daemon[1029]: Successfully made thread 
> 2410 of process 2410 (/usr/bin/pulseaudio) owned by 'gdm' high priority at 
> nice level -11.
> May 01 11:26:56 linux-3xop.site rtkit-daemon[1029]: Supervising 9 threads of 
> 3 processes of 3 users.
> May 01 11:26:56 linux-3xop.site /etc/gdm/Xsession[1899]: ** Message: applet 
> now embedded in the notification area
> May 01 11:26:56 linux-3xop.site rtkit-daemon[1029]: Successfully made thread 
> 2434 of process 2434 (/usr/bin/pulseaudio) owned by 'gdm' high priority at 
> nice level -11.
> May 01 11:26:56 linux-3xop.site rtkit-daemon[1029]: Supervising 13 threads of 
> 4 processes of 3 users.
> May 01 11:26:56 linux-3xop.site pulseaudio[2434]: [pulseaudio] pid.c: Daemon 
> already running.
> May 01 11:26:56 linux-3xop.site /usr/bin/dbus-launch[2377]: 
> (gnome-settings-daemon:2399): color-plugin-WARNING **: There is no colord 
> server available
> May 01 11:26:56 linux-3xop.site /usr/bin/dbus-launch[2377]: JS LOG: IBus 
> version is too old
> May 01 11:26:57 linux-3xop.site polkitd[625]: Registered Authentication Agent 
> for unix-session:6 (system bus name :1.160 [gnome-shell --mode=gdm], object 
> path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
> May 01 11:26:57 linux-3xop.site /usr/bin/dbus-launch[2377]: JS LOG: GNOME 
> Shell started at Wed May 01 2013 11:26:57 GMT+0200 (CEST)
> May 01 11:26:57 linux-3xop.site /etc/gdm/Xsession[1899]: Window manager 
> warning: "XF86Help" is not a valid accelerator
> May 01 11:26:57 linux-3xop.site /etc/gdm/Xsession[1899]: JS LOG: Unable to 
> mount volume CDROM: Gio.IOErrorEnum: Not authorized to perform operation
> May 01 11:26:58 linux-3xop.site /etc/gdm/Xsession[1899]: (gnome-shell:2354): 
> Cogl-ERROR **: Failed to create an OpenGL framebuffer object
> May 01 11:26:58 linux-3xop.site kernel: traps: gnome-shell[2354] trap int3 
> ip:7f96eb00d08f sp:7fff552c0b60 error:0
> May 01 11:26:58 linux-3xop.site polkitd[625]: Unregistered Authentication 
> Agent for unix-session:5 (system bus name :1.155, object path 
> /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) 
> (disconnected from bus)
> May 01 11:26:58 linux-3xop.site gnome-session[1899]: WARNING: Application 
> 'gnome-shell.desktop' killed by signal 5
> May 01 11:26:58 linux-3xop.site gnome-session[1899]: WARNING: App 
> 'gnome-shell.desktop' respawning too quickly
> May 01 11:26:58 linux-3xop.site /etc/gdm/Xsession[1899]: gnome-session[1899]: 
> WARNING: Application 'gnome-shell.desktop' killed by signal 5
> May 01 11:26:58 linux-3xop.site /etc/gdm/Xsession[1899]: gnome-session[1899]: 
> WARNING: App 'gnome-shell.desktop' respawning too quickly
> May 01 11:26:58 linux-3xop.site gnome-session[1899]: Unrecoverable failure in 
> required component gnome-shell.desktop
> May 01 11:26:58 linux-3xop.site /etc/gdm/Xsession[1899]: ** Message: applet 
> now removed from the notification area
> May 01 11:26:58 linux-3xop.site /etc/gdm/Xsession[1899]: ** 
> (gnome-session-failed:2472): WARNING **: Can't load fallback CSS resource: 
> Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does 
> not exist
> May 01 11:26:58 linux-3xop.site goa[2039]: secret_password_lookup_sync() 
> returned NULL [goautils.c:210, goa_utils_lookup_credentials_sync()]
> May 01 11:26:58 linux-3xop.site goa[2039]: secret_password_lookup_sync() 
> returned NULL [goautils.c:210, goa_utils_lookup_credentials_sync()]
> May 01 11:26:58 linux-3xop.site goa[2039]: secret_password_lookup_sync() 
> returned NULL [goautils.c:210, goa_utils_lookup_credentials_sync()]
> May 01 11:27:00 linux-3xop.site /etc/gdm/Xsession[1899]: ** Message: Starting 
> applet secret agent because GNOME Shell disappeared


It is clear that the 'Log Out' message comes from the fact that the
gnome shell has crashed. I think this is the moment where it has
crashed:

polkitd[625]: Unregistered Authentication Agent for unix-session:5
(system bus name :1.155, object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
(disconnected from bus)
> May 01 11:26:58 linux-3xop.site gnome-session[1899]: WARNING: Application 
> 'gnome-shell.desktop' killed by signal 5
> May 01 11:26:58 linux-3xop.site gnome-session[1899]: WARNING: App 
> 'gnome-shell.desktop' respawning too quickly

So, I think the problem might be related to polkitd. Actually, this
problem has been reported on other distros too, for other versions of
gnome. For example:

https://bugs.launchpad.net/ubuntu/+source/policykit-1-gnome/+bug/970897

However, I have no idea how to fix the problem

  Valerio
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to