Skip to content

Instantly share code, notes, and snippets.

@vladdoster
Last active September 8, 2025 20:16
Show Gist options
  • Save vladdoster/d5ef92c8f7046bb4c9cf10e241d566a0 to your computer and use it in GitHub Desktop.
Save vladdoster/d5ef92c8f7046bb4c9cf10e241d566a0 to your computer and use it in GitHub Desktop.

Revisions

  1. vladdoster revised this gist Sep 8, 2025. 1 changed file with 9 additions and 8 deletions.
    17 changes: 9 additions & 8 deletions start-pulse-VPN.sh
    Original file line number Diff line number Diff line change
    @@ -2,15 +2,16 @@
    #
    # Script to start Pulse VPN GUI on Linux/GNU
    #
    echo "--- updating LD_LIBRARY_PATH"
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pulse/extra/usr/lib/x86_64-linux-gnu/
    echo "--- starting Pulse VPN"
    if
    find /usr/local/pulse -name 'pulseUi' -print0 | xargs nohup {} &
    then
    echo "--- started Pulse VPN UI"
    echo "== updating LD_LIBRARY_PATH"
    export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/pulse/extra/usr/lib/x86_64-linux-gnu/"
    echo "== starting Pulse VPN"

    find /usr/local/pulse -name 'pulseUi'
    if $?; then
    find /usr/local/pulse -name 'pulseUi' -type f | head -1 | xargs nohup {} &
    echo "== started Pulse VPN UI"
    exit 0
    else
    echo "--- ERROR: unable to find pulseUI"
    echo "ERROR: unable to find pulseUI"
    exit 1
    fi
  2. vladdoster revised this gist Jun 4, 2022. 2 changed files with 16 additions and 6 deletions.
    16 changes: 16 additions & 0 deletions start-pulse-VPN.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    #!/usr/bin/env bash
    #
    # Script to start Pulse VPN GUI on Linux/GNU
    #
    echo "--- updating LD_LIBRARY_PATH"
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pulse/extra/usr/lib/x86_64-linux-gnu/
    echo "--- starting Pulse VPN"
    if
    find /usr/local/pulse -name 'pulseUi' -print0 | xargs nohup {} &
    then
    echo "--- started Pulse VPN UI"
    exit 0
    else
    echo "--- ERROR: unable to find pulseUI"
    exit 1
    fi
    6 changes: 0 additions & 6 deletions start_pulse.sh
    Original file line number Diff line number Diff line change
    @@ -1,6 +0,0 @@
    #!/bin/bash

    echo "Exporting LD_LIBRARY_PATH"
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pulse/extra/usr/lib/x86_64-linux-gnu/
    echo "Starting Pulse VPN"
    /usr/local/pulse/./pulseUi &
  3. vladdoster created this gist Mar 18, 2020.
    6 changes: 6 additions & 0 deletions start_pulse.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    #!/bin/bash

    echo "Exporting LD_LIBRARY_PATH"
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pulse/extra/usr/lib/x86_64-linux-gnu/
    echo "Starting Pulse VPN"
    /usr/local/pulse/./pulseUi &