Thanks for this, I think I am getting confused. Initially I was wanting the script to run when the user logged onto the desktop, hence the .profile file. For testing purpose I tried running .profile from the command-line.
I have added source /path/to/script/startVPN.sh to ~/.bashrc but the VPN...