You are not logged in.

#1 2023-05-28 09:53:55

ShailMurtaza
Member
From: Pakistan
Registered: 2022-12-23
Posts: 4
Website

[SOLVED] GUI Applications opening with 25 seconds delay

My many GUI applications are launching with almost 25 seconds delay.
Not all have this delay but most of them have this issue. Firefox, thunar, nm-connection-editor and many other applications has this delay.
But Chrome is working fine.

This start to happen after I updated my system using

sudo pacman -Syu

Before update everything was fine. Weirdly my python3 modules installed using pip were also deleted after that update.

I'm using i3-gaps with lightdm as login manager.
Can anyone please help me?

Last edited by ShailMurtaza (2023-05-28 13:49:41)


Yo!

Offline

#2 2023-05-28 09:57:26

ShailMurtaza
Member
From: Pakistan
Registered: 2022-12-23
Posts: 4
Website

Re: [SOLVED] GUI Applications opening with 25 seconds delay

I found this in my journalctl

May 28 14:47:00 shail-lenovo xdg-desktop-por[6915]: Failed to create settings proxy: Error calling StartServiceByName for org.f
reedesktop.impl.portal.desktop.gnome: Timeout was reached
May 28 14:47:40 shail-lenovo systemd[565]: xdg-desktop-portal.service: start operation timed out. Terminating.
May 28 14:47:40 shail-lenovo systemd[565]: xdg-desktop-portal.service: Failed with result 'timeout'.
May 28 14:47:40 shail-lenovo systemd[565]: Failed to start Portal service.
May 28 14:48:10 shail-lenovo dbus-daemon[579]: [session uid=1000 pid=579] Failed to activate service 'org.freedesktop.portal.De
sktop': timed out (service_start_timeout=120000ms)
May 28 14:48:10 shail-lenovo dbus-daemon[579]: [session uid=1000 pid=579] Failed to activate service 'org.freedesktop.impl.port
al.desktop.gnome': timed out (service_start_timeout=120000ms)
May 28 14:49:17 shail-lenovo dbus-daemon[579]: [session uid=1000 pid=579] Activating via systemd: service name='org.freedesktop
.portal.Desktop' unit='xdg-desktop-portal.service' requested by ':1.115' (uid=1000 pid=7038 comm="nm-connection-editor")
May 28 14:49:18 shail-lenovo systemd[565]: Starting Portal service...
May 28 14:49:18 shail-lenovo dbus-daemon[579]: [session uid=1000 pid=579] Activating via systemd: service name='org.freedesktop
.impl.portal.desktop.gnome' unit='xdg-desktop-portal-gnome.service' requested by ':1.116' (uid=1000 pid=7042 comm="/usr/lib/xdg
-desktop-portal")
May 28 14:49:18 shail-lenovo systemd[565]: Current graphical user session is inactive.
May 28 14:49:18 shail-lenovo systemd[565]: Dependency failed for Portal service (GNOME implementation).
May 28 14:49:18 shail-lenovo systemd[565]: xdg-desktop-portal-gnome.service: Job xdg-desktop-portal-gnome.service/start failed
with result 'dependency'.
May 28 14:49:43 shail-lenovo rtkit-daemon[779]: Supervising 7 threads of 5 processes of 1 users.
May 28 14:49:43 shail-lenovo rtkit-daemon[779]: Supervising 7 threads of 5 processes of 1 users.
May 28 14:49:43 shail-lenovo rtkit-daemon[779]: Supervising 7 threads of 5 processes of 1 users.
May 28 14:50:08 shail-lenovo xdg-desktop-por[7042]: Failed to create settings proxy: Error calling StartServiceByName for org.f
reedesktop.impl.portal.desktop.gnome: Timeout was reached
May 28 14:50:48 shail-lenovo systemd[565]: xdg-desktop-portal.service: start operation timed out. Terminating.
May 28 14:50:48 shail-lenovo systemd[565]: xdg-desktop-portal.service: Failed with result 'timeout'.
May 28 14:50:48 shail-lenovo systemd[565]: Failed to start Portal service.
May 28 14:51:13 shail-lenovo rtkit-daemon[779]: Supervising 7 threads of 5 processes of 1 users.
May 28 14:51:13 shail-lenovo rtkit-daemon[779]: Supervising 7 threads of 5 processes of 1 users.
May 28 14:51:18 shail-lenovo dbus-daemon[579]: [session uid=1000 pid=579] Failed to activate service 'org.freedesktop.portal.De
sktop': timed out (service_start_timeout=120000ms)
May 28 14:51:18 shail-lenovo dbus-daemon[579]: [session uid=1000 pid=579] Failed to activate service 'org.freedesktop.impl.port
al.desktop.gnome': timed out (service_start_timeout=120000ms)


Yo!

Offline

#3 2023-05-28 10:32:47

seth
Member
Registered: 2012-09-03
Posts: 52,269

Re: [SOLVED] GUI Applications opening with 25 seconds delay

Remove xdg-desktop-portal-gnome - it's broken outside gnome-shell as indicated by countless threads on the subject…

Offline

#4 2023-05-28 12:23:57

ShailMurtaza
Member
From: Pakistan
Registered: 2022-12-23
Posts: 4
Website

Re: [SOLVED] GUI Applications opening with 25 seconds delay

seth wrote:

Remove xdg-desktop-portal-gnome - it's broken outside gnome-shell as indicated by countless threads on the subject…

Thanks! That worked. But I didn't even installed it. What is it's usage?


Yo!

Offline

#5 2023-05-28 12:27:03

seth
Member
Registered: 2012-09-03
Posts: 52,269

Re: [SOLVED] GUI Applications opening with 25 seconds delay

Flatschpak requires one xdg-desktop-portal-impl
Why anyone would install flatschpak, I've no idea.

Edit: Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Last edited by seth (2023-05-28 12:27:20)

Offline

#6 2023-06-12 20:47:16

volker_weissmann
Member
Registered: 2020-01-05
Posts: 71

Re: [SOLVED] GUI Applications opening with 25 seconds delay

I had the same symptoms and the same fix worked for me.

Offline

Board footer

Powered by FluxBB