When you connect to a VPN using the OpenConnect VPN in KDE, I get this dialog
However, When you click ‘Login’, it brings up this dialog in exactly the same position, in which case you end up clicking ‘Cancel’ by accident.
I could do this from the command line, but I prefer to use the gui option. Is there any way to get it connect through without popping up this dialog? In Gnome3 you could connect directly from the taskbar without any dialogs. It would be better if it only popped up the dialog if there was an error.
I think this might be the source code, I might look at trying to change it:
I would hope that, if the error were eliminated, it would “Store passwords” and “Automatically start connecting next time”, just like the checkboxes say.
You can disregard the ‘Error fetching HTTPS response’. That was just in the screen shot. It doesn’t usually come up.
In my experience checking the ‘Store passwords’ and ‘Automatically start connecting next time’ doesn’t do anything. It always pops up the dialog even if the previous attempt was successful.
Hm. Well, that’s frustrating. …You’re running this in a full-fledged KDE session, or under Gnome Shell?
Even if it’s “real” KDE, it’s possible some sort of keyring / credentials store isn’t available, unlocked, or even created, that it would be looking to store the username/password into. (Unfortunately, I know nothing about KDE so that’s just a wild guess, and the extent of my guessing power.)
@ferdnyc: The only way I could see around this was to edit:
/etc/NetworkManager/system-connections/vpn-name
I then I populated the username/password directly in the vpn-name file, which then pre-populated it in frmLogin (see screenshot). However, on a restart the change was gone.
I couldn’t find any keyring/credentials in use on the machine.