linux-cli-community icon indicating copy to clipboard operation
linux-cli-community copied to clipboard

Cant automatically connect on Fedora 33

Open cray12399 opened this issue 3 years ago • 2 comments

I recently installed ProtonVPN on Fedora 33. At startup, I want to be able to connect automatically without user intervention. However, no matter what I do, make a desktop file under autostart, create a systemd service, use rc.local, nothing works. Even the GUI gives me an error and says it is unable to enable autoconnect. Is there some way to make ProtonVPN automatically connect so that I dont have to remember to do so on reboot?

cray12399 avatar Mar 28 '21 17:03 cray12399

Can I see your start scripts? What command are you running?

absolutez3 avatar Apr 30 '21 18:04 absolutez3

I don't know if this works on any other desktop environments, but if you are using GNOME just put this in ~/.config/autostart/ProtonVPN-Reconnect.desktop:

[Desktop Entry] Name=ProtonVPN-Reconnect Comment=Automatically reconnect to ProtonVPN at startup Exec=/usr/bin/protonvpn-cli reconnect Terminal=false Type=Application X-GNOME-Autostart-enabled=true

TommyTran732 avatar May 26 '21 19:05 TommyTran732