Public bug reported:

Firefox takes ages to start in a fresh desktop session, complaining
about timeouts on org.freedesktop.portal.Desktop, while the desktop
environment prompts me to kill it because it's waiting on its UI thread.

It spews the following on its stdout/stderr (some strings are in French,
sorry, mostly saying "error calling $foo: timed out"):

update.go:85: cannot change mount namespace according to change mount 
(/var/lib/snapd/hostfs/usr/local/share/doc /usr/local/share/doc none bind,ro 0 
0): cannot open directory "/usr/local/share": permission denied
update.go:85: cannot change mount namespace according to change mount 
(/var/lib/snapd/hostfs/usr/share/gimp/2.0/help /usr/share/gimp/2.0/help none 
bind,ro 0 0): cannot write to "/var/lib/snapd/hostfs/usr/share/gimp/2.0/help" 
because it would affect the host in "/var/lib/snapd"
update.go:85: cannot change mount namespace according to change mount 
(/var/lib/snapd/hostfs/usr/share/libreoffice/help /usr/share/libreoffice/help 
none bind,ro 0 0): cannot write to 
"/var/lib/snapd/hostfs/usr/share/libreoffice/help" because it would affect the 
host in "/var/lib/snapd"
update.go:85: cannot change mount namespace according to change mount 
(/var/lib/snapd/hostfs/usr/share/sphinx_rtd_theme /usr/share/sphinx_rtd_theme 
none bind,ro 0 0): cannot write to 
"/var/lib/snapd/hostfs/usr/share/sphinx_rtd_theme" because it would affect the 
host in "/var/lib/snapd"
update.go:85: cannot change mount namespace according to change mount 
(/var/lib/snapd/hostfs/usr/share/xubuntu-docs /usr/share/xubuntu-docs none 
bind,ro 0 0): cannot write to "/var/lib/snapd/hostfs/usr/share/xubuntu-docs" 
because it would affect the host in "/var/lib/snapd"
Gtk-Message: 16:22:25.740: Not loading module "atk-bridge": The functionality 
is provided by GTK natively. Please try to not load it.
[9968, Main Thread] WARNING: Settings portal not found: Erreur lors de l’appel 
de StartServiceByName pour org.freedesktop.portal.Desktop : Le délai d’attente 
est dépassé: 'glib warning', file 
/build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:201

(firefox_firefox:9968): Gdk-WARNING **: 16:22:50.773: Settings portal not 
found: Erreur lors de l’appel de StartServiceByName pour 
org.freedesktop.portal.Desktop : Le délai d’attente est dépassé
[Parent 9968, Main Thread] WARNING: Failed to create proxy: Erreur lors de 
l’appel de StartServiceByName pour org.freedesktop.portal.Desktop : Le délai 
d’attente est dépassé
: 'glib warning', file 
/build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:201

** (firefox_firefox:9968): WARNING **: 16:23:16.813: Failed to create
proxy: Erreur lors de l’appel de StartServiceByName pour
org.freedesktop.portal.Desktop : Le délai d’attente est dépassé

[Parent 9968, Main Thread] WARNING: Failed to create proxy: Erreur lors de 
l’appel de StartServiceByName pour org.freedesktop.portal.Desktop : Le délai 
d’attente est dépassé
: 'glib warning', file 
/build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:201

** (firefox_firefox:9968): WARNING **: 16:23:41.842: Failed to create
proxy: Erreur lors de l’appel de StartServiceByName pour
org.freedesktop.portal.Desktop : Le délai d’attente est dépassé


I'm attaching my session logs.

It could be related to bug 2084919, perhaps firefox picked up the buggy
interface?

ProblemType: Bug
DistroRelease: Ubuntu 25.04
Package: xdg-desktop-portal 1.19.2+ds-1ubuntu1
ProcVersionSignature: Ubuntu 6.12.0-15.15-generic 6.12.11
Uname: Linux 6.12.0-15-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.31.0+git20250220-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: GNOME
Date: Tue Feb 25 16:24:48 2025
InstallationDate: Installed on 2024-11-13 (104 days ago)
InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 
(20240827.1)
SourcePackage: xdg-desktop-portal
UpgradeStatus: Upgraded to plucky on 2024-11-15 (102 days ago)

** Affects: xdg-desktop-portal (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug plucky wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to xdg-desktop-portal in Ubuntu.
https://bugs.launchpad.net/bugs/2100004

Title:
  Firefox blocks on startup waiting for xdg-desktop-portal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-portal/+bug/2100004/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to