After login I can run systemctl --user start protonvpn-cli or protonvpn c and it will work. protonvpn login username informs me that I am already logged in.
There is no full disc encryption (no home directory encryption, no partition encryption). This is a shared family system, so I don't wish to use a system-wide service as the other users aren't supposed to get connected to a VPN.
Describe the bug
When starting ProtonVPN from systemd user service on login, it fails to start due to
There is no stored session. Please, login first.
To Reproduce
protonvpn-cli login username
cd ~/.config/systemd/user/
(mkdir
it if it doesn't exist)protonvpn-user.service
with your favourite text editor.systemctl --user daemon-reload
systemctl --user enable protonvpn-user.service
reboot
systemctl --user status protonvpn-user.service
Expected behavior
I expect that ProtonVPN starts on login and connects to a server.
Error Messages/Program Output/Log Messages (~/.pvpn-cli/pvpn-cli.log)
Desktop (please complete the following information):
Additional context
After login I can run
systemctl --user start protonvpn-cli
orprotonvpn c
and it will work.protonvpn login username
informs me that I am already logged in.There is no full disc encryption (no home directory encryption, no partition encryption). This is a shared family system, so I don't wish to use a system-wide service as the other users aren't supposed to get connected to a VPN.