fehlix wrote: Mon Nov 15, 2021 4:36 am
(re-)starting of nordvpn service should work for latest version, as mentioned a couple of times within recent posts of this thread.
Your workaround to to make nordvpn service (re)start automatically upon reboot/fresh login does indeed work.
But I was using MX-KDE instead of XFCE, and the Plasma settings for autostart allows you to add only: a) application, b) login script or c) logout script.
so for the autostart entry, I made a .desktop file (ie, an "application") with the Exec entry as:
Code: Select all
Exec=bash -c 'pidof -q nordvpnd && exit; test -f /etc/init.d/nordvpn && sleep 5 && sudo /etc/init.d/nordvpn restart'
I didn't want to autoconnect, since I only connect when I want to.
Note: I actually first reverted your above changes and tried to do what
@galaxysurfer and
@CyberGhost did, ie login via the new
command, but when I used the provided browser link (in the terminal output) to re-login, the browser page simply indicated that I had been logged in, without the short **appearance of a fresh terminal with the nordvpn rotating "/" symbol indicating logging in was happening. When I then tried to connect in a terminal after that so-called login, it told me I wasn't logged in.
I tried this in systemd and sysv, both told me I wasn't logged in after the browser page said I'd logged in successfully.
So I had to log in using the deprecated command, add your workarounds again, and reboot, and sure enough your workaround works to enable the service our of the box. I can then connect whenever I want to without any whoops sock error.
** I used the new login command in my Arch-based distros and when I entered my account name and password in the browser page and hit ENTER, a new terminal appeared during login (with the rotating "/") and disappeared when login was complete. After that, Nordvpn version 3.12 is now working upon connecting, instead of previously when internet was fully cut off upon connecting.
@fehlix , I'm wondering if under "normal" systemd, the browser is able to trigger the opening of a terminal which is not possible in sysvinit or MX's systemd.