Desktop snaps are not working in KDE

Simon Fels simon.fels at canonical.com
Thu Mar 30 13:07:43 UTC 2017


On 29.03.2017 18:40, Simon Fels wrote:
> Hey everyone,
> 
> we currently see bug reports (e.g.
> https://bugzilla.opensuse.org/show_bug.cgi?id=1031501) that certain
> snaps are not working in KDE on openSUSE (42.2 / Tumbleweed). On the
> same distribution, when I run the snaps within Gnome, everything works
> as it should and the applications are starting up.
> 
> I didn't looked much into the details yet. keepassxc is one of the snaps
> which fail to start:
> 
> simon at linux-82h5:~> keepassxc
> No protocol specified
> QXcbConnection: Could not connect to display :0
> Aborted
> 
> As those snaps include Qt/GTK libraries from Ubuntu I can only guess
> that there are some incompatibilities between KDE on openSUSE and the
> libraries we ship. Also there is no wayland in the game. I verified both
> Gnome and KDE are running under X11.
> 
> Anyone has a good idea what could be wrong here?

I've found the reason for this now. See
https://bugs.launchpad.net/snapd/+bug/1677513 for a summary. In the end
the problem is that XAUTHORITY refers to a xauth file in /tmp which
isn't accessible within the snap environment.

I will create a fix for this as part of my cross-distro work.

regards,
Simon





More information about the Snapcraft mailing list