OpenSuse Tumbleweed Cannot start any snap


I have installed snapd according to official how-to.
Then installed two snaps: telegram-desktop and notepadqq.

Neither can really run.

For example, telegram-desktop output (start):
No protocol specified
QXcbConnection: Could not connect to display :0.0

I am sure I am doing something wrong, because cannot be that everybody using it and on opensuse Tumbleweed 20190904 it is not working at all.

Can you please help me to check together some obvious staff, from simple to complex together?

Lets focus on the telegram-desktop snap to begin with. Can you run snap connections telegram-desktop and paste the output here, please? This will let us see if the desktop and x11 interfaces are correctly connected (they are supposed to automatically connect, but sometimes things go awry). Another useful pair of commands to post the output of are snap version and snap changes.

Than you Deniel!

Here is the output:

Interface Plug Slot Notes
content[gtk-3-themes] telegram-desktop:gtk-3-themes gtk-common-themes:gtk-3-themes -
content[icon-themes] telegram-desktop:icon-themes gtk-common-themes:icon-themes -
content[sound-themes] telegram-desktop:sound-themes gtk-common-themes:sound-themes -
desktop telegram-desktop:desktop :desktop -
desktop-legacy telegram-desktop:desktop-legacy :desktop-legacy -
gsettings telegram-desktop:gsettings :gsettings -
home telegram-desktop:home :home -
network telegram-desktop:network :network -
network-bind telegram-desktop:network-bind :network-bind -
network-manager telegram-desktop:network-manager - -
pulseaudio telegram-desktop:pulseaudio :pulseaudio -
removable-media telegram-desktop:removable-media - -
unity7 telegram-desktop:unity7 :unity7

snap 2.39.1-3.9
snapd 2.39.1-3.9
series 16
opensuse-tumbleweed 20190904
kernel 5.2.11-1-default

ID Status Spawn Ready Summary
1 Done today at 09:49 MSK today at 09:49 MSK Initialize system state
2 Done today at 09:51 MSK today at 09:54 MSK Install “telegram-desktop” snap
3 Done today at 09:51 MSK today at 09:51 MSK Initialize device
4 Done today at 10:15 MSK today at 10:16 MSK Install “notepadqq” snap
5 Done today at 10:50 MSK today at 10:50 MSK Remove “notepadqq” snap

Hope to brake through with the help of community!

I have to mention that I have notebook with nvidia optimus technology and use prime-select.

Well to my mind this is pretty standart thing, once done “sudo prime-select intel2” I am using only intel card.

All apps are launching ok from terminal, only problem with snaps…

I believe this may be

I will cherry pick this fix into the next update and release 2.41 to tumbleweed today. I will ping you after the update to see if that helps, okay?

Hello! Thank you for your reply.

Can you please tell me what I need to update and test? Maybe it can help other people with same problem…

I’m running into the same thing. Is there a command I can run to see if that fixes the issue?

I’ve released 2.41 but I didn’t cherry pick this fix. I’m doing this now.

Hi! Thank you for an update!

Once We can test it on tumbleweed, please tell me, I will do all needed to test and report back!

It’s building now on so once that build finishes you should be able to zypper dup to update.

EDIT: The patch is included in 2.41-2 witch is now available in the repository.

Thanks you! I look forward to this!

1 Like

I have updated machine to opensuse tumbleweed 20191002 snapshot.

Now have latest snap but still have this:

Run command 'snap run telegram-desktop'

snap run telegram-desktop
No protocol specified
QXcbConnection: Could not connect to display :0.0