Skip to content
Browse files

python: Give better information when starting background VPN sessions

Signed-off-by: David Sommerseth <>
  • Loading branch information...
dsommers committed May 23, 2019
1 parent f2bf676 commit 03b15fa00c0f7a4f31f8d2e8c5caad1a3e13941f
Showing with 13 additions and 5 deletions.
  1. +13 −5 src/python/openvpn2
@@ -250,11 +250,19 @@ def start_tunnel(bus, cfgobj, background_mode, verb):

if connected:
# Print important details to the terminal ...
print('Running connection in the background. To manage '
+ 'this connection, use')
print('the openvpn3 command line tool with the session '
+ 'path below:')
print('>>> Session path: ' + sessionobj.GetPath())
print('VPN session is running in the background.')
print('Session path: ' + sessionobj.GetPath())
print('Use the \'openvpn3 session-manage\' command line '
+ 'tool to manage this session.')
print('See \'openvpn3 session-manage --help\' and '
+'\'openvpn3 sessions-list\' for more details')
print('To disconnect and stop this VPN session run:')
print(' $ openvpn3 session-manage --session-path '
+ sessionobj.GetPath() + ' --disconnect')
done = True

except dbus.exceptions.DBusException as excep:

0 comments on commit 03b15fa

Please sign in to comment.
You can’t perform that action at this time.