Bug#724496: gnome-shell: greeter: crash at startup before login because $XDG_SESSION_ID is NULL

Alban Crequy alban.crequy at collabora.co.uk
Tue Sep 24 11:06:11 UTC 2013


Package: gnome-shell
Version: 3.8.4-1
Severity: important

Dear Maintainer,

After upgrading from gnome 3.4 to the last version in experimental, the GDM
greeter crashes at startup and the screen remains black; I only see the mouse
pointer so I am unable to login.

/var/log/gdm3/:0-greeter.log.1 contains a JS exception in
getCurrentSessionProxy() from loginManager.js:

--------8<----------------
gnome-session[3721]: WARNING: Failed isActive call to ConsoleKit: Method "IsActive" with signature "" on interface "org.freedesktop.ConsoleKit.Manager" doesn't exist

openConnection: connect: No such file or directory
cannot connect to brltty at :0

    JS ERROR: !!!   Exception in callback for signal: sessions-loaded
    JS ERROR: !!!     message = '"Argument 'string' (type utf8) may not be null"'
    JS ERROR: !!!     fileName = '"/usr/share/gjs-1.0/overrides/GLib.js"'
    JS ERROR: !!!     lineNumber = '105'
    JS ERROR: !!!     stack = '"_pack_variant([object Array],null)@/usr/share/gjs-1.0/overrides/GLib.js:105
_pack_variant([object Array],[object Array])@/usr/share/gjs-1.0/overrides/GLib.js:152
("(s)",[object Array])@/usr/share/gjs-1.0/overrides/GLib.js:262
_proxyInvoker("GetSession",false,[object Array],[object Array])@/usr/share/gjs-1.0/overrides/Gio.js:79
(null,function () {[native code]})@/usr/share/gjs-1.0/overrides/Gio.js:125
(function () {[native code]})@/usr/share/gnome-shell/js/misc/loginManager.js:155
wrapper(function () {[native code]})@/usr/share/gjs-1.0/lang.js:213
()@/usr/share/gnome-shell/js/ui/screenShield.js:517
wrapper()@/usr/share/gjs-1.0/lang.js:213
()@/usr/share/gjs-1.0/lang.js:154
()@/usr/share/gjs-1.0/lang.js:248
_initializeUI()@/usr/share/gnome-shell/js/ui/main.js:163
_sessionsLoaded([object Object])@/usr/share/gnome-shell/js/ui/main.js:109
_emit("sessions-loaded")@/usr/share/gjs-1.0/signals.js:124
([object Object])@/usr/share/gnome-shell/js/ui/sessionMode.js:172
done()@/usr/share/gnome-shell/js/misc/fileUtils.js:33
([object Array])@/usr/share/gnome-shell/js/misc/fileUtils.js:51
onNextFileComplete([object GObject_Object],[object GObject_Object])@/usr/share/gnome-shell/js/misc/fileUtils.js:21
"'

(gnome-shell:3911): GLib-GIO-WARNING **: Type of return value is incorrect: expected `(b)', got `()''
--------8<----------------

I added some debugs in /usr/share/gnome-shell/js/misc/loginManager.js so I can
see that GLib.getenv('XDG_SESSION_ID') is NULL, hence the exception in
loginManager.js in getCurrentSessionProxy().

It got fixed by installing 1 package: libpam-systemd, which was not installed.
I suspect that a dependency to libpam-systemd was missing because it works fine
now.

