Hi @spacemann, sounds like your problem is that the VPN disconnects when there's no graphical client - i.e. when the VPN is running in the background. Maybe you can enable background mode, and see is that fixes your problem: piactl background enable.
Search Criteria
Package Details: piavpn-bin 1:3.7-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/piavpn-bin.git (read-only, click to copy) |
|---|---|
| Package Base: | piavpn-bin |
| Description: | Private Internet Access client |
| Upstream URL: | https://privateinternetaccess.com/ |
| Keywords: | private-internet-access vpn |
| Licenses: | custom |
| Conflicts: | pia-launch, pia-manager, pia-tools, private-internet-access-vpn |
| Provides: | piavpn |
| Submitter: | solsticedhiver |
| Maintainer: | lobroc (solsticedhiver) |
| Last Packager: | lobroc |
| Votes: | 23 |
| Popularity: | 0.000221 |
| First Submitted: | 2020-04-14 15:32 (UTC) |
| Last Updated: | 2025-10-13 20:39 (UTC) |
Dependencies (5)
- libnl (libnl-gitAUR)
- libxkbcommon-x11 (libxkbcommon-x11-gitAUR)
- zip (zip-natspecAUR)
- libcap (make)
- WIREGUARD-MODULE (wireguard-dkmsAUR, linux-xanmod-rt510AUR, linux-yoga9AUR, linux-covolunablu-gamingAUR, linux-hdr-gitAUR, wireguard-module-gitAUR, linux-lts-huawei-amd-audioAUR, linux-huawei-amd-audioAUR, linux-ranghoAUR, linux-lts-515-gitAUR, linux-intel-lts-sriovAUR, linux-kamakiriAUR, linux-ath-dfsAUR, linux-manjaro-xanmodAUR, linux-zencjkAUR, linux-amd-colorAUR, linux-sched-ext-gitAUR, linux-tip-gitAUR, linux-zen-bmqAUR, linux-rcAUR, linux-lts-amd-bc250AUR, linux-xanmod-gitAUR, linux-hardened-ltsAUR, linux-neptune-65AUR, linux-zen-flukejonesAUR, linux-amd-staging-drm-next-gitAUR, linux-jcoreAUR, linux-gaokun3AUR, linux-rt-lts61AUR, linux-rustAUR, linux-cjkttyAUR, linux-amd-gitAUR, linux-zenerAUR, linux-next-gitAUR, linux-drm-intel-next-gitAUR, linux-drm-tip-gitAUR, linux-drm-next-gitAUR, linux-clearAUR, linux-bcachefs-gitAUR, linux-zenith-gitAUR, linux-shmileeAUR, linux-gitAUR, linux-hardened-gitAUR, linux-clear-cjktty-zfsAUR, linux-xanmod-binAUR, linux6.17.9.arch1-1-binAUR, linux6.17.9.zen1-1-zen-binAUR, linux-mainlineAUR, linux-libreAUR, linux-amd-drm-nextAUR, linux-stubAUR, linux-pfAUR, linux6.17.10.hardened1-1-hardened-binAUR, linux-bnx2x-2.5gAUR, linux-nitrousAUR, linux-fsync-nobara-binAUR, linux-xanmod-boreAUR, linux-lts510AUR, linux-lts61AUR, linux-lts66AUR, linux6.12.61-1-lts-binAUR, linux-vfioAUR, linux-vfio-ltsAUR, linux-cachyosAUR, linux-cachyos-bmqAUR, linux-cachyos-boreAUR, linux-cachyos-eevdfAUR, linux-cachyos-hardenedAUR, linux-cachyos-ltsAUR, linux-cachyos-rcAUR, linux-cachyos-serverAUR, linux-amd-drm-fixesAUR, linux-bazzite-binAUR, linux-libre-hardenedAUR, linux-lqxAUR, linux-g14AUR, linux-tachyonAUR, linux-lts515AUR, linux-xanmod-ltsAUR, linux-xanmod-rtAUR, linux-xanmodAUR, linux-xanmod-edgeAUR, linux-lts-bnx2x-2.5gAUR, linux-flowx13AUR, linux-xanmod-anboxAUR, linux, linux-hardened, linux-lts, linux-rt, linux-rt-lts, linux-zen) (optional) – to use the wireguard kernel module instead
Required by (0)
Sources (2)
lobroc commented on 2025-09-05 07:26 (UTC)
spacemann commented on 2025-08-21 19:52 (UTC)
When KDE Wayland crashes (which, unfortunately, happens a lot with multi-monitor setups), it turns off the VPN, leaving me unprotected.
The service is enabled via sudo systemctl enable --now piavpn.service, and works fine whenever I use the desktop applet. But, when KDE Wayland crashes, it leaves me back with my desktop still present, but a bunch of the programs closed. This includes piavpn.
So, I really need some kind of config for the systemd service automatically installed, or for the desktop app to write some config file for piavpn.service to read, because otherwise this is quite insecure :/
hgabreu commented on 2025-07-25 15:26 (UTC)
Anyone else having issues to download pia-linux-3.6.2-08398.run? I'm getting certificate issues.
lobroc commented on 2025-04-02 11:11 (UTC)
I checked your claim @InvisibleRasta, the symlink is still required as of systemd 257, or else I will reproduce the same issues discussed below. I'll be leaving the change in-place for now. I'm glad that you have found a solution that works for you.
InvisibleRasta commented on 2025-03-11 23:08 (UTC)
The problem with the piavpn.service hanging at reboot/shutdown seems to be caused by the symlink created at line 73 of the PKGBUILD. Removing that line fixes the problem.
InvisibleRasta commented on 2025-02-28 21:31 (UTC)
There seems to be something wrong with the application. The service hangs at shutdown for 1-2 minutes
lobroc commented on 2024-11-24 23:36 (UTC)
Hi @solsticedhiver, this whole problem has been somewhat unclear to me. You are right that I should have checked things with ldd myself before blindly applying your solution, and @coolreader18 was right about the fact that I should have double-checked the package before submitting.
To prevent issues like this from occurring in the future, I have added you as co-maintainer, as you were the person which submitted this package anyway. If I am ever excessively slow at packaging a new version or submitting an appropriate patch, please feel free to help me out!
solsticedhiver commented on 2024-11-24 23:15 (UTC) (edited on 2024-11-24 23:16 (UTC) by solsticedhiver)
It's only me that is affected or what? because the fix does not work as it is now.
The symlink is in the wrong directory. It should be in /opt/piavpn/lib, and remove the library before making the symlink.
oops, my previous comment was incorrect /o\ sorry
lobroc commented on 2024-11-18 21:04 (UTC)
Ah you're right. I had symlinked it manually before, so I didn't realise. Thanks for pointing it out!
Pinned Comments
lobroc commented on 2023-09-20 15:26 (UTC) (edited on 2023-09-20 15:30 (UTC) by lobroc)
Warning: the iproute2 package has updated from version 6.4.0 to 6.5.0, and with it the default rt_tables location has changed from /etc/iproute2/rt_tables to /usr/lib/iproute2/rt_tables. I've rolled out a fix for this change in the latest version. When updating your package, please remove the package, and then reinstall it, so that everything in the piavpn-bin.install gets re-run. You will need to re-run 'sudo systemctl enable --now piavpn.service'
Arvid commented on 2023-02-18 00:39 (UTC) (edited on 2023-02-18 01:07 (UTC) by Arvid)
The client is here:
/opt/piavpn/bin/pia-client
solsticedhiver commented on 2023-02-17 19:16 (UTC) (edited on 2023-02-17 19:41 (UTC) by solsticedhiver)
You need to enable and start piavpn.service. Run
sudo systemctl enable --now piavpn.serviceThen pia-client will complete the quick tour guide, and let you login.