That's a known issue, see https://forum.snapcraft.io/t/cannot-open-
display-after-session-type-changed-wayland-x11/23838. The problem
appears to be partly in gnome-session
(https://gitlab.gnome.org/GNOME/gnome-session/-/issues/75), partly in
the snapcraft desktop extensions that assume a wayland session if
there's a lingering wayland socket
(https://github.com/snapcore/snapcraft/blob/main/extensions/desktop/common/desktop-
exports#L240).

It is not specific to the firefox snap, and it can be worked around by
running the apps with DISABLE_WAYLAND=1.

** Bug watch added: gitlab.gnome.org/GNOME/gnome-session/-/issues #75
   https://gitlab.gnome.org/GNOME/gnome-session/-/issues/75

** Package changed: firefox (Ubuntu) => gnome-session (Ubuntu)

** Also affects: gnome-session via
   https://gitlab.gnome.org/GNOME/gnome-session/-/issues/75
   Importance: Unknown
       Status: Unknown

** Also affects: snapcraft
   Importance: Undecided
       Status: New

** Summary changed:

- Firefox 98.0.1-2 snap doesn't start at all in Xorg sessions if a Wayland 
session has been used
+ Desktop snaps don't start at all in Xorg sessions if a Wayland session has 
been used

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-session in Ubuntu.
https://bugs.launchpad.net/bugs/1965113

Title:
  Desktop snaps don't start at all in Xorg sessions if a Wayland session
  has been used

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-session/+bug/1965113/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to