Allow connecting via CLI as non-root
Previously, I could run the CLI as my standard user on Arch without issue, so I added it to my ~/.zprofile, ensuring that I would always be connected to a VPN server. My login flow is to login to the TTY and then start a GUI from there.
I updated my system on 2026-05-23, and since then, protonvpn fails with "unexpected error." If I open a terminal emulator after I start a GUI session and use the CLI from there, it prompts me for root privileges. I am the sole user of the laptop, but I do have a separate administrator account that I use solely for system maintenance. I should not have to use root credentials every time I log in.
3
votes