You are not logged in.

#1 2020-09-05 15:12:01

fyulita
Member
Registered: 2020-09-05
Posts: 6

Snap programs can't open the browser

Hi! I'm new to Arch, coming from Manjaro. I have a fresh installation of Arch and so I was trying to install NordPass to manage my passwords. For that I had to install Snap. I managed to do that and to install NordPass without much problem. I then run NordPass and it seems to work, but when I try to login I click the button and nothing happens. When I run the app from the terminal it prints the following:

12:01:34.691 › BgAppClient:sendMessage: OAUTH/LOGIN
12:01:36.307 › BgAppClient:handleMessage: received message with id: 6, OAUTH/LOGIN
user-open error: cannot open supplied URL

It prints that every time I click on the "Log in with Nord Account" button. Also, after a few seconds from running NordPass it prints:

12:01:39.521 › WebSocket connected to port: 9213
12:01:39.575 › extensionMessenger:onMessage: firefox: ws received message EXTENSION/LOGIN
** Message: 12:01:39.595: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
12:01:39.596 › extensionMessenger:checkLinuxPermissions: Error: The name org.freedesktop.secrets was not provided by any .service files
** Message: 12:01:39.614: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
12:01:39.614 › extensionMessenger:onMessage:firefox:EXTENSION/LOGIN: Error: The name org.freedesktop.secrets was not provided by any .service files

I tried something similar with Spotify (installed with Snap) and it has the same problem. I think the problem is that programs install using snap can't open the browser for some reason. So when I try to login to NordPass it tries to open the browser and it fails.

This is my snap version in case you need it:

snap    2.45.3.1-2
snapd   2.45.3.1-2
series  16
arch    -
kernel  5.8.6-arch1-1

Last edited by fyulita (2020-09-05 15:12:24)

Offline

#2 2020-09-09 05:33:35

nomadx
Member
Registered: 2020-09-09
Posts: 2

Re: Snap programs can't open the browser

The snap package for Nordpass never worked properly for me (fonts not displaying and sometimes not integrating properly on chromium). The solution for me was installing the flatpak version of Nordpass.

Enter this to install:
flatpak install flathub com.nordpass.NordPass

And start it with:
flatpak run com.nordpass.NordPass

If you do not have flatpak installed you will need to pacman -S flatpak.

Last edited by nomadx (2020-09-09 05:34:24)

Offline

#3 2020-09-09 07:43:14

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: Snap programs can't open the browser

Mod note: moving to AUR Issues


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2020-09-10 01:16:06

fyulita
Member
Registered: 2020-09-05
Posts: 6

Re: Snap programs can't open the browser

nomadx wrote:

The snap package for Nordpass never worked properly for me (fonts not displaying and sometimes not integrating properly on chromium). The solution for me was installing the flatpak version of Nordpass.

Enter this to install:
flatpak install flathub com.nordpass.NordPass

And start it with:
flatpak run com.nordpass.NordPass

If you do not have flatpak installed you will need to pacman -S flatpak.


I tried this on a fresh installation of Arch and the same problem persists...

Offline

#5 2020-09-23 17:11:52

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Snap programs can't open the browser

** Message: 12:01:39.614: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
12:01:39.614 › extensionMessenger:onMessage:firefox:EXTENSION/LOGIN: Error: The name org.freedesktop.secrets was not provided by any .service files

You might to try to install a package that provides such a service file, and enable the service.

See FS#64283 in the bug tracker.

Edit: gnome-keyring is such a package.

Last edited by Stefan Husmann (2020-09-23 17:17:58)

Offline

#6 2021-08-07 23:21:44

tvanderb
Member
Registered: 2021-08-07
Posts: 1

Re: Snap programs can't open the browser

I may be a little late for this, but I was having the same problem. I found out that Snap uses xdg-open to open URLs and files. I fixed it by installing xdg-utils. So, if you're still using snap, try that.

Offline

Board footer

Powered by FluxBB