Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Private Internet Access GUI [solved]

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
tedlasso
n00b
n00b
Posts: 34
Joined: Fri Oct 27, 2023 4:02 pm

Private Internet Access GUI [solved]

  • Quote

Post by tedlasso » Sat Mar 09, 2024 1:53 pm

I've tried to get the PIA GUI to work with OpenRC but no luck. I have it working with Void Linux's Runit init system and was thinking if I could somehow add the Runit system working with OpenRC. The wiki page https://wiki.gentoo.org/wiki/Runit says:
It can be used as alternative to sysvinit or systemd, either by itself or in conjunction with OpenRC. It can also be used as a helper for supervising OpenRC services.
The way it works with Void is descripted in Reddit https://www.reddit.com/r/voidlinux/comm ... ss_on_void
1. Run bash pia-linux-x-x.run -- --skip-service
this gives error on Gentoo:

Code: Select all

bash pia-linux-3.5.1-07760.run -- --skip-service
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing Private Internet Access  100%  

=================================
Private Internet Access Installer
=================================

Installing PIA for x86_64, system is x86_64
✘ Build is not compatible with this system.
/tmp/selfgz890631105/piafiles/bin/piactl --version
/tmp/selfgz890631105/piafiles/bin/piactl: error while loading shared libraries: libgssapi_krb5.so.2: cannot open shared object file: No such file or directory

This upgrade does not appear to be compatible with this system.
If this is an older distribution, it may no longer be supported.

The PIA installation will not be modified.
You can stop receiving update notifications if this distribution is out of support.
Stop receiving update notifications? [y/N] 
2. Create a file /etc/sv/piavpn/run

Code: Select all

#!/bin/sh
exec /opt/piavpn/bin/pia-daemon
3. chmod +x /etc/sv/piavpn/run

4. ln -s /etc/sv/piavpn /var/service

sv start piavpn + launch the app.

So how should I add the runit to run the PIA app or is there any other way? I can connect PIA with their cli script but it's not so intuitive to use.
Last edited by tedlasso on Sun Mar 10, 2024 11:25 am, edited 1 time in total.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sat Mar 09, 2024 2:21 pm

tedlasso,

Code: Select all

bash pia-linux-3.5.1-07760.run
installs random files all over your gentoo install, potentally overwriting files installed and managed by portage.
That's a very bad thing for the rest of your system.

If it installs to /opt, or /usr/local, it should "mostly harmless".

Its complaining about a missing dependency.

Code: Select all

error while loading shared libraries: libgssapi_krb5.so.2:
You need to provide that.

Searching https://www.portagefilelist.de/ for libgssapi_krb5* shows that its provided by

Code: Select all

app-crypt/mit-krb5
in gentoo, so you need to install that package.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
tedlasso
n00b
n00b
Posts: 34
Joined: Fri Oct 27, 2023 4:02 pm

  • Quote

Post by tedlasso » Sat Mar 09, 2024 6:36 pm

Thank you Neddy! I'll try if installing that package helps. And thanks for the heads up on the script installing random files. I'll try it on a spare computer for a while to see if anything breaks. I know it's not a good practice to use some scripts instead of Portage.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sat Mar 09, 2024 6:44 pm

tedlasso,

Try the -h or --help option. It may give you an install path option.

It may have several missing libraries too. You will discover them one at a time.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
tedlasso
n00b
n00b
Posts: 34
Joined: Fri Oct 27, 2023 4:02 pm

  • Quote

Post by tedlasso » Sun Mar 10, 2024 11:24 am

update: I emerged the

Code: Select all

app-crypt/mit-krb5
and then proceeded with

Code: Select all

bash pia-linux-3.5.1-07760.run -- --skip-service
Verifying archive integrity... 100% MD5 checksums are OK. All good.
Uncompressing Private Internet Access 100%

=================================
Private Internet Access Installer
=================================

Installing PIA for x86_64, system is x86_64
✔ Copied Private Internet Access files
✔ Allow non-root /opt/piavpn/bin/pia-unbound to bind to privileged ports
✔ Created var folder
✔ Installed icon
✔ Created desktop entry
✔ Finished. You will need to manually configure /opt/piavpn/bin/pia-daemon to start at boot.

Code: Select all

pete@gentoo ~/Downloads $ sudo mkdir /etc/sv
pete@gentoo ~/Downloads $ sudo mkdir /etc/sv/piavpn
pete@gentoo ~/Downloads $ sudo touch /etc/sv/piavpn/run
pete@gentoo ~/Downloads $ sudo nano /etc/sv/piavpn/run 
this it the /etc/sv/piavpn/run file:

Code: Select all

#!/bin/sh
exec /opt/piavpn/bin/pia-daemon 

Code: Select all

pete@gentoo ~/Downloads $ sudo chmod +x /etc/sv/piavpn/run
pete@gentoo ~/Downloads $ sudo ln -s /etc/sv/piavpn /var/service
pete@gentoo ~/Downloads $ rc-service piavpn start
 * piavpn: superuser access required
pete@gentoo ~/Downloads $ sudo !!
sudo rc-service piavpn start
 * Caching service dependencies ...                                       [ ok ]
 * Starting piavpn ...                                                    [ ok ]

and the GUI works! Thank you Neddy!
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun Mar 10, 2024 11:57 am

tedlasso,

Code: Select all

/opt/piavpn/...
that looks like a well behaved binary install too.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
tedlasso
n00b
n00b
Posts: 34
Joined: Fri Oct 27, 2023 4:02 pm

  • Quote

Post by tedlasso » Sat Mar 16, 2024 9:29 am

a quick update: the PIA GUI doesn't work anymore. I've given up with the GUI and just use cli to enable PIA WG
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56085
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sat Mar 16, 2024 12:03 pm

tedlasso,
doesn't work anymore
is not a good bug report. For us to help fix it, we need to know what it does do.

As its installed outside of portage, keeping the dependencies it needs is your problem.
We already identified app-crypt/mit-krb5 as not being installed at all.

Its quite possible that portage has removed another library as you system does not need it or updated something to an incompatible version.
The error message from PIA will give more information.

Try starting the GUI from a terminal window if you don't get an error message.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
tedlasso
n00b
n00b
Posts: 34
Joined: Fri Oct 27, 2023 4:02 pm

  • Quote

Post by tedlasso » Wed Mar 20, 2024 4:53 pm

Hi Neddy,

sorry for my late reply. I've opened a ticket to Private Internet Access and they informed that they don't have plans to make the GUI work with OpenRC anytime soon. So I gave up trying to use the app.
Top
tedlasso
n00b
n00b
Posts: 34
Joined: Fri Oct 27, 2023 4:02 pm

  • Quote

Post by tedlasso » Mon Aug 18, 2025 8:21 pm

Late update

PIA is now on GitHub for the source code https://github.com/pia-foss
I downloaded the latest .run file and it recognizes I'm using OpenRC and it works right from there! Nice work PIA!
Top
Post Reply

10 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic