← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2054873] Re: Connection to xwayland lost / Xwayland terminated, exiting since it was mandatory

 

The issue is still present on Ubuntu 25.10. From journalctl:

systemd[1947]: Stopped org.gnome.SettingsDaemon.XSettings.service - GNOME XSettings service.
systemd[1947]: Stopped target gnome-session-x11-services.target - GNOME session X11 services.
systemd[1947]: Stopped org.gnome.SettingsDaemon.UsbProtection.service - GNOME USB protection service.
systemd[1947]: Stopped target gnome-session-initialized.target - GNOME Session is initialized.
systemd[1947]: Stopped target org.gnome.Shell.target - GNOME Shell.
systemd[1947]: Stopping org.gnome.Shell@wayland.service - GNOME Shell on Wayland...
gnome-shell[2225]: Connection to xwayland lost
gnome-shell[2225]: Shutting down GNOME Shell

Then the GUI is freezing. Sometimes with black screen, sometimes with
moveable mouse cursor, but no clicks or keyboard presses are working
anymore -> I have to reset the computer.

** Changed in: xwayland (Ubuntu)
       Status: Expired => Confirmed

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to xwayland in Ubuntu.
https://bugs.launchpad.net/bugs/2054873

Title:
  Connection to xwayland lost / Xwayland terminated, exiting since it
  was mandatory

Status in xwayland package in Ubuntu:
  Confirmed

Bug description:
  Hi Kernel Team,

  I notice this today when using Ubuntu 24.04 Noble.
  Xwayland session crashed while I was using the laptop.

  My kernel is: 6.8.0-rc4-realtime-rt4

  I notice this: (../src/core/meta-
  context.c:533):meta_context_terminate: runtime check failed:
  (g_main_loop_is_running (priv->main_loop))

  # journalctl -b --no-pager --no-hostname | grep "gnome-shell\[3017\]"
  Feb 24 13:21:13 gnome-shell[3017]: Running GNOME Shell (using mutter 45.3) as a Wayland display server
  Feb 24 13:21:13 gnome-shell[3017]: Made thread 'KMS thread' realtime scheduled
  Feb 24 13:21:14 gnome-shell[3017]: Device '/dev/dri/card1' prefers shadow buffer
  Feb 24 13:21:14 gnome-shell[3017]: Added device '/dev/dri/card1' (amdgpu) using atomic mode setting.
  Feb 24 13:21:14 gnome-shell[3017]: Created gbm renderer for '/dev/dri/card1'
  Feb 24 13:21:14 gnome-shell[3017]: Boot VGA GPU /dev/dri/card1 selected as primary
  Feb 24 13:21:14 gnome-shell[3017]: Obtained a high priority EGL context
  Feb 24 13:21:14 gnome-shell[3017]: Obtained a high priority EGL context
  Feb 24 13:21:14 gnome-shell[3017]: Using public X11 display :1024, (using :1025 for managed services)
  Feb 24 13:21:14 gnome-shell[3017]: Using Wayland display name 'wayland-0'
  Feb 24 13:21:15 gnome-shell[3017]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
  Feb 24 13:21:15 gnome-shell[3017]: Will monitor session c1
  Feb 24 13:21:15 gnome-shell[3017]: Extension ding@xxxxxxxxxxxxxx already installed in /usr/share/gnome-shell/extensions/ding@xxxxxxxxxxxxxx. /usr/share/gnome-shell/extensions/ding@xxxxxxxxxxxxxx will not be loaded
  Feb 24 13:21:15 gnome-shell[3017]: Extension tiling-assistant@xxxxxxxxxx already installed in /usr/share/gnome-shell/extensions/tiling-assistant@xxxxxxxxxx. /usr/share/gnome-shell/extensions/tiling-assistant@xxxxxxxxxx will not be loaded
  Feb 24 13:21:15 gnome-shell[3017]: Extension ubuntu-appindicators@xxxxxxxxxx already installed in /usr/share/gnome-shell/extensions/ubuntu-appindicators@xxxxxxxxxx. /usr/share/gnome-shell/extensions/ubuntu-appindicators@xxxxxxxxxx will not be loaded
  Feb 24 13:21:15 gnome-shell[3017]: Extension ubuntu-dock@xxxxxxxxxx already installed in /usr/share/gnome-shell/extensions/ubuntu-dock@xxxxxxxxxx. /usr/share/gnome-shell/extensions/ubuntu-dock@xxxxxxxxxx will not be loaded
  Feb 24 13:21:15 gnome-shell[3017]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
  Feb 24 13:21:15 gnome-shell[3017]: Failed to open sliced image: The resource at “/org/gnome/shell/theme/process-working-dark.svg” does not exist
  Feb 24 13:21:16 gnome-shell[3017]: Failed to open sliced image: The resource at “/org/gnome/shell/theme/process-working-dark.svg” does not exist
  Feb 24 13:21:16 gnome-shell[3017]: Gio.IOErrorEnum: GDBus.Error:net.reactivated.Fprint.Error.NoSuchDevice: No devices available
  Feb 24 13:21:16 gnome-shell[3017]: Registering session with GDM
  Feb 24 13:21:18 gnome-shell[3017]: Gio.IOErrorEnum: GDBus.Error:net.reactivated.Fprint.Error.NoSuchDevice: No devices available
  Feb 24 13:21:25 gnome-shell[3017]: Connection to xwayland lost
  Feb 24 13:21:25 gnome-shell[3017]: Xwayland terminated, exiting since it was mandatory
  Feb 24 13:21:25 gnome-shell[3017]: (../src/core/meta-context.c:533):meta_context_terminate: runtime check failed: (g_main_loop_is_running (priv->main_loop))
  Feb 24 13:21:25 gnome-shell[3017]: JS ERROR: Gio.IOErrorEnum: Xwayland exited unexpectedly
  Feb 24 13:21:25 gnome-shell[3017]: Execution of main.js threw exception: Module resource:///org/gnome/shell/ui/init.js threw an exception

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xwayland/+bug/2054873/+subscriptions