cancel
Showing results for 
Search instead for 
Did you mean: 

pulseUi doesn't work in ubuntu 20.04

SOLVED
IDtheTarget
New Contributor

Re: pulseUi doesn't work in ubuntu 20.04

Okay, please disregard. It's working now. The only thing I did different was try the CLI (which didn't work because we're using OTP for 2FA), but then when I triedthe GUI again, it worked.  <happy dance>

suchindra
New Member

Re: pulseUi doesn't work in ubuntu 20.04

Just in case I have missed, Pulse Unified Linux Client has been released. It supports latest Linux based operating systems

quio
New Contributor

Re: pulseUi doesn't work in ubuntu 20.04

Hi!
I did it and it worked, then restarted my computer , run

/usr/local/pulse/pulseU

and I get the same error again (error while loading shared libraries: libwebkitgtk-1.0.so.0 etc). Like everything went back as it was. I re did the changes, worked again, restarted and back to not working... I am new at linux so it might be something very stupid, any help is appreciated!

quio
New Contributor

Re: pulseUi doesn't work in ubuntu 20.04

Unintentionally posted the same msg twice, don't know how to remove it...

PedroMBMachado
New Contributor

Re: pulseUi doesn't work in ubuntu 20.04

Here is the complete solution

To install Pulse Secure for Ubuntu 20.04, it is a bit complicated since the support isn't great.
First, we'll want to go through the form at https://www.pulsesecure.net/trynow/client-download/. You'll get an email with download links to the latest versions of pulse secure.
$ cd ~/Downloads
$ sudo dpkg -i ps-pulse-linux-[your-pulse-version]-ubuntu-debian-64-bit-installer.deb
Now, we'll want to go into the pulse directory and install the dependencies. We update the shell script file first to recognize Ubuntu 20.
$ cd /usr/local/pulse/
$ sudo sed -i "s/UBUNTU_VER\ \=\ 18\ \]/& \|\|\ [\ \$UBUNTU_VER\ \=\ 20 \]/" PulseClient_x86_64.sh
$ ./PulseClient_x86_64.sh install_dependency_packages
$ sudo apt-get install libenchant1c2a
Next, we'll want to create an extras and debs folder inside the pulse folder.
$ sudo mkdir /usr/local/pulse/extra
$ sudo mkdir /usr/local/pulse/debs
Then we'll want to download the following debs into /usr/local/pulse/debs/.
Next we will extract the debs into the extras folder.
$ cd /usr/local/pulse/extra
$ sudo dpkg -x /usr/local/pulse/debs/libicu60_60.2-3ubuntu3_amd64.deb .
$ sudo dpkg -x /usr/local/pulse/debs/libjavascriptcoregtk-1.0-0_2.4.11-3ubuntu3_amd64.deb .
$ sudo dpkg -x /usr/local/pulse/debs/libwebkitgtk-1.0-0_2.4.11-3ubuntu3_amd64.deb .
Then we'll want to add the library path to our shell startup file and for convience, the pulse secure command can be aliased as well. Likely .bashrc if you're using bash or .zshrc if zsh.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pulse/extra/usr/lib/x86_64-linux-gnu/
alias vpn=/usr/local/pulse/pulseUi
By default, pulse secure will have its output go directly to the terminal from which you ran it from. If you'd like to keep those separate and detach the program from the terminal when you run it, you can instead create the following alias: alias vpn="nohup /usr/local/pulse/pulseUi >| ~/.pulse_secure/pulse/pulse-output.log &" (thanks @GreyCardinal!)
Lastly, we want to make sure to source that same shell startup file e.g. source ~/.bashrc so the changes are loaded. We can then startup the client.
$ vpn
If you get disconnected and the GUI is stuck in a "reconnecting" status, you can use pulsesvc -K to kill the process.
 
Configure to run the UI.
$ nano ~/.local/share/applications/pulseUi.desktop
and replace the content by
#!/usr/bin/env xdg-open
 
[Desktop Entry]
version=1.0
Type=Application
Exec=/usr/bin/env LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pulse/extra/usr/lib/x86_64-linux-gnu/ sh -c /usr/local/pulse/pulseUi
Terminal=true
Name=Pulse Secure
Comment=Pulse Secure VPN client
Icon=/usr/local/pulse/html/images/Pulse-Secure128x128.png
and that is it.
PedroMBMachado
New Contributor

Re: pulseUi doesn't work in ubuntu 20.04

Here is the complete solution for Ubuntu 20.04.

To install Pulse Secure for Ubuntu 20.04, it is a bit complicated since the support isn't great.
First, we'll want to go through the form at https://www.pulsesecure.net/trynow/client-download/. You'll get an email with download links to the latest versions of pulse secure. Download the Linux one with the deb file and then you can install it using dpkg from your downloads folder.

 

$ cd ~/Downloads
$ sudo dpkg -i ps-pulse-linux-[your-pulse-version]-ubuntu-debian-64-bit-installer.deb
Now, we'll want to go into the pulse directory and install the dependencies. We update the shell script file first to recognize Ubuntu 20.
$ cd /usr/local/pulse/
$ sudo sed -i "s/UBUNTU_VER\ \=\ 18\ \]/& \|\|\ [\ \$UBUNTU_VER\ \=\ 20 \]/" PulseClient_x86_64.sh
$ ./PulseClient_x86_64.sh install_dependency_packages
$ sudo apt-get install libenchant1c2a
Next, we'll want to create an extras and debs folder inside the pulse folder.
$ sudo mkdir /usr/local/pulse/extra
$ sudo mkdir /usr/local/pulse/debs
Then we'll want to download the following debs into /usr/local/pulse/debs/.
Next we will extract the debs into the extras folder.
$ cd /usr/local/pulse/extra
$ sudo dpkg -x /usr/local/pulse/debs/libicu60_60.2-3ubuntu3_amd64.deb .
$ sudo dpkg -x /usr/local/pulse/debs/libjavascriptcoregtk-1.0-0_2.4.11-3ubuntu3_amd64.deb .
$ sudo dpkg -x /usr/local/pulse/debs/libwebkitgtk-1.0-0_2.4.11-3ubuntu3_amd64.deb .
Then we'll want to add the library path to our shell startup file and for convience, the pulse secure command can be aliased as well. Likely .bashrc if you're using bash or .zshrc if zsh.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pulse/extra/usr/lib/x86_64-linux-gnu/
alias vpn=/usr/local/pulse/pulseUi
By default, pulse secure will have its output go directly to the terminal from which you ran it from. If you'd like to keep those separate and detach the program from the terminal when you run it, you can instead create the following alias: alias vpn="nohup /usr/local/pulse/pulseUi >| ~/.pulse_secure/pulse/pulse-output.log &" (thanks @GreyCardinal!)
Lastly, we want to make sure to source that same shell startup file e.g. source ~/.bashrc so the changes are loaded. We can then startup the client.
$ vpn
If you get disconnected and the GUI is stuck in a "reconnecting" status, you can use pulsesvc -K to kill the process.

 

Configure to run the UI.
$ nano ~/.local/share/applications/pulseUi.desktop
and replace the content by
#!/usr/bin/env xdg-open
 
[Desktop Entry]
version=1.0
Type=Application
Exec=/usr/bin/env LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pulse/extra/usr/lib/x86_64-linux-gnu/ sh -c /usr/local/pulse/pulseUi
Terminal=true
Name=Pulse Secure
Comment=Pulse Secure VPN client
Icon=/usr/local/pulse/html/images/Pulse-Secure128x128.png
and that is it.