Bug#958025: gnome-shell: Wayland session never starts

Sam Morris sam at robots.org.uk
Fri Apr 17 15:48:51 BST 2020


Package: gnome-shell
Version: 3.36.1-5
Severity: important

Since upgrading to 3.36, once GDM starts the login screen does not for
90 seconds. During this time trying to switch to a different VTY with
Ctrl+Alt+F5 etc. doesn't work.

With 'journalctl _UID=$(id -u Debian-gdm)' I see:

    Apr 17 15:16:09 systemd[20957]: gnome-session.target: Requested dependency OnFailure=gnome-session-failed.target ignored (target units cannot fail).
    Apr 17 15:16:09 systemd[20957]: gnome-session-pre.target: Requested dependency OnFailure=gnome-session-shutdown.target ignored (target units cannot fail).
    Apr 17 15:16:09 systemd[20957]: gnome-session-initialized.target: Requested dependency OnFailure=gnome-session-shutdown.target ignored (target units cannot fail).
    Apr 17 15:16:09 systemd[20957]: gnome-session at gnome-initial-setup.target: Requested dependency OnFailure=gnome-session-failed.target ignored (target units cannot fail).
    Apr 17 15:16:09 systemd[20957]: gnome-session-failed.target: Requested dependency OnFailure=gnome-session-shutdown.target ignored (target units cannot fail).
    Apr 17 15:16:09 systemd[20957]: gnome-session-wayland.target: Requested dependency OnFailure=gnome-session-shutdown.target ignored (target units cannot fail).
    Apr 17 15:16:09 systemd[20957]: gnome-session at gnome-login.target: Requested dependency OnFailure=gnome-session-failed.target ignored (target units cannot fail).
    Apr 17 15:16:09 gnome-session[26371]: gnome-session-binary[26371]: WARNING: Error creating FIFO: File exists
    Apr 17 15:16:09 systemd[20957]: Reached target Session services which should run early before the graphical session is brought up.
    Apr 17 15:16:09 gnome-session-binary[26371]: WARNING: Error creating FIFO: File exists
    Apr 17 15:16:09 systemd[20957]: Starting Monitor Session leader for GNOME Session...
    Apr 17 15:16:09 systemd[20957]: Started Monitor Session leader for GNOME Session.
    Apr 17 15:16:09 systemd[20957]: Reached target Tasks to be run before GNOME Session starts.
    Apr 17 15:16:09 gnome-session-c[26378]: Error creating FIFO: File exists
    Apr 17 15:16:09 systemd[20957]: Starting GNOME Session Manager (session: gnome-login)...
    Apr 17 15:16:09 gnome-session[26380]: gnome-session-binary[26380]: WARNING: Could not parse desktop file orca-autostart.desktop or it references a not found TryExec binary
    Apr 17 15:16:09 gnome-session-binary[26380]: WARNING: Could not parse desktop file orca-autostart.desktop or it references a not found TryExec binary
    Apr 17 15:16:09 systemd[20957]: Started GNOME Session Manager (session: gnome-login).
    Apr 17 15:16:09 systemd[20957]: Reached target GNOME Session Manager is ready.
    Apr 17 15:16:09 systemd[20957]: Starting GNOME Shell on Wayland...
    Apr 17 15:16:09 gnome-shell[26385]: Failed to obtain high priority context
    Apr 17 15:16:09 gnome-shell[26385]: Failed to obtain high priority context

... then the delay, then:

    Apr 17 15:17:39 systemd[20957]: gnome-shell-wayland.service: start operation timed out. Terminating.
    Apr 17 15:17:44 systemd[20957]: gnome-shell-wayland.service: State 'stop-sigterm' timed out. Killing.
    Apr 17 15:17:44 systemd[20957]: gnome-shell-wayland.service: Killing process 26385 (gnome-shell) with signal SIGKILL.
    Apr 17 15:17:44 systemd[20957]: gnome-shell-wayland.service: Killing process 26389 (gdbus) with signal SIGKILL.
    Apr 17 15:17:44 systemd[20957]: gnome-shell-wayland.service: Main process exited, code=killed, status=9/KILL
    Apr 17 15:17:44 systemd[20957]: gnome-shell-wayland.service: Failed with result 'timeout'.
    Apr 17 15:17:44 systemd[20957]: Failed to start GNOME Shell on Wayland.
    Apr 17 15:17:44 systemd[20957]: Dependency failed for GNOME Shell on Wayland.
    Apr 17 15:17:44 systemd[20957]: Dependency failed for GNOME Wayland Session.
    Apr 17 15:17:44 systemd[20957]: Dependency failed for GNOME Wayland Session (session: gnome-login).
    Apr 17 15:17:44 systemd[20957]: gnome-session-wayland at gnome-login.target: Job gnome-session-wayland at gnome-login.target/start failed with result 'dependency'.
    Apr 17 15:17:44 systemd[20957]: gnome-session-wayland.target: Job gnome-session-wayland.target/start failed with result 'dependency'.
    Apr 17 15:17:44 systemd[20957]: gnome-shell-wayland.target: Job gnome-shell-wayland.target/start failed with result 'dependency'.

