ok, so maybe it's related to this gmail gnome extension
I'll try to disable it and will see if it's stops
in that case, I will try something like listening to a login event if available and when triggered checking the username and the VPN connection and run the relevant command to get the correct VPN command to run to switch it on or off.
it will be a bit more complex script
if you are using two usernames and switch between them so you can use the variable $USER
to get the current username,
you can create a bash script that checks the username and if it's work user run the command to connect to the VPN,
else just ignore.
this script will run at startup or login
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.