How to fix NetworkManager’s OpenVPN plugin in Ubuntu 9.04
Binary Talks | (3)
The OpenVPN plugin for Gnome's NetworkManager is somewhat broken, at least in various Ubuntu releases. Even with proper configuration it runs into an "NeedSecrets" error although the same command with the same configuration from shell via sudo work's just fine.
But fear not mighty roadwarrior! Here's a fix to let the NetworkManager get back to work.
Needless to say that this is just a temporary solution (a fix is in the making), but the only thing you have to do is to add an at_console policy to /etc/dbus-1/system.d/nm-openvpn-service.conf right between the two already existing policies.
Then the file should look like the following:
Afterwards ...