Install Pre-requisites:
sudo apt-get install libglib2.0-dev libgtk2.0-dev libglade2-dev libgnome-keyring-dev gksu subversion build-essential autogen automake autoconf intltool openvpn
Download Gopenvpn source:
svn co https://gopenvpn.svn.sourceforge.net/svnroot/gopenvpn gopenvpn
Change directory to Gopenvpn and run:
cd gopenvpn/trunk/gopenvpn/ ./autogen.sh autoheader intltoolize ./configure make sudo make install
Run Gopenvpn as admin without password prompting by inserting this into /etc/sudoers:
%username ALL=NOPASSWD: /usr/local/bin/gopenvpn %username ALL=NOPASSWD: /usr/sbin/openvpn
“username” is exchanged with the local username.