T
T
Talyan2019-08-16 20:48:59
linux
Talyan, 2019-08-16 20:48:59

How to make a button to connect OpenVPN?

Comrades! Often you need to connect to your workplace via OpenVPN. Connection happens through keys and certificates.
DE-XFCE.
I'm making a button with sudo openvpn /etc/openvpn/client.ovpn options with a "open in console" checkbox. At startup, of course, a password is required.
I want to make it connect on click connect, and disconnect on click. Yes, so that the password is not asked in the console.
gksudo no longer works in debian 10. How can I force the application to start with the root button?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor, 2019-08-16
@alhray

@ so that it doesn't ask for a password either @
/etc/sudoers

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question