linux-cli-community
linux-cli-community copied to clipboard
Cant automatically connect on Fedora 33
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?
Can I see your start scripts? What command are you running?
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