[Pkg-utopia-maintainers] Bug#1010220: startup delay of some gtk apps

Harald Dunkel harri at afaics.de
Tue Apr 26 17:00:59 BST 2022


Package: xdg-desktop-portal-gtk
Version: 1.14.0-1

I experience long startup delays of some gtk apps, e.g. handbrake-gtk.
Apparently there are problems with a portal service:

% systemctl --user status xdg-desktop-portal.service
x xdg-desktop-portal.service - Portal service
      Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static)
      Active: failed (Result: timeout) since Tue 2022-04-26 17:44:31 CEST; 8min ago
     Process: 31077 ExecStart=/usr/libexec/xdg-desktop-portal (code=killed, signal=TERM)
    Main PID: 31077 (code=killed, signal=TERM)
         CPU: 27ms

Apr 26 17:43:01 cecil.afaics.de systemd[2271]: Starting Portal service...
Apr 26 17:43:51 cecil.afaics.de xdg-desktop-por[31077]: Failed to create settings proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gtk: Timeout was reached
Apr 26 17:43:51 cecil.afaics.de xdg-desktop-por[31077]: No skeleton to export
Apr 26 17:44:16 cecil.afaics.de xdg-desktop-por[31077]: Failed to create file chooser proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gtk: Timeout was reached
Apr 26 17:44:16 cecil.afaics.de xdg-desktop-por[31077]: No skeleton to export
Apr 26 17:44:31 cecil.afaics.de systemd[2271]: xdg-desktop-portal.service: start operation timed out. Terminating.
Apr 26 17:44:31 cecil.afaics.de systemd[2271]: xdg-desktop-portal.service: Failed with result 'timeout'.
Apr 26 17:44:31 cecil.afaics.de systemd[2271]: Failed to start Portal service.

% systemctl --user status xdg-desktop-portal-gtk.service
x xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)
      Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal-gtk.service; static)
      Active: failed (Result: exit-code) since Tue 2022-04-26 17:43:01 CEST; 9min ago
     Process: 31085 ExecStart=/usr/libexec/xdg-desktop-portal-gtk (code=exited, status=1/FAILURE)
    Main PID: 31085 (code=exited, status=1/FAILURE)
         CPU: 6ms

Apr 26 17:43:01 cecil.afaics.de systemd[2271]: Starting Portal service (GTK/GNOME implementation)...
Apr 26 17:43:01 cecil.afaics.de xdg-desktop-por[31085]: cannot open display:
Apr 26 17:43:01 cecil.afaics.de systemd[2271]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Apr 26 17:43:01 cecil.afaics.de systemd[2271]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Apr 26 17:43:01 cecil.afaics.de systemd[2271]: Failed to start Portal service (GTK/GNOME implementation).

% dpkg -l xdg-desktop-portal-gtk xdg-desktop-portal
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                   Version      Architecture Description
+++-======================-============-============-================================================
ii  xdg-desktop-portal     1.14.3-1     amd64        desktop integration portal for Flatpak and Snap
ii  xdg-desktop-portal-gtk 1.14.0-1     amd64        GTK+/GNOME portal backend for xdg-desktop-portal


Neither snap nor flatpak are installed.


Regards
Harri



More information about the Pkg-utopia-maintainers mailing list