Wayland apps not starting under openSUSE Tumbleweed

Bug #1842615 reported by Timo Jyrinki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Fix Released
Medium
Zygmunt Krynicki

Bug Description

(this was discussed on IRC and a bug filed aftewards to track it)

Some apps fail to start under openSUSE Tumbleweed:

timo@linux-sde2:~> snap list
Name Version Rev Tracking Publisher Notes
...
discord 0.0.9 93 stable snapcrafters -
...
signal-desktop 1.26.2 127 stable snapcrafters -
spotify 1.1.10.546.ge08ef575-19 36 stable spotify✓ -
...

timo@linux-sde2:~> spotify
Warning: GTK2 does not support Wayland!
No protocol specified

(spotify:13403): Gtk-WARNING **: cannot open display: :0
timo@linux-sde2:~> signal-desktop
No protocol specified

(signal-desktop:13523): Gtk-WARNING **: 09:02:41.420: cannot open display: :0
timo@linux-sde2:~>

Abstract namespace socket is listened to by Xwayland:
timo@linux-sde2:/tmp> sudo ss -xl | grep X11
u_str LISTEN 0 1 @/tmp/.X11-unix/X0 49210 * 0
u_str LISTEN 0 1 /tmp/.X11-unix/X0 49211 * 0

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Confirmed locally after switching to wayland. The fix included one permission:

owner /run/user/*/mutter/Xauthority r,

I'll coordinate with Jamie for fixing this.

Changed in snappy:
assignee: nobody → Zygmunt Krynicki (zyga)
affects: snappy → snapd
Changed in snapd:
importance: Undecided → Medium
status: New → In Progress
description: updated
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

https://github.com/snapcore/snapd/blob/master/interfaces/builtin/x11.go#L131 already has:

owner /run/user/[0-9]*/.mutter-Xwaylandauth.* r,

Looks like Zygmunt's addition should be added under that.

Revision history for this message
Zygmunt Krynicki (zyga) wrote :
Zygmunt Krynicki (zyga)
Changed in snapd:
status: In Progress → Fix Committed
milestone: none → 2.42
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

The fix was released to tumbleweed now.

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Correction, this is cherry picked into 2.41-1, sorry for the confusion.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Confirming fixed on up-to-date Tumbleweed, thank you a lot!

Changed in snapd:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.