ProtonVPn on Linux, OpenSuse (KDE)

Hi all,

How to set Protovvpn to not ask me a password every time when I connect ?

Also I login in with my main account username and password, but then while connecting it asks me again for password and only valid one is from OpenVPN / IKEv2 username.

How to set it to get it faster connected ? :wink:

thanks

We really need a linux protonvpn app that uses wireguard protocol, that would solve a lot of problems for us Linux users. Hopefully very soon

First, make a polkit rule for it: sudo touch /etc/polkit-1/rules.d/20-protonvpn.rules

Then, use your editor of choice to open it: SUDO_EDITOR=kate sudoedit /etc/polkit-1/rules.d/20-protonvpn.rules

The file should contain the following:

polkit.addRule(function(action, subject) {
    if (subject.isInGroup("wheel")) {
        return polkit.Result.YES;
    }
});

After that, add your user to the “wheel” group: sudo usermod -a -G wheel $USER

Now, restart and it’ll work! I’ve wanted to make a video on this for a while, but haven’t had time. I hope to make one soon for other SUSE users having issues with needing the password every time to connect/disconnect/etc.

I am on OpenBSD, and use WireGuard because it’s built into the kernel.

I am curious about ProtonVPN asking for a password - is that some sudo/doas thing? Does openvpn need root privileges?

They’re working on a new totally revamped app for more than a year…

totally agree. Also most of the users using nowadays Linux :slight_smile:

I do wonder if that’s inability to deal with Linux OSes or some infrastructure problem that won’t allow usage of WireGuard on the client.

Gosh, I still have problems with killswitch which I need to remove to stop using the VPN.

Yes, first it asked me for root privilege and than password

really? where have they said that? Do you have a link, by chance?

I suspect they there is nothing ProtonVPN can do about that.

That’s a good thing - in general, you would not want random apps to be able to bypass the OS privileges model.

I don’t know that WireGuard will make much of a difference.

On OpenBSD, I have to use doas (sort of the equivalent of sudo) to run the wg-quick tools that set up WireGuard connection.

If you add yourself to sudoers (I think that’s the right term), then you should be able to use sudo to execute whatever tool you use to start vpn without a password.

https://reddit.com/r/ProtonVPN/comments/117sahb/_/j9ebnqt/?context=1