You are not logged in.

#1 2024-02-04 06:34:17

without_j
Member
Registered: 2020-04-25
Posts: 17

[SOLVED] Downloads and uploads not working on Brave browser

When I try to download or upload anything nothing happens, download or upload does not start. Previously GTK file picker would pop up and I would be able to choose a location.  I believe it started after I downloaded brave-beta-bin package (after brave-git was orphaned).

This is from:

journctl
Feb 04 14:04:50 art systemd[633]: Starting Portal service (GTK/GNOME implementation)...
Feb 04 14:04:41 art xdg-desktop-por[1188]: Backend call failed: Could not activate remote peer: startup job failed.
Feb 04 14:04:41 art systemd[633]: Failed to start Portal service (GTK/GNOME implementation).
Feb 04 14:04:41 art systemd[633]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 04 14:04:41 art systemd[633]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Feb 04 14:04:41 art xdg-desktop-por[82252]: cannot open display:

Output from

systemctl --user --type=service
 UNIT                                        LOAD   ACTIVE SUB     DESCRIPTION
  at-spi-dbus-bus.service                     loaded active running Accessibility services bus
  dbus-:1.2-org.freedesktop.secrets@0.service loaded active running dbus-:1.2-org.freedesktop.secrets@0.service
  dbus-broker.service                         loaded active running D-Bus User Message Bus
  gnome-keyring-daemon.service                loaded active running GNOME Keyring daemon
  pipewire.service                            loaded active running PipeWire Multimedia Service
  pulseaudio.service                          loaded active running Sound Service
  ssh-agent.service                           loaded active running SSH key agent
● xdg-desktop-portal-gtk.service              loaded failed failed  Portal service (GTK/GNOME implementation)
  xdg-desktop-portal.service                  loaded active running Portal service
  xdg-document-portal.service                 loaded active running flatpak document portal service
  xdg-permission-store.service                loaded active running sandboxed app permission store
systemctl --user status xdg-desktop-portal-gtk xdg-desktop-portal
× 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 Sun 2024-02-04 14:05:14 HKT; 27min ago
    Process: 82546 ExecStart=/usr/lib/xdg-desktop-portal-gtk (code=exited, status=1/FAILURE)
   Main PID: 82546 (code=exited, status=1/FAILURE)
        CPU: 31ms

Feb 04 14:05:14 art systemd[633]: Starting Portal service (GTK/GNOME implementation)...
Feb 04 14:05:14 art xdg-desktop-por[82546]: cannot open display:
Feb 04 14:05:14 art systemd[633]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Feb 04 14:05:14 art systemd[633]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 04 14:05:14 art systemd[633]: Failed to start Portal service (GTK/GNOME implementation).

● xdg-desktop-portal.service - Portal service
     Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static)
     Active: active (running) since Sun 2024-02-04 11:43:32 HKT; 2h 49min ago
   Main PID: 1188 (xdg-desktop-por)
      Tasks: 6 (limit: 9367)
     Memory: 24.1M (peak: 38.0M)
        CPU: 325ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/xdg-desktop-portal.service
             └─1188 /usr/lib/xdg-desktop-portal

Feb 04 13:46:59 art xdg-desktop-por[1188]: Backend call failed: Could not activate remote peer: startup job failed.
Feb 04 13:51:24 art xdg-desktop-por[1188]: Backend call failed: Could not activate remote peer: startup job failed.
Feb 04 13:51:35 art xdg-desktop-por[1188]: Backend call failed: Could not activate remote peer: startup job failed.
Feb 04 14:01:49 art xdg-desktop-por[1188]: Backend call failed: Could not activate remote peer: startup job failed.
Feb 04 14:04:15 art xdg-desktop-por[1188]: Backend call failed: Could not activate remote peer: startup job failed.
Feb 04 14:04:20 art xdg-desktop-por[1188]: Backend call failed: Could not activate remote peer: startup job failed.
Feb 04 14:04:41 art xdg-desktop-por[1188]: Backend call failed: Could not activate remote peer: startup job failed.
Feb 04 14:04:50 art xdg-desktop-por[1188]: Backend call failed: Could not activate remote peer: startup job failed.
Feb 04 14:05:08 art xdg-desktop-por[1188]: Backend call failed: Could not activate remote peer: startup job failed.
Feb 04 14:05:14 art xdg-desktop-por[1188]: Backend call failed: Could not activate remote peer: startup job failed.

Last edited by without_j (2024-02-06 09:28:28)

Offline

#2 2024-02-06 06:29:11

without_j
Member
Registered: 2020-04-25
Posts: 17

Re: [SOLVED] Downloads and uploads not working on Brave browser

I just removed xdg-desktop-portal-gnome and it removed xdg-desktop-portal-gtk as well. Now it works fine again. Does anybody know what uses xdg-desktop-portal-gnome?

Offline

#3 2024-02-06 08:41:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,267

Re: [SOLVED] Downloads and uploads not working on Brave browser

Basically GNOME and you don't want to use that when on "not gnome". xdg-desktop-portal-gtk can however be wanted if you want the GTK file picker for the portal implementation of a file picker.

Offline

Board footer

Powered by FluxBB