I can't launch snap-store

Hey, I just installed snap store with that command sudo snap install snap-store but whrn I’m trying to launch it I have that error:

Gtk-Message: 09:53:10.346: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

(snap-store:22533): Gtk-WARNING **: 09:53:10.401: GTK+ module /snap/snap-store/1248/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 09:53:10.401: Failed to load module "canberra-gtk-module"

(snap-store:22533): Gtk-WARNING **: 09:53:10.401: GTK+ module /snap/snap-store/1248/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 09:53:10.401: Failed to load module "canberra-gtk-module"

(snap-store:22533): Gdk-ERROR **: 09:53:10.517: The program 'snap-store' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue'.
  (Details: serial 600 error_code 2 request_code 152 (GLX) minor_code 22)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful

I don’t really know what does that mean. Any can help me ? Thanks in advance

Which version of snap-store?

snap info snap-store

Same here on Ubuntu 24.04, running xorg

12:23:19:0982 Gtk Not loading module “atk-bridge”: The functionality is provided by GTK natively. Please try to not load it.

snap info snap-store: installed: 41.3-72-g80e7130 (1216) 12MB -

In Settings → Apps → Ubuntu Software: opengl = off

Why did you turn this off ? It will indeed not work if it can not draw its UI because you denied it to …

(Note that it is highly unlikely to be related in any way to the original issue in this thread which clearly throws an X11 error)

Turned this off because this was mentioned in some internet posts. Just now turned it on again, same message.

snap-store

13:56:20:0371 Gtk Not loading module “atk-bridge”: The functionality is provided by GTK natively. Please try to not load it.

This one s not an error, just an info message that atk support moved into gtk itself, nothing to worry about…

Do you get any actual errors after this ? And did you disable any other essential interfaces for the app beyond OpenGL ?

Thanks for responding. The ‘Ubuntu Software’ window is shown but there is nothing in it except the text of categories. In syslog there are two messages when starting ‘Ubuntu Software’:

2025-01-02T15:31:54.211267+01:00 myra systemd[4287]: Started snap.snap-store.ubuntu-software-20547290-2f7f-4a3e-9aed-827a3ecb5391.scope.

2025-01-02T15:31:54.221870+01:00 myra kernel: audit: type=1400 audit(1735828314.220:1023): apparmor=“DENIED” operation=“open” class=“file” profile=“snap-update-ns.snap-store” name=“/proc/2447965/maps” pid=2447965 comm=“5” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0

Neither of these should stop the app from working … what revision and channel do you use ?

What is the output of:

snap info snap-store|grep 'tracking\|installed'

(all my installs over here use the “2/stable” channel)

snap info snap-store|grep ‘tracking|installed’

tracking: latest/stable/ubuntu-20.04

installed: 41.3-72-g80e7130 (1216) 12MB -

Well, try switching to 2/stable with:

sudo snap refresh --channel=2/stable snap-store

and see if behavior changes then

(you can always switch back by replacing “2/stable” with “latest/stable” in the above command)

sudo snap refresh --channel=2/stable snap-store

error: cannot refresh “snap-store”: snap “snap-store” has running apps (ubuntu-software), pids: 5681

Then I killed this process. Clicked ‘Ubuntu Software’ and it appears to be working.

There was no visual indication in the left vertical menu bar that ‘Ubuntu Software’ was running. Probably it crashed or was stuck. But I certainly should have used ‘ps’ earlier.

Thank you so much for your help, and sorry i took your time (last two day i upgraded my 22.04 to 24.04 and many things were not working as expected)

Yeah, that was a bug with the ancient Ubuntu Software that was based on gnome-software.

gnome-software spawns a daemon in the user session that permanently runs (just to make the app UI startup faster )…

Luckily the gnome-software based variant got dropped in favor of the new snap-store that was written from scratch without such hacks …