I don't know of a good way to debug what is causing gnome-shell to get
stuck. I did get this backtrace from it:

    #0  0x00007f24c9031b4f in __GI___poll (fds=0x7ffd85431130, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29                                               
    #1  0x00007f24c5d2ed97 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1                                                                                           
    #2  0x00007f24c5d2cb31 in xcb_connect_to_fd () from /usr/lib/x86_64-linux-gnu/libxcb.so.1                                                                            
    #3  0x00007f24c5d30ac2 in xcb_connect_to_display_with_auth_info () from /usr/lib/x86_64-linux-gnu/libxcb.so.1                                                        
    #4  0x00007f24c8acfdb2 in _XConnectXCB () from /usr/lib/x86_64-linux-gnu/libX11.so.6                                                                                 
    #5  0x00007f24c8ac0972 in XOpenDisplay () from /usr/lib/x86_64-linux-gnu/libX11.so.6                                                                                 
    #6  0x00007f24c761e074 in atspi_get_a11y_bus () from /usr/lib/x86_64-linux-gnu/libatspi.so.0                                                                         
    #7  0x00007f24c954260c in atk_bridge_adaptor_init () from /usr/lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0                                                           
    #8  0x00005639d6a786c7 in ?? ()                                                                                                                                      
    #9  0x00007f24c8f65e0b in __libc_start_main (main=0x5639d6a78470, argc=1, argv=0x7ffd854316b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
	stack_end=0x7ffd854316a8) at ../csu/libc-start.c:308                                                                                                             
    #10 0x00005639d6a78a1a in ?? ()                                                                                                                                      

... it seems suspicious that trying to connect to (presumably) Xwayland
on the login screen, but I no longer have a working wayland-based login
screen to check. :)

