Comment 52 for bug 453807

Revision history for this message
Mathieu Carbou (mathieu-carbou) wrote :

Hi,

I think I really need your help: I just installed 2 days ago Ubuntu 10.04.1 LTS (x88) plus OpenVPN and Network Manager Gnome support (amongst with PPTP and CISCO) => network-manager-openvpn 0.8-0ubuntu3

I also had the 'No VPN secrets!' error. So I've applied the modification to nm-openvpn-service.conf

        <policy user="at_console">
                <allow own="org.freedesktop.NetworkManager.openvpn"/>
                <allow send_destination="org.freedesktop.NetworkManager.openvpn"/>
        </policy>

But when I try to activate the OpenVPN connection, I have the following error:

Aug 24 22:53:26 box NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.openvpn'...
Aug 24 22:53:26 box NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 2285
Aug 24 22:53:26 box NetworkManager: <WARN> vpn_service_watch_cb(): VPN service 'org.freedesktop.NetworkManager.openvpn' exited with error: 1
Aug 24 22:53:26 box NetworkManager: <info> (eth0): writing resolv.conf to /sbin/resolvconf
Aug 24 22:53:26 box NetworkManager: <info> Policy set 'Auto eth0' (eth0) as default for routing and DNS.
Aug 24 22:53:32 box NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.openvpn' did not start in time, cancelling connections

I'm stuck since two days on it...

The connection type is a really basic "Certificates TLS" with a private key requiring a password. I've tried to change

user="at_console"
to
at_console="true"

I've checked that the vpn settins in gconf-editor are there, and also the password in gnome keyring manager.