@fehlix can the first command be reversed if Nordvpn issues an update that works again? I'll be more comfortable testing this knowing how to reverse it.fehlix wrote: Tue Nov 09, 2021 7:15 am In case manually restarting nordvpn would help, as mentioned already,
here a password less auto(re-)start of nordvpn daemon:
* first enable password less (re-)start of NordVPN daemon:
run this in terminal:
* next add an autostart entry for Xfce with delay, e.g. of 5 sec:Code: Select all
echo "%users ALL=(root) NOPASSWD: /etc/init.d/nordvpn" | sudo sh -c 'umask 0337; tee /etc/sudoers.d/nordvpn'
Within Session&Startup add new Entry:
Name: NordVPN
Comment: Restart NordVPN
Command:Note: you can add further commands semicolon separated like the one you have shown, e.g.Code: Select all
sh -c "pidof -q nordvpnd && exit; test -f /etc/init.d/nordvpn && sleep 5 && sudo /etc/init.d/nordvpn restart"
e.g. to add "nordvpn c"Works here for both inits: SysVinit and systemd.Code: Select all
sh -c "pidof -q nordvpnd && exit; test -f /etc/init.d/nordvpn && sleep 5 && sudo /etc/init.d/nordvpn restart; nordvpn c"
+++EDIT+++; adjusted autostart command
For now, I made a launcher that runs a script with the simple sysV command to start the service. Terminal pops up, I enter password, then I run command to connect.
I don't connect with vpn all the time (e.g my wireless printer/scanner doesn't work with vpn on).
[Added] also, is the nordvpn deb file for MX21 the same as that for MX19? I have the 3.11 file in MX21 but had cleared the caches of my MX19 installs already.