nm-l2tp / NetworkManager-l2tp

L2TP and L2TP/IPsec support for NetworkManager
GNU General Public License v2.0
486 stars 84 forks source link

auth-dialog: don't connect to Gtk+ display until necessary #93

Closed lkundrak closed 5 years ago

lkundrak commented 5 years ago

In the external UI mode we may end up not needing a connection to the display server at all.

This splits the parsing of Gtk+ command line arguments from connection to the display. This also fixes the --help output to actually include the Gtk+ arguments (such as --display).