gray button for saving “editing VPN connection” in Ubuntu 12.04











up vote
18
down vote

favorite
1












I have installed 12.04 and setting up the OpenVPN via network manager. the network-manager-openvpn-gnome is installed, and I can open "configure VPN..." and see "Add VPN", however I can not save my settings. The "Save.." button is gray and "Apply to all users" is selected and gray too.



Is this a bug ?










share|improve this question


















  • 1




    I can't save my configuration either. I followed this tutorial and the save button was never enabled. ubuntugeek.com/… Any suggestions?
    – pllee
    Jun 5 '12 at 2:54

















up vote
18
down vote

favorite
1












I have installed 12.04 and setting up the OpenVPN via network manager. the network-manager-openvpn-gnome is installed, and I can open "configure VPN..." and see "Add VPN", however I can not save my settings. The "Save.." button is gray and "Apply to all users" is selected and gray too.



Is this a bug ?










share|improve this question


















  • 1




    I can't save my configuration either. I followed this tutorial and the save button was never enabled. ubuntugeek.com/… Any suggestions?
    – pllee
    Jun 5 '12 at 2:54















up vote
18
down vote

favorite
1









up vote
18
down vote

favorite
1






1





I have installed 12.04 and setting up the OpenVPN via network manager. the network-manager-openvpn-gnome is installed, and I can open "configure VPN..." and see "Add VPN", however I can not save my settings. The "Save.." button is gray and "Apply to all users" is selected and gray too.



Is this a bug ?










share|improve this question













I have installed 12.04 and setting up the OpenVPN via network manager. the network-manager-openvpn-gnome is installed, and I can open "configure VPN..." and see "Add VPN", however I can not save my settings. The "Save.." button is gray and "Apply to all users" is selected and gray too.



Is this a bug ?







12.04 network-manager openvpn






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked May 12 '12 at 2:27









Forest

91113




91113








  • 1




    I can't save my configuration either. I followed this tutorial and the save button was never enabled. ubuntugeek.com/… Any suggestions?
    – pllee
    Jun 5 '12 at 2:54
















  • 1




    I can't save my configuration either. I followed this tutorial and the save button was never enabled. ubuntugeek.com/… Any suggestions?
    – pllee
    Jun 5 '12 at 2:54










1




1




I can't save my configuration either. I followed this tutorial and the save button was never enabled. ubuntugeek.com/… Any suggestions?
– pllee
Jun 5 '12 at 2:54






I can't save my configuration either. I followed this tutorial and the save button was never enabled. ubuntugeek.com/… Any suggestions?
– pllee
Jun 5 '12 at 2:54












8 Answers
8






active

oldest

votes

















up vote
10
down vote













One solution is to start:



nm-connection-editor


in the terminal. Terminal messages will tell you which entries of the connection are considered as invalid.



Source: https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/990765/comments/27






share|improve this answer



















  • 2




    Well, that was interesting. On Ubuntu 14.04, leaving CA Certificate blank was valid; at some point since then (I upgraded straight to 16.04) a "No CA certificate is required" checkbox was added, that I never noticed, and I hadn't been able to edit the connection because it wasn't checked.
    – Izkata
    Feb 7 '17 at 15:10










  • When started from the GUI, grep 'Cannot save connection' /var/log/syslog should also show the problem
    – mivk
    May 1 '17 at 10:00


















up vote
4
down vote













Read this thread.
The problem originates from the security policy implemented in Ubuntu.
You will be required to change this as described in the displayed thread.



The file is /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy, edit it with:



sudo -H gedit /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy


You need to change the action:




<action id="org.freedesktop.NetworkManager.settings.modify.own">
.
.
.
<allow_inactive>no</allow_inactive>


to read




<allow_inactive>auth_admin</allow_inactive>


or




<allow_inactive>yes</allow_inactive>


logout to activate.






