helo
i am running ubuntu 22.04 LTS desktop.
and not sure why snap application like gimp, firefox, kolourpaint, remmina and more takes too long time (maybe 1-2minutes) to open their application.
i have reboot the computer and still same..
here is the log i found under /var/log/syslog/
Aug 18 10:55:07 komp systemd[2294]: snap.firefox.firefox.ed49cd3a-04b3-4403-b0ef-25692ef4c7c1.scope: Consumed 51.143s CPU time.
Aug 18 10:55:11 komp systemd[2294]: Started Application launched by gnome-shell.
Aug 18 10:55:11 komp dbus-daemon[2314]: [session uid=1000 pid=2314] Activating via systemd: service name='org.freedesktop.portal.Documents' unit='xdg-document-portal.service' requested by ':1.845' (uid=1000 pid=68462 comm="/snap/bin/firefox " label="unconfined")
Aug 18 10:55:11 komp systemd[2294]: Starting flatpak document portal service...
Aug 18 10:55:11 komp xdg-document-portal[68486]: /usr/libexec/xdg-document-portal: /usr/local/lib/libfuse3.so.3: version `FUSE_3.2' not found (required by /usr/libexec/xdg-document-portal)
Aug 18 10:55:11 komp systemd[2294]: xdg-document-portal.service: Main process exited, code=exited, status=1/FAILURE
Aug 18 10:55:11 komp systemd[2294]: xdg-document-portal.service: Failed with result 'exit-code'.
Aug 18 10:55:11 komp systemd[2294]: Failed to start flatpak document portal service.
Aug 18 10:57:11 komp firefox_firefox.desktop[68462]: cmd_run.go:1055: WARNING: cannot start document portal: Failed to activate service 'org.freedesktop.portal.Documents': timed out (service_start_timeout=120000ms)
detail snap version:
@komp:~$ snap version
snap 2.59.5
snapd 2.59.5
series 16
ubuntu 22.04
kernel 5.19.0-50-generic
i have read another similar issue :
https://forum.snapcraft.io/t/snaps-only-run-after-a-long-timeout/9201/9
https://forum.snapcraft.io/t/extremely-slow-startup-for-snaps/22478/20
still no luck.
i am not sure, maybe someone can give me the clue?
thanks