Failed to start Portal service

When I enter sudo journalctl -p 3 -xb in terminal, it says:

Jul 13 18:06:45 Robert systemd[1439]: Failed to start Portal service.
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support:
░░ A start job for unit UNIT has finished with a failure.
░░ The job identifier is 199 and the job result is failed.

How can I fix this error?

Which portal(s) do you have installed?

pacman -Qs xdg-desktop-portal

You can also look at the service … which is a user unit on my system.

systemctl --user status xdg-desktop-portal
1 Like

I may have already fixed it, I removed xdg-desktop-portal-gnome in pacman and I haven’t seen the error since.

pacman -Qs xdg-desktop-portal
local/xdg-desktop-portal 1.16.0-3
    Desktop integration portals for sandboxed apps
local/xdg-desktop-portal-gtk 1.14.1-1
    A backend implementation for xdg-desktop-portal using GTK

 systemctl --user status xdg-desktop-portal
● xdg-desktop-portal.service - Portal service
     Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static)
     Active: active (running) since Fri 2023-07-14 05:22:12 CEST; 5h 29min ago
   Main PID: 150394 (xdg-desktop-por)
      Tasks: 6 (limit: 19014)
     Memory: 10.5M
        CPU: 97ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/xdg-desktop-portal.service
             └─150394 /usr/lib/xdg-desktop-portal

Jul 14 05:22:12 iPhone systemd[1439]: Starting Portal service...
Jul 14 05:22:12 iPhone systemd[1439]: Started Portal service.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.