jakeday / SurfShark-VPN-GUI

GUI for connecting to the SurfShark VPN
33 stars 14 forks source link

Silently failing as sudo password cannot be given as input #4

Closed kartheek7895 closed 3 years ago

kartheek7895 commented 3 years ago

If launched with any prior sudo session, the OpenVPN command fails silently.

Solution: Instead of sudo use pkexec (this is how gnome-software also prompts for sudo password) which will pop a graphical sudo password prompt.

jakeday commented 3 years ago

This has been updated. Thanks for the recommendation!