Installing OpenFortiGUI on Ubuntu 18.04

If you're trying to use OpenFortiGui on Ubuntu 18.04, you might run into  a problem with saving credentials in the gnome key ring. Here's how you get it installed successfully with everything working.

The GitHub repo is here: https://github.com/theinvisible/openfortigui

I'd suggest installing the apt repository as listed here: https://apt.iteas.at/

Note: As an alternative, you can just install the deb file by downloading it from here: https://hadler.me/linux/openfortigui/, but my instructions won't be covering that method.

Quickly open a bash session as root to run these next few commands.

sudo bash

Now install the security key for the PPA:

apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 2FAB19E7CCB7F415

Now add the PPA to your list of sources:

echo "deb https://apt.iteas.at/iteas bionic main" > /etc/apt/sources.list.d/iteas.list

Now update your local repository list:

apt update

Don't forget to exit the root prompt:

exit

Now install OpenFortiGui and the missing Gnome keyring library:

sudo apt install openfortigui libgnome-keyring0

You should be good to go now. If you see this error message when running the Setup Wizard:

You probably didn't install the gnome keyring library listed above.

Enjoy!