title: Getting Connected VPN Name in Python
body: <p>I'm trying to retrieve the name of a connected VPN. I'm running Fedora 23, so the connection is nicely enumerated in /etc/NetworkManager/system-connections, with one file that lists out every parameter of the VPN config, including the id which is what I'm looking for.</p>
  
  <p>However, this file is owned and readable only by root (permission is 600), and is recreated every time the VPN connection starts, so changing the permissions doesn't help either.</p>
  
  <p>I just need the name where I can retrieve it in a Python script. I can even do a separate check to see if it's active by reading the pid file in /sys/class/net. Is there any way to do this without elevating to root?</p>