Package Details: proton-vpn-gtk-app 4.3.2-1

Git Clone URL: https://aur.archlinux.org/proton-vpn-gtk-app.git (read-only, click to copy)
Package Base: proton-vpn-gtk-app
Description: ProtonVPN GTK app, Maintained by Community
Upstream URL: https://github.com/ProtonVPN/proton-vpn-gtk-app
Keywords: protonvpn
Licenses: GPL3
Groups: ProtonVPN
Conflicts: protonvpn-gui, python-proton-client
Submitter: ali.molaei
Maintainer: ali.molaei
Last Packager: ali.molaei
Votes: 41
Popularity: 10.42
First Submitted: 2023-11-01 12:41 (UTC)
Last Updated: 2024-05-24 16:47 (UTC)

Pinned Comments

stickyhands commented on 2024-02-09 23:53 (UTC) (edited on 2024-02-09 23:53 (UTC) by stickyhands)

@shoryuken thank you, that worked!

@ali.molaei I'm not sure of technicalities of dependencies, but if you cannot force network-manager-applet as a dependency I think you should at least pin some comment explaining that getting it might fix issues. As it stands I accidentally found the solution at other package page https://aur.archlinux.org/packages/protonvpn-cli#comment-951908, and only since it's the newest one.

Latest Comments

« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 15 Next › Last »

ali.molaei commented on 2023-11-03 20:21 (UTC)

@mkudinov they removed a tag again, opened an issue for it, if they keep doing it I'll need to take another method of keeping the version (And I have no idea right now) https://github.com/ProtonVPN/python-proton-vpn-api-core/issues/1

mkudinov commented on 2023-11-03 19:39 (UTC)

@ali.molaei I have problems installing on a fresh system.


Cloning into 'python-proton-vpn-api-core'...
done.
fatal: invalid reference: 0.20.1
==> ERROR: Failure while creating working copy of python-proton-vpn-api-core git repo
    Aborting...
 -> error making: python-proton-vpn-api-core-exit status 1
==> Making package: proton-vpn-gtk-app 4.1.0-7 (Пт 03 ноя 2023 22:32:06)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> python-proton-vpn-api-core
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
 -> error making: proton-vpn-gtk-app-exit status 8

ali.molaei commented on 2023-11-03 17:17 (UTC)

@aur_person23 made them optional

aur_person23 commented on 2023-11-03 16:38 (UTC) (edited on 2023-11-03 16:43 (UTC) by aur_person23)

@mkudinov @ali.molaei According to https://protonvpn.com/support/official-linux-vpn-debian/

3. Required dependencies:

Our Linux app needs one of the following dependencies installed in order to work. Installing both of these dependencies is not recommended as it may cause problems:

KWallet or
Gnome-keyring

So I think the dependencies should be both gnome-keyring or kwallet.

But this comment more or less applies to python-proton-keyring-linux since I think that's the actual package that has gnome-keyring as a dependency.

ali.molaei commented on 2023-11-03 15:05 (UTC)

@mkudinov about your comment UPD 4

Can you try without that rule and with the new updates I made (adding keyring and other deps) and see if the app connects or not? I didn't have to modify any polkit rule on my gnome system

ali.molaei commented on 2023-11-03 15:02 (UTC)

@mkudinov @calexandru2018 thanks for the feedback, the dependencies are added

mkudinov commented on 2023-11-03 13:19 (UTC) (edited on 2023-11-03 13:19 (UTC) by mkudinov)

A bunch of other dependencies:

python-requests - without this the program won't start

gnome-keyring - without this the nm-applet would ask for a password in a loop

network-manager-applet - without this you won't be able to authenticate. nm-applet should be running when connecting

More info here: https://github.com/ProtonVPN/linux-cli/issues/49#issuecomment-910662957

calexandru2018 commented on 2023-11-03 11:54 (UTC)

I think the issue is that it's missing keyring dependencies:

https://github.com/ProtonVPN/python-proton-keyring-linux

https://github.com/ProtonVPN/python-proton-keyring-linux-secretservice

mkudinov commented on 2023-11-02 22:09 (UTC) (edited on 2023-11-03 11:56 (UTC) by mkudinov)

@ali.molaei updated my previous comment.

"I can connect to any server without any problems :-?"

Perhaps another dependency is missing?

UPD: I've got a terrible thought after looking at authentication denied, that perhaps running protonvpn-app as root would solve this... And it actually did! Ofc I instantly closed the program after making sure that it works.

Do you have any suggestions what could be wrong?

UPD 2: Confirmed this behavior on fresh install of Endeavor OS in a VM. When trying to connect I get a nm applet window prompting for a password. When I enter password nothing happens and after a few seconds I get the same window prompting again. When running as root I connect immediately without any password prompts. On my main system (i3 wm) I didn't even get any prompts.

UPD 3: It turns out that it requires network-manager-applet to show password prompt window. But providing a password has no effect and after a few seconds the same window would occur again. Without network-manager-applet it just straight up fails with Connection error: authentication denied.

UPD 4: SOLVED. In order to connect I had to set up PolicyKit permissions via adding the user to the network group and creating /etc/polkit-1/rules.d/50-org.freedesktop.NetworkManager.rules. For more info https://wiki.archlinux.org/title/NetworkManager#Set_up_PolicyKit_permissions

ali.molaei commented on 2023-11-02 21:51 (UTC)

@mkudinov did you connect with the same account (You mentioned yes) and to the same server? or the server was random? I can connect to any server without any problems :-?