suncatcher_13
December 4th, 2013, 02:45 PM
Could you tell me how to launch OpenVPN connection via launcher (shortcut)?
I've installed OpenVPN, set up connection (crt, conf-files). All is correct and working.
Created bash-script /bin/conn.sh which launch connection:
cd /etc/openvpn
openvpn client.conf
I have auth-user-pass mode of authentification, therefore in order to exclude credentials input I've created login.conf and wrote out it in client.conf
auth-user-pass login.conf
All is working good. It's when I execute it in console under root
xxx-host# /bin/conn.sh
How can I execute this script by clicking on shortcut?
Ive tried to create different types of launcher (application and application in terminal) but no luck.
specially I want it to be executed with showing output in console. I want to be informed about errors.
I run LMDE 15 x32 with MATE 1.6.0 as a guest under VirtualBox 4.3.4
I've installed OpenVPN, set up connection (crt, conf-files). All is correct and working.
Created bash-script /bin/conn.sh which launch connection:
cd /etc/openvpn
openvpn client.conf
I have auth-user-pass mode of authentification, therefore in order to exclude credentials input I've created login.conf and wrote out it in client.conf
auth-user-pass login.conf
All is working good. It's when I execute it in console under root
xxx-host# /bin/conn.sh
How can I execute this script by clicking on shortcut?
Ive tried to create different types of launcher (application and application in terminal) but no luck.
specially I want it to be executed with showing output in console. I want to be informed about errors.
I run LMDE 15 x32 with MATE 1.6.0 as a guest under VirtualBox 4.3.4