<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: GlobalProtect VPN fails to launch on Linux [Solved] in GlobalProtect Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/globalprotect-discussions/globalprotect-vpn-fails-to-launch-on-linux-solved/m-p/1256089#M7406</link>
    <description>&lt;P&gt;Just to clarify. This is tested on Ubuntu 24.04 LTS with GlobalProtect&amp;nbsp;6.3.3-674&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jun 2026 12:22:56 GMT</pubDate>
    <dc:creator>jamesps</dc:creator>
    <dc:date>2026-06-11T12:22:56Z</dc:date>
    <item>
      <title>GlobalProtect VPN fails to launch on Linux [Solved]</title>
      <link>https://live.paloaltonetworks.com/t5/globalprotect-discussions/globalprotect-vpn-fails-to-launch-on-linux-solved/m-p/1256053#M7405</link>
      <description>&lt;P&gt;As an Ubuntu desktop/laptop admin at my company, I've had my fair share of gripes with Globalprotect VPN for Linux. So I wanted to share my home-grown fixes for various issues I've encountered.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yesterday, I encountered another such issue which the developers have kindly created for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is that Linux users with a UID &amp;gt; 60000 cannot launch the VPN at all. Why you might ask? Well it's because the gpa.service is hardcoded to fail for UID numbers of a certain range.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the systemd service definition:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# /etc/xdg/systemd/user/gpa.service
[Unit]
Description=GlobalProtect VPN client Agent
ConditionUser=!@system

[Service]
Type=simple
ExecStartPre=/usr/bin/bash -c 'if [ $(id -u) -lt 1000 ] || [ $(id -u) -gt 60000 ]; then exit 1; fi'
ExecStart=/opt/paloaltonetworks/globalprotect/PanGPA start
Restart=on-failure
RestartSec=1
WorkingDirectory=/opt/paloaltonetworks/globalprotect

[Install]
WantedBy=default.target&lt;/LI-CODE&gt;&lt;P&gt;gpa.service is a systemd service run as the target user and is required for PanGPUI process to launch or to connect to the VPN at all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see, there is a lovely hardcoded UID range within which the service works as expected.&lt;/P&gt;&lt;P&gt;Unfortunately, if you're like me and use SSSD/LDAP to authenticate/authorise users on your Linux devices, you may have a UID range that's well beyond this limitation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Despite raising multiple tickets with PaloAlto in the past for similar client issues, I don't trust them to fix it any time soon.&lt;/P&gt;&lt;P&gt;So the solution for now is to write a systemd drop-in unit to override this limitation:&amp;nbsp;&lt;A href="https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html" target="_blank"&gt;https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something like below will simply remove the broken logic altogether.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# /etc/systemd/user/gpa.service.d/override.conf
[Service]
ExecStartPre=&lt;/LI-CODE&gt;&lt;P&gt;Or you can wipe and replace it with a fixed version&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# /etc/systemd/user/gpa.service.d/override.conf
[Service]
ExecStartPre=
ExecStartPre=/usr/bin/bash -c 'if [ $(id -u) -lt 1000 ]; then exit 1; fi'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway... I might post more solutions to other problems I've encountered if I'm bored and angry enough at GlobalProtect&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2026 07:51:06 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/globalprotect-discussions/globalprotect-vpn-fails-to-launch-on-linux-solved/m-p/1256053#M7405</guid>
      <dc:creator>jamesps</dc:creator>
      <dc:date>2026-06-11T07:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: GlobalProtect VPN fails to launch on Linux [Solved]</title>
      <link>https://live.paloaltonetworks.com/t5/globalprotect-discussions/globalprotect-vpn-fails-to-launch-on-linux-solved/m-p/1256089#M7406</link>
      <description>&lt;P&gt;Just to clarify. This is tested on Ubuntu 24.04 LTS with GlobalProtect&amp;nbsp;6.3.3-674&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2026 12:22:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/globalprotect-discussions/globalprotect-vpn-fails-to-launch-on-linux-solved/m-p/1256089#M7406</guid>
      <dc:creator>jamesps</dc:creator>
      <dc:date>2026-06-11T12:22:56Z</dc:date>
    </item>
  </channel>
</rss>

