Package Details: globalprotect-bin 6.0.1.1-6

Git Clone URL: https://aur.archlinux.org/globalprotect-bin.git (read-only, click to copy)
Package Base: globalprotect-bin
Description: GlobalProtect VPN client Agent
Upstream URL: https://docs.paloaltonetworks.com/globalprotect/5-2/globalprotect-app-user-guide/globalprotect-app-for-linux/download-and-install-the-globalprotect-app-for-linux
Licenses: custom
Submitter: hoban
Maintainer: hoban
Last Packager: hoban
Votes: 3
Popularity: 0.053076
First Submitted: 2022-07-27 23:33 (UTC)
Last Updated: 2022-09-27 15:43 (UTC)

Latest Comments

ixevix commented on 2022-11-03 08:31 (UTC)

Finally I modified the script to be

#!/bin/bash

if [ $(id -u) -ne 0 ]; then
  PANGPA=/opt/paloaltonetworks/globalprotect/PanGPA

  pgrep -u $USER PanGPA > /dev/null 2>&1

  if [ $? -ne 0 ]; then
    if [ -f $PANGPA ]; then
      $PANGPA start &
    fi
  fi
fi

ixevix commented on 2022-11-02 12:35 (UTC) (edited on 2022-11-03 07:58 (UTC) by ixevix)

I second @Malvineous approach. I also commented out the /etc/profile.d/ file and just copied it to my user's ~/.profile file. I was getting some errors when launching a root terminal so I wanted them to go away.

Edit: Seems the errors were because I didn't start the gpd service. All good now.

hoban commented on 2022-08-29 16:10 (UTC)

Hello @Malvineous, currently this package will install both gpd.service & gpa.service globally:

❯ pacman -Ql globalprotect-bin | grep systemd
globalprotect-bin /usr/lib/systemd/
globalprotect-bin /usr/lib/systemd/system/
globalprotect-bin /usr/lib/systemd/system/gpa.service
globalprotect-bin /usr/lib/systemd/system/gpd.service

I have not personally tested running those services in user space:

❯ for svc in gpa gpd; do systemctl --user status $svc; done
Unit gpa.service could not be found.
Unit gpd.service could not be found.

Regarding the recommendation to enable gpd.service as a post-install script, I don't recall the community standard regarding service enablement by default. In RPM-type distros, I believe the default is to leave services disabled at package install, requiring the user to explicitly enable the desired service(s). I'm open to doing it if that's not this community's standard.

Please note that I'm testing this software and have been running into bugs, so I'm very open to the feedback. Thanks again!

Malvineous commented on 2022-08-24 05:16 (UTC)

Does this work with systemd? I just updated it to work with client 6.0.1.1-6 and I had to put gpa.service into /usr/lib/systemd/user/ instead, otherwise it wasn't available when I ran systemctl --user start gpa.service. I didn't try it running gpa.service globally though, is that what others are doing? I wonder whether this is why @boredhero had problems, because gpa.service was running as a system service instead of a user service?

Likewise I wonder whether a post-install script would be useful to run systemctl enable gpd.service? Not sure how you'd get it to run the user one though. Maybe printing some instructions at the end of the install process could be useful?

In summary, I had to run these commands after installing to get it to work:

sudo systemctl enable gpd.service
sudo systemctl start gpd.service
# As normal user
systemctl --user enable gpa.service
systemctl --user start gpa.service
globalprotect launch-ui

wombatbuddy commented on 2022-08-18 15:40 (UTC)

@hoban thanks!

hoban commented on 2022-08-17 19:23 (UTC)

Hi @wombatbuddy, I'm unable to provide the source files due to licensing concerns: https://docs.paloaltonetworks.com/globalprotect/5-1/globalprotect-app-user-guide/globalprotect-app-for-linux/download-and-install-the-globalprotect-app-for-linux Once you've obtained the source files, put them in the same folder as the PKGBUILD and you should be able to continue building the package.

wombatbuddy commented on 2022-08-17 19:03 (UTC)

Hello hoban, I unable to build "globalprotect-bin". I am getting the following error message: ERROR: GlobalProtect_tar-5.3.4.0-5.tgz did not found in build folder and this is not URL. Сould you please look at this. Thanks!

hoban commented on 2022-08-16 19:44 (UTC)

Hi boredhero, I'll see if I can download the new version to help test for the issue you're seeing. Meanwhile, does the current version work OK on your system?

boredhero commented on 2022-08-10 20:39 (UTC) (edited on 2022-08-10 20:48 (UTC) by boredhero)

v6.0.0.1-44 (current version)

PKGBUILD: https://pastebin.com/Qsiq5C2w .SRCINFO: https://pastebin.com/6S9wE17j

with the new version (v6.0.0.1-44) Gets it to build, but i was unable to get it to run following the steps from the install:

To use GlobalProtect, run the following commands: $ sudo systemctl start gpd /opt/paloaltonetworks/globalprotect/PanGPUI start & $ sudo systemctl start gpa $ globalprotect launch-ui In unsupported desktop environments (e.g. GNOME), to interact with the GlobalProtect UI, (re-)run: $ globalprotect launch-ui

getting the error: Cannot connect to local gpd service. when trying to run globalprotect launch-ui