It looks like the presence of environment $WAYLAND_DISPLAY should work.

You can't rely on $DISPLAY to detect X11 because that exists in both
Xorg and Wayland sessions thanks to Xwayland.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to