-- System Information:
Debian Release: jessie/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnome-shell depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.16.1-1
ii  evolution-data-server                        3.8.5-2
ii  gdm3                                         3.8.4-1
ii  gir1.2-accountsservice-1.0                   0.6.34-2
ii  gir1.2-caribou-1.0                           0.4.12-1
ii  gir1.2-clutter-1.0                           1.14.4-3
ii  gir1.2-freedesktop                           1.36.0-2+b1
ii  gir1.2-gcr-3                                 3.8.2-4
ii  gir1.2-gkbd-3.0                              3.6.0-1
ii  gir1.2-glib-2.0                              1.36.0-2+b1
ii  gir1.2-gmenu-3.0                             3.8.0-2
ii  gir1.2-gnomebluetooth-1.0                    3.8.1-2
ii  gir1.2-gnomedesktop-3.0                      3.8.4-1
ii  gir1.2-gtk-3.0                               3.8.4-1
ii  gir1.2-ibus-1.0                              1.5.3-7
ii  gir1.2-mutter-3.0                            3.8.3-1
ii  gir1.2-networkmanager-1.0                    0.9.8.0-5
ii  gir1.2-nmgtk-1.0                             0.9.8.4-1
ii  gir1.2-pango-1.0                             1.32.5-5+b1
ii  gir1.2-polkit-1.0                            0.105-3
ii  gir1.2-soup-2.4                              2.42.2-6
ii  gir1.2-telepathyglib-0.12                    0.20.4-1
ii  gir1.2-telepathylogger-0.2                   0.8.0-2
ii  gir1.2-upowerglib-1.0                        0.9.21-3
ii  gjs                                          1.36.1-2
ii  gnome-bluetooth                              3.8.1-2
ii  gnome-icon-theme-symbolic                    3.8.2.2-2
ii  gnome-settings-daemon                        3.8.5-1
ii  gnome-shell-common                           3.8.4-1
ii  gnome-themes-standard                        3.8.4-1
ii  gsettings-desktop-schemas                    3.8.0-1
ii  libatk-bridge2.0-0                           2.9.5-2
ii  libatk1.0-0                                  2.8.0-2
ii  libc6                                        2.17-93
ii  libcairo-gobject2                            1.12.16-2
ii  libcairo2                                    1.12.16-2
ii  libcamel-1.2-43                              3.8.5-2
ii  libcanberra-gtk3-0                           0.30-2
ii  libcanberra0                                 0.30-2
ii  libclutter-1.0-0                             1.14.4-3
ii  libcogl-pango12                              1.14.0-3
ii  libcogl12                                    1.14.0-3
ii  libcroco3                                    0.6.8-2
ii  libdbus-1-3                                  1.7.2-1
ii  libdbus-glib-1-2                             0.100.2-1
ii  libecal-1.2-15                               3.8.5-2
ii  libedataserver-1.2-17                        3.8.5-2
ii  libegl1-mesa [libegl1-x11]                   9.1.6-2+b1
ii  libgck-1-0                                   3.8.2-4
ii  libgcr-base-3-1                              3.8.2-4
ii  libgdk-pixbuf2.0-0                           2.28.2-1
ii  libgirepository-1.0-1                        1.36.0-2+b1
ii  libgjs0c [libgjs0-libmozjs185-1.0]           1.36.1-2
ii  libglib2.0-0                                 2.36.4-1
ii  libgnome-menu-3-0                            3.8.0-2
ii  libgstreamer1.0-0                            1.0.10-1
ii  libgtk-3-0                                   3.8.4-1
ii  libical0                                     0.48-2
ii  libjson-glib-1.0-0                           0.16.0-1
ii  libmozjs185-1.0                              1.8.5-1.0.0+dfsg-4+b1
ii  libmutter0b                                  3.8.3-1
ii  libnm-glib4                                  0.9.8.0-5
ii  libnm-gtk0                                   0.9.8.4-1
ii  libnm-util2                                  0.9.8.0-5
ii  libnspr4                                     2:4.10-1
ii  libnspr4-0d                                  2:4.10-1
ii  libnss3                                      2:3.15.1-1
ii  libnss3-1d                                   2:3.15.1-1
ii  libp11-kit0                                  0.18.5-3
ii  libpango-1.0-0                               1.32.5-5+b1
ii  libpangocairo-1.0-0                          1.32.5-5+b1
ii  libpolkit-agent-1-0                          0.105-3
ii  libpolkit-gobject-1-0                        0.105-3
ii  libpulse-mainloop-glib0                      4.0-6+b1
ii  libpulse0                                    4.0-6+b1
ii  libsecret-1-0                                0.15-2
ii  libsoup2.4-1                                 2.42.2-6
ii  libsqlite3-0                                 3.8.0.2-1
ii  libstartup-notification0                     0.12-3
ii  libtelepathy-glib0                           0.20.4-1
ii  libx11-6                                     2:1.6.1-1
ii  libxcomposite1                               1:0.4.4-1
ii  libxdamage1                                  1:1.1.4-1
ii  libxext6                                     2:1.3.2-1
ii  libxfixes3                                   1:5.0.1-1
ii  libxi6                                       2:1.7.2-1
ii  libxml2                                      2.9.1+dfsg1-3
ii  libxrandr2                                   2:1.4.1-1
ii  python                                       2.7.5-5
ii  telepathy-mission-control-5                  1:5.15.1-1

Versions of packages gnome-shell recommends:
ii  gkbd-capplet          3.6.0-1
ii  gnome-contacts        3.8.3-1
ii  gnome-control-center  1:3.8.3-2
ii  gnome-user-guide      3.8.2-1
ii  unzip                 6.0-9

gnome-shell suggests no packages.

-- no debconf information



More information about the pkg-gnome-maintainers mailing list