share|improve this answer



















  • 4




    Sounded good, this didn't work for me though.
    – Evan Carroll
    Oct 3 '12 at 7:50










  • In Ubuntu 16.04, allow_inactive is already set to yes.
    – John McGehee
    Sep 4 at 5:37


















up vote
2
down vote













As Enrique said in this post: https://askubuntu.com/a/143491/98277



Make sure these fields are populated:
User Certificate
CA certificate
Private Key

Your Save button will work then.





share|improve this answer























  • Please note that the Network Manager applet doesn't support embedded certs in the .ovpn config file. So extract all <ca>BEGIN...</ca> and keys to dedicated .crt files, which you can link using ca /path/to/ca.crt and cert /path/to/id.crt etc.
    – Benoit Duffez
    Dec 21 '16 at 9:52








  • 2




    What about VPN networks that do not require a CA certificate? I have only been provided with gateway, username and password.
    – Bruno Finger
    Mar 12 at 8:04










  • Why isn't it automatically loading these fields from my ovpn file, which contains them???
    – Michael
    Jul 7 at 23:12


















up vote
1
down vote













I ran into this issue with LUbuntu 18.04. To try to add my VPN from a ovpn file, I ran:



sudo nm-connection-editor


But when I tried to add from the existing ovpn file, the save icon was grayed out. I noticed on the command line I saw this error:



 Could not load editor VPN plugin for “org.freedesktop.NetworkManager.openvpn” (missing plugin file "/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-vpn-plugin-openvpn-editor.so"


I was able to solve the problem by installing an additional package that was missing:



sudo apt-get install network-manager-openvpn-gnome





share|improve this answer




























    up vote
    0
    down vote













    Are you sure you need exactly OpenVPN? In case you need to have vpn connection only with login and password (no certificate needed) try using PPTP.



    sudo apt-get install network-manager-pptp
    sudo network-manager restart


    Click to NetworkManager -> Configure VPN -> +Add -> Point-To-Point Tunneling Protocol (PPTP) in VPN section.






    share|improve this answer




























      up vote
      0
      down vote













      I had the same issue on Ubuntu Mate 16.10



      Turns out it wouldn't work while connected from a Windows PC through xRDP. I tried it on the box locally and I was able to save the OpenVPN configuration and managed to connect.



      TLDR: Disconnect from xRDP and try to save it locally






      share|improve this answer




























        up vote
        0
        down vote













        I had a similar problem with creating an openvpn connection in the gnome network manager.



        I discovered that it expects you to enter a password in the "Private Key Password:" field. If your openvpn server doesn't require a password, then you need to click on the tiny little icon on the right side of the "Private Key Password:" field and select "The password is not required". You will then be able to click the "Save" button.






        share|improve this answer




























          up vote
          0
          down vote













          I know this is super old, but I recently ran into the same issue. And there is no actual answer here, just a bunch of things to try.



          I have found the answer:



          The Apply button is disabled if the current settings don't pass validation.



          If you run nm-connection-editor by itself, then select your VPN connection, you will see an error that explains what can't be saved.



          Correct those issues and the Apply button will become enabled.



          In my case, I found that I didn't have a user name in the Identity > Authentication > User name field. Once I added my user name, the Apply button instantly enabled.



          Hope this helps.



          enter image description here






          share|improve this answer





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f135787%2fgray-button-for-saving-editing-vpn-connection-in-ubuntu-12-04%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            8 Answers
            8






            active

            oldest

            votes








            8 Answers
            8






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            10
            down vote













            One solution is to start:



            nm-connection-editor


            in the terminal. Terminal messages will tell you which entries of the connection are considered as invalid.



            Source: https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/990765/comments/27






            share|improve this answer



















            • 2




              Well, that was interesting. On Ubuntu 14.04, leaving CA Certificate blank was valid; at some point since then (I upgraded straight to 16.04) a "No CA certificate is required" checkbox was added, that I never noticed, and I hadn't been able to edit the connection because it wasn't checked.
              – Izkata
              Feb 7 '17 at 15:10










            • When started from the GUI, grep 'Cannot save connection' /var/log/syslog should also show the problem
              – mivk
              May 1 '17 at 10:00















            up vote
            10
            down vote













            One solution is to start:



            nm-connection-editor


            in the terminal. Terminal messages will tell you which entries of the connection are considered as invalid.



            Source: https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/990765/comments/27






            share|improve this answer



















            • 2




              Well, that was interesting. On Ubuntu 14.04, leaving CA Certificate blank was valid; at some point since then (I upgraded straight to 16.04) a "No CA certificate is required" checkbox was added, that I never noticed, and I hadn't been able to edit the connection because it wasn't checked.
              – Izkata
              Feb 7 '17 at 15:10










            • When started from the GUI, grep 'Cannot save connection' /var/log/syslog should also show the problem
              – mivk
              May 1 '17 at 10:00













            up vote
            10
            down vote










            up vote
            10
            down vote









            One solution is to start:



            nm-connection-editor


            in the terminal. Terminal messages will tell you which entries of the connection are considered as invalid.



            Source: https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/990765/comments/27






            share|improve this answer














            One solution is to start:



            nm-connection-editor


            in the terminal. Terminal messages will tell you which entries of the connection are considered as invalid.



            Source: https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/990765/comments/27







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Oct 29 '16 at 8:24

























            answered Oct 6 '16 at 7:34









            Martin Monperrus

            32838




            32838








            • 2




              Well, that was interesting. On Ubuntu 14.04, leaving CA Certificate blank was valid; at some point since then (I upgraded straight to 16.04) a "No CA certificate is required" checkbox was added, that I never noticed, and I hadn't been able to edit the connection because it wasn't checked.
              – Izkata
              Feb 7 '17 at 15:10










            • When started from the GUI, grep 'Cannot save connection' /var/log/syslog should also show the problem
              – mivk
              May 1 '17 at 10:00














            • 2




              Well, that was interesting. On Ubuntu 14.04, leaving CA Certificate blank was valid; at some point since then (I upgraded straight to 16.04) a "No CA certificate is required" checkbox was added, that I never noticed, and I hadn't been able to edit the connection because it wasn't checked.
              – Izkata
              Feb 7 '17 at 15:10










            • When started from the GUI, grep 'Cannot save connection' /var/log/syslog should also show the problem
              – mivk
              May 1 '17 at 10:00








            2




            2




            Well, that was interesting. On Ubuntu 14.04, leaving CA Certificate blank was valid; at some point since then (I upgraded straight to 16.04) a "No CA certificate is required" checkbox was added, that I never noticed, and I hadn't been able to edit the connection because it wasn't checked.
            – Izkata
            Feb 7 '17 at 15:10




            Well, that was interesting. On Ubuntu 14.04, leaving CA Certificate blank was valid; at some point since then (I upgraded straight to 16.04) a "No CA certificate is required" checkbox was added, that I never noticed, and I hadn't been able to edit the connection because it wasn't checked.
            – Izkata
            Feb 7 '17 at 15:10












            When started from the GUI, grep 'Cannot save connection' /var/log/syslog should also show the problem
            – mivk
            May 1 '17 at 10:00




            When started from the GUI, grep 'Cannot save connection' /var/log/syslog should also show the problem
            – mivk
            May 1 '17 at 10:00












            up vote
            4
            down vote













            Read this thread.
            The problem originates from the security policy implemented in Ubuntu.
            You will be required to change this as described in the displayed thread.



            The file is /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy, edit it with:



            sudo -H gedit /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy


            You need to change the action:




            <action id="org.freedesktop.NetworkManager.settings.modify.own">
            .
            .
            .
            <allow_inactive>no</allow_inactive>


            to read




            <allow_inactive>auth_admin</allow_inactive>


            or




            <allow_inactive>yes</allow_inactive>


            logout to activate.






            share|improve this answer



















            • 4




              Sounded good, this didn't work for me though.
              – Evan Carroll
              Oct 3 '12 at 7:50










            • In Ubuntu 16.04, allow_inactive is already set to yes.
              – John McGehee
              Sep 4 at 5:37















            up vote
            4
            down vote













            Read this thread.
            The problem originates from the security policy implemented in Ubuntu.
            You will be required to change this as described in the displayed thread.



            The file is /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy, edit it with:



            sudo -H gedit /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy


            You need to change the action:




            <action id="org.freedesktop.NetworkManager.settings.modify.own">
            .
            .
            .
            <allow_inactive>no</allow_inactive>


            to read




            <allow_inactive>auth_admin</allow_inactive>


            or




            <allow_inactive>yes</allow_inactive>


            logout to activate.






            share|improve this answer



















            • 4




              Sounded good, this didn't work for me though.
              – Evan Carroll
              Oct 3 '12 at 7:50










            • In Ubuntu 16.04, allow_inactive is already set to yes.
              – John McGehee
              Sep 4 at 5:37













            up vote
            4
            down vote










            up vote
            4
            down vote









            Read this thread.
            The problem originates from the security policy implemented in Ubuntu.
            You will be required to change this as described in the displayed thread.



            The file is /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy, edit it with:



            sudo -H gedit /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy


            You need to change the action:




            <action id="org.freedesktop.NetworkManager.settings.modify.own">
            .
            .
            .
            <allow_inactive>no</allow_inactive>


            to read




            <allow_inactive>auth_admin</allow_inactive>


            or




            <allow_inactive>yes</allow_inactive>


            logout to activate.






            share|improve this answer














            Read this thread.
            The problem originates from the security policy implemented in Ubuntu.
            You will be required to change this as described in the displayed thread.



            The file is /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy, edit it with:



            sudo -H gedit /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy


            You need to change the action:




            <action id="org.freedesktop.NetworkManager.settings.modify.own">
            .
            .
            .
            <allow_inactive>no</allow_inactive>


            to read




            <allow_inactive>auth_admin</allow_inactive>


            or




            <allow_inactive>yes</allow_inactive>


            logout to activate.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jan 10 '14 at 11:23









            isomorphismes

            84221228




            84221228










            answered Jun 28 '12 at 11:06









            deligeo

            412




            412








            • 4




              Sounded good, this didn't work for me though.
              – Evan Carroll
              Oct 3 '12 at 7:50










            • In Ubuntu 16.04, allow_inactive is already set to yes.
              – John McGehee
              Sep 4 at 5:37














            • 4




              Sounded good, this didn't work for me though.
              – Evan Carroll
              Oct 3 '12 at 7:50










            • In Ubuntu 16.04, allow_inactive is already set to yes.
              – John McGehee
              Sep 4 at 5:37








            4




            4




            Sounded good, this didn't work for me though.
            – Evan Carroll
            Oct 3 '12 at 7:50




            Sounded good, this didn't work for me though.
            – Evan Carroll
            Oct 3 '12 at 7:50












            In Ubuntu 16.04, allow_inactive is already set to yes.
            – John McGehee
            Sep 4 at 5:37




            In Ubuntu 16.04, allow_inactive is already set to yes.
            – John McGehee
            Sep 4 at 5:37










            up vote
            2
            down vote













            As Enrique said in this post: https://askubuntu.com/a/143491/98277



            Make sure these fields are populated:
            User Certificate
            CA certificate
            Private Key

            Your Save button will work then.





            share|improve this answer























            • Please note that the Network Manager applet doesn't support embedded certs in the .ovpn config file. So extract all <ca>BEGIN...</ca> and keys to dedicated .crt files, which you can link using ca /path/to/ca.crt and cert /path/to/id.crt etc.
              – Benoit Duffez
              Dec 21 '16 at 9:52








            • 2




              What about VPN networks that do not require a CA certificate? I have only been provided with gateway, username and password.
              – Bruno Finger
              Mar 12 at 8:04










            • Why isn't it automatically loading these fields from my ovpn file, which contains them???
              – Michael
              Jul 7 at 23:12















            up vote
            2
            down vote













            As Enrique said in this post: https://askubuntu.com/a/143491/98277



            Make sure these fields are populated:
            User Certificate
            CA certificate
            Private Key

            Your Save button will work then.





            share|improve this answer























            • Please note that the Network Manager applet doesn't support embedded certs in the .ovpn config file. So extract all <ca>BEGIN...</ca> and keys to dedicated .crt files, which you can link using ca /path/to/ca.crt and cert /path/to/id.crt etc.
              – Benoit Duffez
              Dec 21 '16 at 9:52








            • 2




              What about VPN networks that do not require a CA certificate? I have only been provided with gateway, username and password.
              – Bruno Finger
              Mar 12 at 8:04










            • Why isn't it automatically loading these fields from my ovpn file, which contains them???
              – Michael
              Jul 7 at 23:12













            up vote
            2
            down vote










            up vote
            2
            down vote









            As Enrique said in this post: https://askubuntu.com/a/143491/98277



            Make sure these fields are populated:
            User Certificate
            CA certificate
            Private Key

            Your Save button will work then.





            share|improve this answer














            As Enrique said in this post: https://askubuntu.com/a/143491/98277



            Make sure these fields are populated:
            User Certificate
            CA certificate
            Private Key

            Your Save button will work then.






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Apr 13 '17 at 12:23









            Community

            1




            1










            answered Dec 24 '12 at 11:42









            Vndtta

            172216




            172216












            • Please note that the Network Manager applet doesn't support embedded certs in the .ovpn config file. So extract all <ca>BEGIN...</ca> and keys to dedicated .crt files, which you can link using ca /path/to/ca.crt and cert /path/to/id.crt etc.
              – Benoit Duffez
              Dec 21 '16 at 9:52








            • 2




              What about VPN networks that do not require a CA certificate? I have only been provided with gateway, username and password.
              – Bruno Finger
              Mar 12 at 8:04










            • Why isn't it automatically loading these fields from my ovpn file, which contains them???
              – Michael
              Jul 7 at 23:12


















            • Please note that the Network Manager applet doesn't support embedded certs in the .ovpn config file. So extract all <ca>BEGIN...</ca> and keys to dedicated .crt files, which you can link using ca /path/to/ca.crt and cert /path/to/id.crt etc.
              – Benoit Duffez
              Dec 21 '16 at 9:52








            • 2




              What about VPN networks that do not require a CA certificate? I have only been provided with gateway, username and password.
              – Bruno Finger
              Mar 12 at 8:04










            • Why isn't it automatically loading these fields from my ovpn file, which contains them???
              – Michael
              Jul 7 at 23:12
















            Please note that the Network Manager applet doesn't support embedded certs in the .ovpn config file. So extract all <ca>BEGIN...</ca> and keys to dedicated .crt files, which you can link using ca /path/to/ca.crt and cert /path/to/id.crt etc.
            – Benoit Duffez
            Dec 21 '16 at 9:52






            Please note that the Network Manager applet doesn't support embedded certs in the .ovpn config file. So extract all <ca>BEGIN...</ca> and keys to dedicated .crt files, which you can link using ca /path/to/ca.crt and cert /path/to/id.crt etc.
            – Benoit Duffez
            Dec 21 '16 at 9:52






            2




            2




            What about VPN networks that do not require a CA certificate? I have only been provided with gateway, username and password.
            – Bruno Finger
            Mar 12 at 8:04




            What about VPN networks that do not require a CA certificate? I have only been provided with gateway, username and password.
            – Bruno Finger
            Mar 12 at 8:04












            Why isn't it automatically loading these fields from my ovpn file, which contains them???
            – Michael
            Jul 7 at 23:12




            Why isn't it automatically loading these fields from my ovpn file, which contains them???
            – Michael
            Jul 7 at 23:12










            up vote
            1
            down vote













            I ran into this issue with LUbuntu 18.04. To try to add my VPN from a ovpn file, I ran:



            sudo nm-connection-editor


            But when I tried to add from the existing ovpn file, the save icon was grayed out. I noticed on the command line I saw this error:



             Could not load editor VPN plugin for “org.freedesktop.NetworkManager.openvpn” (missing plugin file "/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-vpn-plugin-openvpn-editor.so"


            I was able to solve the problem by installing an additional package that was missing:



            sudo apt-get install network-manager-openvpn-gnome





            share|improve this answer

























              up vote
              1
              down vote













              I ran into this issue with LUbuntu 18.04. To try to add my VPN from a ovpn file, I ran:



              sudo nm-connection-editor


              But when I tried to add from the existing ovpn file, the save icon was grayed out. I noticed on the command line I saw this error:



               Could not load editor VPN plugin for “org.freedesktop.NetworkManager.openvpn” (missing plugin file "/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-vpn-plugin-openvpn-editor.so"


              I was able to solve the problem by installing an additional package that was missing:



              sudo apt-get install network-manager-openvpn-gnome





              share|improve this answer























                up vote
                1
                down vote










                up vote
                1
                down vote









                I ran into this issue with LUbuntu 18.04. To try to add my VPN from a ovpn file, I ran:



                sudo nm-connection-editor


                But when I tried to add from the existing ovpn file, the save icon was grayed out. I noticed on the command line I saw this error:



                 Could not load editor VPN plugin for “org.freedesktop.NetworkManager.openvpn” (missing plugin file "/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-vpn-plugin-openvpn-editor.so"


                I was able to solve the problem by installing an additional package that was missing:



                sudo apt-get install network-manager-openvpn-gnome





                share|improve this answer












                I ran into this issue with LUbuntu 18.04. To try to add my VPN from a ovpn file, I ran:



                sudo nm-connection-editor


                But when I tried to add from the existing ovpn file, the save icon was grayed out. I noticed on the command line I saw this error:



                 Could not load editor VPN plugin for “org.freedesktop.NetworkManager.openvpn” (missing plugin file "/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-vpn-plugin-openvpn-editor.so"


                I was able to solve the problem by installing an additional package that was missing:



                sudo apt-get install network-manager-openvpn-gnome






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jul 7 at 23:18









                Michael

                2431310




                2431310






















                    up vote
                    0
                    down vote













                    Are you sure you need exactly OpenVPN? In case you need to have vpn connection only with login and password (no certificate needed) try using PPTP.



                    sudo apt-get install network-manager-pptp
                    sudo network-manager restart


                    Click to NetworkManager -> Configure VPN -> +Add -> Point-To-Point Tunneling Protocol (PPTP) in VPN section.






                    share|improve this answer

























                      up vote
                      0
                      down vote













                      Are you sure you need exactly OpenVPN? In case you need to have vpn connection only with login and password (no certificate needed) try using PPTP.



                      sudo apt-get install network-manager-pptp
                      sudo network-manager restart


                      Click to NetworkManager -> Configure VPN -> +Add -> Point-To-Point Tunneling Protocol (PPTP) in VPN section.






                      share|improve this answer























                        up vote
                        0
                        down vote










                        up vote
                        0
                        down vote









                        Are you sure you need exactly OpenVPN? In case you need to have vpn connection only with login and password (no certificate needed) try using PPTP.



                        sudo apt-get install network-manager-pptp
                        sudo network-manager restart


                        Click to NetworkManager -> Configure VPN -> +Add -> Point-To-Point Tunneling Protocol (PPTP) in VPN section.






                        share|improve this answer












                        Are you sure you need exactly OpenVPN? In case you need to have vpn connection only with login and password (no certificate needed) try using PPTP.



                        sudo apt-get install network-manager-pptp
                        sudo network-manager restart


                        Click to NetworkManager -> Configure VPN -> +Add -> Point-To-Point Tunneling Protocol (PPTP) in VPN section.







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Jan 27 '14 at 6:32









                        Maksim

                        143




                        143






















                            up vote
                            0
                            down vote













                            I had the same issue on Ubuntu Mate 16.10



                            Turns out it wouldn't work while connected from a Windows PC through xRDP. I tried it on the box locally and I was able to save the OpenVPN configuration and managed to connect.



                            TLDR: Disconnect from xRDP and try to save it locally






                            share|improve this answer

























                              up vote
                              0
                              down vote













                              I had the same issue on Ubuntu Mate 16.10



                              Turns out it wouldn't work while connected from a Windows PC through xRDP. I tried it on the box locally and I was able to save the OpenVPN configuration and managed to connect.



                              TLDR: Disconnect from xRDP and try to save it locally






                              share|improve this answer























                                up vote
                                0
                                down vote










                                up vote
                                0
                                down vote









                                I had the same issue on Ubuntu Mate 16.10



                                Turns out it wouldn't work while connected from a Windows PC through xRDP. I tried it on the box locally and I was able to save the OpenVPN configuration and managed to connect.



                                TLDR: Disconnect from xRDP and try to save it locally






                                share|improve this answer












                                I had the same issue on Ubuntu Mate 16.10



                                Turns out it wouldn't work while connected from a Windows PC through xRDP. I tried it on the box locally and I was able to save the OpenVPN configuration and managed to connect.



                                TLDR: Disconnect from xRDP and try to save it locally







                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered Feb 3 '17 at 11:43









                                Abs0lutZero

                                1




                                1






















                                    up vote
                                    0
                                    down vote













                                    I had a similar problem with creating an openvpn connection in the gnome network manager.



                                    I discovered that it expects you to enter a password in the "Private Key Password:" field. If your openvpn server doesn't require a password, then you need to click on the tiny little icon on the right side of the "Private Key Password:" field and select "The password is not required". You will then be able to click the "Save" button.






                                    share|improve this answer

























                                      up vote
                                      0
                                      down vote













                                      I had a similar problem with creating an openvpn connection in the gnome network manager.



                                      I discovered that it expects you to enter a password in the "Private Key Password:" field. If your openvpn server doesn't require a password, then you need to click on the tiny little icon on the right side of the "Private Key Password:" field and select "The password is not required". You will then be able to click the "Save" button.






                                      share|improve this answer























                                        up vote
                                        0
                                        down vote










                                        up vote
                                        0
                                        down vote









                                        I had a similar problem with creating an openvpn connection in the gnome network manager.



                                        I discovered that it expects you to enter a password in the "Private Key Password:" field. If your openvpn server doesn't require a password, then you need to click on the tiny little icon on the right side of the "Private Key Password:" field and select "The password is not required". You will then be able to click the "Save" button.






                                        share|improve this answer












                                        I had a similar problem with creating an openvpn connection in the gnome network manager.



                                        I discovered that it expects you to enter a password in the "Private Key Password:" field. If your openvpn server doesn't require a password, then you need to click on the tiny little icon on the right side of the "Private Key Password:" field and select "The password is not required". You will then be able to click the "Save" button.







                                        share|improve this answer












                                        share|improve this answer



                                        share|improve this answer










                                        answered Jan 25 at 19:07









                                        Beevik

                                        1011




                                        1011






















                                            up vote
                                            0
                                            down vote













                                            I know this is super old, but I recently ran into the same issue. And there is no actual answer here, just a bunch of things to try.



                                            I have found the answer:



                                            The Apply button is disabled if the current settings don't pass validation.



                                            If you run nm-connection-editor by itself, then select your VPN connection, you will see an error that explains what can't be saved.



                                            Correct those issues and the Apply button will become enabled.



                                            In my case, I found that I didn't have a user name in the Identity > Authentication > User name field. Once I added my user name, the Apply button instantly enabled.



                                            Hope this helps.



                                            enter image description here






                                            share|improve this answer

























                                              up vote
                                              0
                                              down vote













                                              I know this is super old, but I recently ran into the same issue. And there is no actual answer here, just a bunch of things to try.



                                              I have found the answer:



                                              The Apply button is disabled if the current settings don't pass validation.



                                              If you run nm-connection-editor by itself, then select your VPN connection, you will see an error that explains what can't be saved.



                                              Correct those issues and the Apply button will become enabled.



                                              In my case, I found that I didn't have a user name in the Identity > Authentication > User name field. Once I added my user name, the Apply button instantly enabled.



                                              Hope this helps.



                                              enter image description here






                                              share|improve this answer























                                                up vote
                                                0
                                                down vote










                                                up vote
                                                0
                                                down vote









                                                I know this is super old, but I recently ran into the same issue. And there is no actual answer here, just a bunch of things to try.



                                                I have found the answer:



                                                The Apply button is disabled if the current settings don't pass validation.



                                                If you run nm-connection-editor by itself, then select your VPN connection, you will see an error that explains what can't be saved.



                                                Correct those issues and the Apply button will become enabled.



                                                In my case, I found that I didn't have a user name in the Identity > Authentication > User name field. Once I added my user name, the Apply button instantly enabled.



                                                Hope this helps.



                                                enter image description here






                                                share|improve this answer












                                                I know this is super old, but I recently ran into the same issue. And there is no actual answer here, just a bunch of things to try.



                                                I have found the answer:



                                                The Apply button is disabled if the current settings don't pass validation.



                                                If you run nm-connection-editor by itself, then select your VPN connection, you will see an error that explains what can't be saved.



                                                Correct those issues and the Apply button will become enabled.



                                                In my case, I found that I didn't have a user name in the Identity > Authentication > User name field. Once I added my user name, the Apply button instantly enabled.



                                                Hope this helps.



                                                enter image description here







                                                share|improve this answer












                                                share|improve this answer



                                                share|improve this answer










                                                answered Dec 4 at 21:01









                                                lucifurious

                                                1012




                                                1012






























                                                    draft saved

                                                    draft discarded




















































                                                    Thanks for contributing an answer to Ask Ubuntu!


                                                    • Please be sure to answer the question. Provide details and share your research!

                                                    But avoid



                                                    • Asking for help, clarification, or responding to other answers.

                                                    • Making statements based on opinion; back them up with references or personal experience.


                                                    To learn more, see our tips on writing great answers.





                                                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                                    Please pay close attention to the following guidance:


                                                    • Please be sure to answer the question. Provide details and share your research!

                                                    But avoid



                                                    • Asking for help, clarification, or responding to other answers.

                                                    • Making statements based on opinion; back them up with references or personal experience.


                                                    To learn more, see our tips on writing great answers.




                                                    draft saved


                                                    draft discarded














                                                    StackExchange.ready(
                                                    function () {
                                                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f135787%2fgray-button-for-saving-editing-vpn-connection-in-ubuntu-12-04%23new-answer', 'question_page');
                                                    }
                                                    );

                                                    Post as a guest















                                                    Required, but never shown





















































                                                    Required, but never shown














                                                    Required, but never shown












                                                    Required, but never shown







                                                    Required, but never shown

































                                                    Required, but never shown














                                                    Required, but never shown












                                                    Required, but never shown







                                                    Required, but never shown







                                                    Popular posts from this blog

                                                    flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                                                    Mangá

                                                     ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