You are not logged in.

#1 2023-05-25 22:11:52

red-lichtie
Member
Registered: 2015-03-08
Posts: 53

[RESOLVED] Long time before firefox starts and evolution shows emails

For the few days (maybe over a week) now, I've noticed that firefox take about 25 seconds to start and evolution requires about the same time before it will display the contents of any emails (the list and status is there immediately).

The journal when starting firefox is:

May 25 23:51:53 mypc.local dbus-daemon[2094]: [session uid=1000 pid=2094] Activating via systemd: service name='org.freedesktop.portal.Desktop' unit='xdg-desktop-portal.service' requested by ':1.115' (uid=1000 pid=9393 comm="/usr/lib/firefox/firefox")
May 25 23:51:53 mypc.local systemd[2065]: Starting Portal service...
May 25 23:51:53 mypc.local dbus-daemon[2094]: [session uid=1000 pid=2094] Activating via systemd: service name='org.freedesktop.impl.portal.desktop.gnome' unit='xdg-desktop-portal-gnome.service' requested by ':1.117' (uid=1000 pid=9446 comm="/usr/lib/xdg-desktop-portal")
May 25 23:51:53 mypc.local systemd[2065]: Current graphical user session is inactive.
May 25 23:51:53 mypc.local systemd[2065]: Dependency failed for Portal service (GNOME implementation).
May 25 23:51:53 mypc.local systemd[2065]: xdg-desktop-portal-gnome.service: Job xdg-desktop-portal-gnome.service/start failed with result 'dependency'.
*** PAUSE  then it launches, well appears ***
May 25 23:52:18 mypc.local rtkit-daemon[1356]: Supervising 13 threads of 1 processes of 1 users.
. . .
*** Another 25 seconds ***
May 25 23:52:43 mypc.local xdg-desktop-por[9446]: Failed to create settings proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gnome: Timeout was reached
May 25 23:53:23 mypc.local systemd[2065]: xdg-desktop-portal.service: start operation timed out. Terminating.
May 25 23:53:23 mypc.local systemd[2065]: xdg-desktop-portal.service: Failed with result 'timeout'.
May 25 23:53:23 mypc.local systemd[2065]: Failed to start Portal service.

Starting evolution presents the same picture:

May 26 00:01:30 mypc.local dbus-daemon[2094]: [session uid=1000 pid=2094] Activating via systemd: service name='org.freedesktop.portal.Desktop' unit='xdg-desktop-portal.service' requested by ':1.119' (uid=1000 pid=10048 comm="/usr/bin/evolution")
May 26 00:01:30 mypc.local systemd[2065]: Starting Portal service...
May 26 00:01:30 mypc.local dbus-daemon[2094]: [session uid=1000 pid=2094] Activating via systemd: service name='org.freedesktop.impl.portal.desktop.gnome' unit='xdg-desktop-portal-gnome.service' requested by ':1.122' (uid=1000 pid=10087 comm="/usr/lib/xdg-desktop-portal")
May 26 00:01:30 mypc.local systemd[2065]: Current graphical user session is inactive.
May 26 00:01:30 mypc.local systemd[2065]: Dependency failed for Portal service (GNOME implementation).
May 26 00:01:30 mypc.local systemd[2065]: xdg-desktop-portal-gnome.service: Job xdg-desktop-portal-gnome.service/start failed with result 'dependency'.
*** PAUSE  then it displays email contents ***
May 26 00:01:56 mypc.local rtkit-daemon[1356]: Supervising 14 threads of 2 processes of 1 users.
. . .
*** Another 25 seconds ***
May 26 00:02:21 mypc.local xdg-desktop-por[10087]: Failed to create settings proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gnome: Timeout was reached
May 26 00:03:01 mypc.local systemd[2065]: xdg-desktop-portal.service: start operation timed out. Terminating.
May 26 00:03:01 mypc.local systemd[2065]: xdg-desktop-portal.service: Failed with result 'timeout'.
May 26 00:03:01 mypc.local systemd[2065]: Failed to start Portal service.

So there is something going on with the "GNOME Portal service" and I have no idea where to look/start.

Something is no longer configured the way a new version is expecting it to be (maybe I messed an "update" comment?) or something is corrupted.

Any help is appreciated.

Last edited by red-lichtie (2023-05-25 22:29:19)


Doing it the Linux way since 1997 and Arch way since 2015 (and loving it!)
Platforms: Intel, ARMv6 (Raspberry Pi), ARMv7 (BeagleBone Black), ARMv8 (Raspberry Pi)
Languages: C, C++, ASM, Pascal & Java

Offline

#2 2023-05-25 22:25:12

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,039

Re: [RESOLVED] Long time before firefox starts and evolution shows emails

Remove xdg-desktop-portal-gnome and keep just xdg-desktop-portal-gtk. There's a bug with it in the gnome 44 release but it's also not strictly necessary if you're not on GNOME itself.

Offline

#3 2023-05-25 22:28:17

red-lichtie
Member
Registered: 2015-03-08
Posts: 53

Re: [RESOLVED] Long time before firefox starts and evolution shows emails

Perfect, thanks!

sudo pacman -R xdg-desktop-portal-gnome

did the trick.


Doing it the Linux way since 1997 and Arch way since 2015 (and loving it!)
Platforms: Intel, ARMv6 (Raspberry Pi), ARMv7 (BeagleBone Black), ARMv8 (Raspberry Pi)
Languages: C, C++, ASM, Pascal & Java

Offline

#4 2023-05-26 03:44:40

tporg
Member
Registered: 2019-11-26
Posts: 29

Re: [RESOLVED] Long time before firefox starts and evolution shows emails

I had the same issue where GTK apps like evince and firefox was super slow to start. Removing xdg-desktop-portal-gnome did the trick.
But I am also not using GNOME as my DE. Just adding this here for other people's reference.

Last edited by tporg (2023-05-26 03:46:20)

Offline

Board footer

Powered by FluxBB