-- System Information:
Debian Release: 10.3
  APT prefers stable-debug
  APT policy: (570, 'stable-debug'), (570, 'stable'), (550, 'testing-debug'), (550, 'testing'), (530, 'unstable-debug'), (530, 'unstable'), (500, 'stable-updates'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.5.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_USER
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: default

Versions of packages gnome-shell depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.30.1-2
ii  evolution-data-server                        3.36.1-1
ii  gir1.2-accountsservice-1.0                   0.6.45-2
ii  gir1.2-atspi-2.0                             2.30.0-7
ii  gir1.2-freedesktop                           1.64.1-1
ii  gir1.2-gcr-3                                 3.28.1-1
ii  gir1.2-gdesktopenums-3.0                     3.36.0-1
ii  gir1.2-gdm-1.0                               3.34.1-3
ii  gir1.2-geoclue-2.0                           2.5.2-1
ii  gir1.2-glib-2.0                              1.64.1-1
ii  gir1.2-gnomebluetooth-1.0                    3.28.2-4~deb10u1
ii  gir1.2-gnomedesktop-3.0                      3.36.1-2
ii  gir1.2-gtk-3.0                               3.24.5-1
ii  gir1.2-gweather-3.0                          3.28.2-2
ii  gir1.2-ibus-1.0                              1.5.22-4
ii  gir1.2-mutter-6                              3.36.1-4
ii  gir1.2-nm-1.0                                1.14.6-2+deb10u1
ii  gir1.2-nma-1.0                               1.8.20-1.1
ii  gir1.2-pango-1.0                             1.42.4-7~deb10u1
ii  gir1.2-polkit-1.0                            0.105-25
ii  gir1.2-rsvg-2.0                              2.44.10-2.1
ii  gir1.2-soup-2.4                              2.64.2-2
ii  gir1.2-upowerglib-1.0                        0.99.10-1
ii  gjs                                          1.64.1-3
ii  gnome-backgrounds                            3.36.0-1
ii  gnome-settings-daemon                        3.36.0-1+b1
ii  gnome-shell-common                           3.36.1-5
ii  gsettings-desktop-schemas                    3.36.0-1
ii  libatk-bridge2.0-0                           2.30.0-5
ii  libatk1.0-0                                  2.36.0-2
ii  libc6                                        2.30-4
ii  libcairo2                                    1.16.0-4
ii  libecal-2.0-1                                3.36.1-1
ii  libedataserver-1.2-24                        3.36.1-1
ii  libgcr-base-3-1                              3.28.1-1
ii  libgdk-pixbuf2.0-0                           2.38.1+dfsg-1
ii  libgirepository-1.0-1                        1.64.1-1
ii  libgjs0g                                     1.64.1-3
ii  libgles2                                     1.1.0-1
ii  libglib2.0-0                                 2.64.1-1
ii  libglib2.0-bin                               2.64.1-1
ii  libgnome-autoar-0-0                          0.2.3-2
ii  libgnome-desktop-3-19                        3.36.1-2
ii  libgraphene-1.0-0                            1.10.0-1
ii  libgstreamer1.0-0                            1.16.2-2
ii  libgtk-3-0                                   3.24.5-1
ii  libical3                                     3.0.8-1
ii  libjson-glib-1.0-0                           1.4.4-2
ii  libmutter-6-0                                3.36.1-4
ii  libnm0                                       1.14.6-2+deb10u1
ii  libpango-1.0-0                               1.44.7-3
ii  libpangocairo-1.0-0                          1.44.7-3
ii  libpolkit-agent-1-0                          0.105-25
ii  libpolkit-gobject-1-0                        0.105-25
ii  libpulse-mainloop-glib0                      12.2-4+deb10u1
ii  libpulse0                                    12.2-4+deb10u1
ii  libsecret-1-0                                0.18.7-1
ii  libsystemd0                                  245.4-4
ii  libwayland-server0                           1.16.0-1
ii  libx11-6                                     2:1.6.7-1
ii  libxfixes3                                   1:5.0.3-1
ii  mutter                                       3.36.1-4
ii  python3                                      3.8.2-3

Versions of packages gnome-shell recommends:
ii  bolt                  0.8-4
ii  chrome-gnome-shell    10.1-5
ii  gdm3                  3.34.1-3
ii  gkbd-capplet          3.26.1-1
ii  gnome-control-center  1:3.36.1-1+b1
ii  gnome-menus           3.31.4-3
ii  gnome-user-docs       3.30.2-1
ii  ibus                  1.5.22-4
ii  iio-sensor-proxy      2.4-2
ii  switcheroo-control    1.2-2
ii  unzip                 6.0-23+deb10u1

Versions of packages gnome-shell suggests:
pn  gir1.2-telepathyglib-0.12   <none>
pn  gir1.2-telepathylogger-0.2  <none>

Versions of packages gnome-session depends on:
ii  gnome-session-bin      3.36.0-2
ii  gnome-session-common   3.36.0-2
ii  gnome-settings-daemon  3.36.0-1+b1

Versions of packages gnome-session suggests:
ii  desktop-base   10.0.2
ii  gnome-keyring  3.28.2-5

Versions of packages gnome-settings-daemon depends on:
ii  gnome-settings-daemon-common  3.36.0-1
ii  gsettings-desktop-schemas     3.36.0-1
ii  libasound2                    1.1.8-1
ii  libc6                         2.30-4
ii  libcairo2                     1.16.0-4
ii  libcanberra-gtk3-0            0.30-7
ii  libcanberra0                  0.30-7
ii  libcolord2                    1.4.3-4
ii  libcups2                      2.3.1-11
ii  libfontconfig1                2.13.1-2
ii  libgcr-base-3-1               3.28.1-1
ii  libgdk-pixbuf2.0-0            2.38.1+dfsg-1
ii  libgeoclue-2-0                2.5.2-1
ii  libgeocode-glib0              3.26.1-1
ii  libglib2.0-0                  2.64.1-1
ii  libgnome-desktop-3-19         3.36.1-2
ii  libgtk-3-0                    3.24.5-1
ii  libgudev-1.0-0                232-2
ii  libgweather-3-16              3.36.0-1
ii  liblcms2-2                    2.9-3
ii  libmm-glib0                   1.10.0-1
ii  libnm0                        1.14.6-2+deb10u1
ii  libnotify4                    0.7.7-4
ii  libnspr4                      2:4.25-1
ii  libnss3                       2:3.51-1
ii  libpam-systemd [logind]       245.4-4
ii  libpango-1.0-0                1.44.7-3
ii  libpangocairo-1.0-0           1.44.7-3
ii  libpolkit-gobject-1-0         0.105-25
ii  libpulse-mainloop-glib0       12.2-4+deb10u1
ii  libpulse0                     12.2-4+deb10u1
ii  libupower-glib3               0.99.10-1
ii  libwacom2                     1.3-2
ii  libwayland-client0            1.16.0-1
ii  libx11-6                      2:1.6.7-1
ii  libxext6                      2:1.3.3-1+b2
ii  libxi6                        2:1.7.9-1
ii  x11-xserver-utils             7.7+8

Versions of packages gnome-settings-daemon recommends:
ii  iio-sensor-proxy  2.4-2
ii  pulseaudio        12.2-4+deb10u1

Versions of packages gnome-settings-daemon suggests:
ii  usbguard  0.7.4+ds-1+b1

Versions of packages libgjs0g depends on:
ii  libc6                  2.30-4
ii  libcairo-gobject2      1.16.0-4
ii  libcairo2              1.16.0-4
ii  libffi7                3.3-4
ii  libgcc-s1              10-20200324-1
ii  libgirepository-1.0-1  1.64.1-1
ii  libglib2.0-0           2.64.1-1
ii  libmozjs-68-0          68.6.0-2
ii  libreadline8           8.0-4
ii  libstdc++6             10-20200324-1
ii  libx11-6               2:1.6.7-1

Versions of packages gnome-shell is related to:
ii  libegl-mesa0 [libegl-vendor]  18.3.6-2+deb10u1
ii  libgl1-mesa-dri               18.3.6-2+deb10u1
ii  libglx-mesa0 [libglx-vendor]  20.0.4-2

-- no debconf information



More information about the pkg-gnome-maintainers mailing list