You are not logged in.

#1 2024-05-27 14:07:55

qwemaze
Member
Registered: 2018-10-01
Posts: 13

xdg-desktop-portal-gnome.service/start failed with result 'dependency'

Since May 15th gnome-session now depends on xdg-desktop-portal-gnome.

After a system update that installed xdg-desktop-portal-gnome all chromium browsers now cannot open system dialog windows (save as, etc).

I'm getting these logs in journalctl:
May 27 15:17:10 zoopmaze systemd[3190]: Current graphical user session is inactive.
May 27 15:17:10 zoopmaze systemd[3190]: Dependency failed for Portal service (GNOME implementation).
May 27 15:17:10 zoopmaze systemd[3190]: xdg-desktop-portal-gnome.service: Job xdg-desktop-portal-gnome.service/start failed with result 'dependency'.
May 27 15:17:10 zoopmaze systemd[3190]: Current graphical user session is inactive.
May 27 15:17:10 zoopmaze systemd[3190]: Dependency failed for Portal service (GNOME implementation).
May 27 15:17:10 zoopmaze systemd[3190]: xdg-desktop-portal-gnome.service: Job xdg-desktop-portal-gnome.service/start failed with result 'dependency'.
May 27 15:17:10 zoopmaze xdg-desktop-por[5014]: Backend call failed: Could not activate remote peer 'org.freedesktop.impl.portal.desktop.gnome': startup job failed

I believe previously I've had only xdg-desktop-portal-gtk because there were issues with xdg-desktop-portal-gnome as described here https://bbs.archlinux.org/viewtopic.php?id=285590, but seems like now that's not possible because of gnome-session

Last edited by qwemaze (2024-05-27 14:08:49)

Offline

#2 2024-05-27 14:15:06

seth
Member
Registered: 2012-09-03
Posts: 60,801

Re: xdg-desktop-portal-gnome.service/start failed with result 'dependency'

systemctl --user status xdg-desktop-portal-gnome.service

https://bbs.archlinux.org/viewtopic.php … 3#p2172723

Offline

#3 2024-05-27 14:19:46

qwemaze
Member
Registered: 2018-10-01
Posts: 13

Re: xdg-desktop-portal-gnome.service/start failed with result 'dependency'

Removing xdg-desktop-portal-gnome while ignoring dependency checks helps, but I'm not sure why gnome-session now hard depends on it in the first place

Offline

#4 2024-05-27 14:30:31

seth
Member
Registered: 2012-09-03
Posts: 60,801

Re: xdg-desktop-portal-gnome.service/start failed with result 'dependency'

https://gitlab.archlinux.org/archlinux/ … edf31a7209 (but i don't understand the relation of the linked bug)

The (better) "solution" in the linked thread was to mask the service.
Also we should take a look at why it's failing - the other thread is just annoyed by gnome being gnome, but the portal service would actually work.

Offline

Board footer

Powered by FluxBB