Bug#587794: gnome3-session: Fails to start Gnome Shell when /apps/gnome-session/options/auto_save_session is true

Javier Kohen jkohen at users.sourceforge.net
Thu Jul 1 17:18:00 UTC 2010


Package: gnome3-session
Version: 2.30.0-1
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm using gnome3-session as my log-in session, and Gnome Shell as my default WM. When I enable the saving of sessions with gnome-session-properties, the next time I log in, Gnome Shell won't load. If the option is disabled (and the old session removed), then Gnome Shell starts fine, but when I log out and back in the session is empty.

- From what I could observe, when the session with saved applications comes back up, two instances of mutter are launched and they compete with each other. One is the raw WM, the other loads Gnome Shell. The raw one always win the race, and in the mean time gnome-session tries to launch mutter with Gnome Shell over and over, not realizing that it's futile. Workaround: open a console and run
$ killall -9 gnome-shell mutter ; gnome-shell --replace &

I've set /desktop/gnome/session/required_components/windowmanager to gnome-wm and gnome-shell, both to no avail.

I'm attaching the process list from a fresh session and one with saved applications (just gnome-shell). Same for the top of the .xsession-errors file.

I'd love to put my workstation in sleep mode instead of power cycling it, but a bug in nVidia's driver (ack'd by upstream) causes significant performance drops on wake up from stand by, so that's not an option.


- -- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.34-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_AR.utf8, LC_CTYPE=es_AR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome3-session depends on:
ii  gconf2                        2.28.1-3   GNOME configuration database syste
ii  gnome-session-bin             2.30.0-1   The GNOME Session Manager - Minima
ii  gnome-session-common          2.30.0-1   Common files for the GNOME session
ii  gnome-settings-daemon         2.30.1-1   daemon handling the GNOME session 
ii  gnome-shell                   2.29.0-3   graphical shell for the GNOME desk
ii  nautilus                      2.30.1-1   file manager and graphical shell f
ii  policykit-1-gnome             0.96-2     GNOME authentication agent for Pol

Versions of packages gnome3-session recommends:
ii  gnome-power-manager           2.30.1-1   power management tool for the GNOM

Versions of packages gnome3-session suggests:
ii  desktop-base                  5.0.5      common files for the Debian Deskto
ii  gnome-keyring                 2.30.1-2   GNOME keyring services (daemon and
pn  gnome-user-guide              <none>     (no description available)

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkwszcQACgkQ823633cP2P+dYACgnIwqmEnQrOZZR4gff8xaRs7O
nEUAn2d2m+fvf8dwPtQsUr8zqpVrLTUE
=sUfS
-----END PGP SIGNATURE-----
-------------- next part --------------
/bin/bash
COMMAND
gnome-power-manager
gnome-pty-helper
gnome-screensaver
gnome-session --default-session-key /desktop/gnome/session/default_session3 --saved-session saved-session3
gnome-terminal --sm-client-id 10704ef72fc8047561127800391414654000000054810017 --sm-client-state-file /home/jkohen/.config/session-state/gnome-terminal-1278003923.desktop
mutter --sm-client-id 10704ef72fc8047561127800390351967500000054810015
nautilus --sm-client-id 10704ef72fc8047561127800390352236300000054810016 --sm-client-state-file /home/jkohen/.config/session-state/nautilus-1278003923.desktop
[nvidia-settings] <defunct>
ps x
/usr/bin/dbus-daemon --fork --print-pid 5 --print-address 9 --session
/usr/bin/dbus-launch --exit-with-session /usr/bin/seahorse-agent --execute gnome3-session
/usr/bin/gnome-keyring-daemon --daemonize --login
/usr/bin/python /usr/bin/gnome-shell
/usr/bin/seahorse-agent --execute gnome3-session
/usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /usr/bin/seahorse-agent --execute gnome3-session
/usr/lib/gnome-disk-utility/gdu-notification-daemon
/usr/lib/gnome-settings-daemon/gnome-settings-daemon
/usr/lib/gvfs/gvfs-afc-volume-monitor
/usr/lib/gvfs/gvfsd
/usr/lib/gvfs/gvfsd-burn --spawner :1.3 /org/gtk/gvfs/exec_spaw/1
/usr/lib/gvfs/gvfsd-metadata
/usr/lib/gvfs/gvfsd-trash --spawner :1.3 /org/gtk/gvfs/exec_spaw/0
/usr/lib/gvfs/gvfs-gdu-volume-monitor
/usr/lib/gvfs/gvfs-gphoto2-volume-monitor
/usr/lib/libgconf2-4/gconfd-2
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
[Xsession] <defunct>
-------------- next part --------------
/bin/bash
COMMAND
gnome-power-manager
gnome-pty-helper
gnome-screensaver
gnome-session --default-session-key /desktop/gnome/session/default_session3 --saved-session saved-session3
mutter --mutter-plugins=libgnome-shell
nautilus
[nvidia-settings] <defunct>
ps x
/usr/bin/dbus-daemon --fork --print-pid 5 --print-address 9 --session
/usr/bin/dbus-launch --exit-with-session /usr/bin/seahorse-agent --execute gnome3-session
/usr/bin/gnome-keyring-daemon --daemonize --login
/usr/bin/gnome-terminal -x /bin/sh -c cd '/home/jkohen' && exec $SHELL
/usr/bin/python /usr/bin/gnome-shell
/usr/bin/seahorse-agent --execute gnome3-session
/usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /usr/bin/seahorse-agent --execute gnome3-session
/usr/lib/gnome-disk-utility/gdu-notification-daemon
/usr/lib/gnome-settings-daemon/gnome-settings-daemon
/usr/lib/gvfs/gvfs-afc-volume-monitor
/usr/lib/gvfs/gvfsd
/usr/lib/gvfs/gvfsd-burn --spawner :1.3 /org/gtk/gvfs/exec_spaw/1
/usr/lib/gvfs/gvfsd-metadata
/usr/lib/gvfs/gvfsd-trash --spawner :1.3 /org/gtk/gvfs/exec_spaw/0
/usr/lib/gvfs/gvfs-gdu-volume-monitor
/usr/lib/gvfs/gvfs-gphoto2-volume-monitor
/usr/lib/libgconf2-4/gconfd-2
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
[Xsession] <defunct>
-------------- next part --------------
/etc/gdm3/Xsession: Beginning session setup...
GNOME_KEYRING_CONTROL=/tmp/keyring-ZVnreh
GNOME_KEYRING_CONTROL=/tmp/keyring-ZVnreh
GNOME_KEYRING_CONTROL=/tmp/keyring-ZVnreh
SSH_AUTH_SOCK=/tmp/keyring-ZVnreh/ssh
Advertencia del gestor de ventanas: La ventana 0 en la pantalla ?:0.0? ya tiene un gestor de ventanas, intente usar la opci?n ?--replace? para reemplazar el gestor de ventanas activo.

(polkit-gnome-authentication-agent-1:5802): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'

(polkit-gnome-authentication-agent-1:5802): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
Initializing nautilus-gdu extension
Initializing nautilus-open-terminal extension
Initializing nautilus-image-converter extension
Advertencia del gestor de ventanas: La ventana 0 en la pantalla ?:0.0? ya tiene un gestor de ventanas, intente usar la opci?n ?--replace? para reemplazar el gestor de ventanas activo.
Advertencia del gestor de ventanas: La ventana 0 en la pantalla ?:0.0? ya tiene un gestor de ventanas, intente usar la opci?n ?--replace? para reemplazar el gestor de ventanas activo.
[The last error repeats ad infinitum.]
-------------- next part --------------
/etc/gdm3/Xsession: Beginning session setup...
GNOME_KEYRING_CONTROL=/tmp/keyring-jnPrma
GNOME_KEYRING_CONTROL=/tmp/keyring-jnPrma
GNOME_KEYRING_CONTROL=/tmp/keyring-jnPrma
SSH_AUTH_SOCK=/tmp/keyring-jnPrma/ssh

(polkit-gnome-authentication-agent-1:5236): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'

(polkit-gnome-authentication-agent-1:5236): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
Initializing nautilus-gdu extension
Initializing nautilus-open-terminal extension
Initializing nautilus-image-converter extension

** (nautilus:5232): WARNING **: Can not get _NET_WORKAREA

** (nautilus:5232): WARNING **: Can not determine workarea, guessing at layout
      JS LOG: GNOME Shell started at Thu Jul 01 2010 19:02:06 GMT+0200 (CET)


More information about the pkg-gnome-maintainers mailing list