Package Details: proton-vpn-gtk-app 4.7.4-2

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: 85
Popularity: 9.46
First Submitted: 2023-11-01 12:41 (UTC)
Last Updated: 2024-11-14 16:19 (UTC)

Pinned Comments

ali.molaei commented on 2024-11-14 16:25 (UTC)

I've added https://aur.archlinux.org/packages/python-proton-vpn-local-agent-bin as optional dependency, I worked on https://aur.archlinux.org/packages/python-proton-vpn-local-agent a bit to build it from source, but I have a weird issue with it so I'm not depending this package on that by default for now.

For those who know a bit about rust packaging, the issue with building from source for me is: - If I copy the build so file using cp command it works fine - If I package it (using install in PKGBUILD) and put the file there by installing the package using pacman, It doesn't work! although the files have the same checksum.

I have no idea why is that and am open to any help on https://aur.archlinux.org/packages/python-proton-vpn-local-agent package

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 .. 12 13 14 15 16 17 18 19 20 Next › Last »

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 :-?

mkudinov commented on 2023-11-02 21:43 (UTC) (edited on 2023-11-02 21:52 (UTC) by mkudinov)

@ali.molaei No problem, I'm happy that I could help.

Well I've installed proton-vpn-gnome-desktop on Ubuntu 23.10 from ProtonVPN website instruction and I could connect just fine with the same account. So I'm not sure.

UPD: I've just tried connecting to the same server on both Ubuntu and Arch. While Ubuntu connects without any problems, Arch givesConnection error: authentication denied. Ubuntu runs in a VM, Arch is a host, so same hardware.

Perhaps

WARNING | VPNConnectorWrapper.current_connection is deprecated
might be related?