Screen-Sharing “no network selected for sharing” problem in unity control center (18.04)












3















I'm using ubuntu unity desktop



unity control center > sharing > screen sharing > no network selected for sharing



connection is working fine / but don't show in sharing setting / please check screenshot



ubuntu 18.04 (but work fine in default gnome)



problem screenshot :



https://i.stack.imgur.com/BqUfY.png










share|improve this question





























    3















    I'm using ubuntu unity desktop



    unity control center > sharing > screen sharing > no network selected for sharing



    connection is working fine / but don't show in sharing setting / please check screenshot



    ubuntu 18.04 (but work fine in default gnome)



    problem screenshot :



    https://i.stack.imgur.com/BqUfY.png










    share|improve this question



























      3












      3








      3








      I'm using ubuntu unity desktop



      unity control center > sharing > screen sharing > no network selected for sharing



      connection is working fine / but don't show in sharing setting / please check screenshot



      ubuntu 18.04 (but work fine in default gnome)



      problem screenshot :



      https://i.stack.imgur.com/BqUfY.png










      share|improve this question
















      I'm using ubuntu unity desktop



      unity control center > sharing > screen sharing > no network selected for sharing



      connection is working fine / but don't show in sharing setting / please check screenshot



      ubuntu 18.04 (but work fine in default gnome)



      problem screenshot :



      https://i.stack.imgur.com/BqUfY.png







      18.04 network-manager ubuntu-gnome do-release-upgrade unity-control-center






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Sep 4 '18 at 8:29









      Diego

      237216




      237216










      asked Aug 30 '18 at 14:39









      Wai Yan Myo HsatWai Yan Myo Hsat

      1613




      1613






















          1 Answer
          1






          active

          oldest

          votes


















          0














          In my case the root cause was Gnome not allowing ScreenSharing when no network connected. Gnome gets the information from the NetworkManager. And it is not reporting any network because it is not set to manage those connections. This had to be fixed.



          This is what was in /var/log/syslog




          gnome-control-c[16836]: Failed to enable service vino-server:
          GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Sharing cannot be
          enabled on this network, status is '0'




          I had to do the following: change managed to true in /etc/NetworkManager/NetworkManager.conf



          [ifupdown]
          managed=true


          run



           sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf


          reboot, and check whether now there are networks in the "Networks" field on your screenshot. The "Screen Sharing" button now should allow to be set to "On"



          I got the information from this bug report:
          https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1676547






          share|improve this answer
























          • This Workaround does not work, I still get the same error message: 'Failed to enable service vino-server: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Sharing cannot be enabled on this network, status is '0'' Is there any other solution?

            – sporc
            Jan 11 at 10:41












          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',
          autoActivateHeartbeat: false,
          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%2f1070520%2fscreen-sharing-no-network-selected-for-sharing-problem-in-unity-control-center%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          In my case the root cause was Gnome not allowing ScreenSharing when no network connected. Gnome gets the information from the NetworkManager. And it is not reporting any network because it is not set to manage those connections. This had to be fixed.



          This is what was in /var/log/syslog




          gnome-control-c[16836]: Failed to enable service vino-server:
          GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Sharing cannot be
          enabled on this network, status is '0'




          I had to do the following: change managed to true in /etc/NetworkManager/NetworkManager.conf



          [ifupdown]
          managed=true


          run



           sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf


          reboot, and check whether now there are networks in the "Networks" field on your screenshot. The "Screen Sharing" button now should allow to be set to "On"



          I got the information from this bug report:
          https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1676547






          share|improve this answer
























          • This Workaround does not work, I still get the same error message: 'Failed to enable service vino-server: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Sharing cannot be enabled on this network, status is '0'' Is there any other solution?

            – sporc
            Jan 11 at 10:41
















          0














          In my case the root cause was Gnome not allowing ScreenSharing when no network connected. Gnome gets the information from the NetworkManager. And it is not reporting any network because it is not set to manage those connections. This had to be fixed.



          This is what was in /var/log/syslog




          gnome-control-c[16836]: Failed to enable service vino-server:
          GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Sharing cannot be
          enabled on this network, status is '0'




          I had to do the following: change managed to true in /etc/NetworkManager/NetworkManager.conf



          [ifupdown]
          managed=true


          run



           sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf


          reboot, and check whether now there are networks in the "Networks" field on your screenshot. The "Screen Sharing" button now should allow to be set to "On"



          I got the information from this bug report:
          https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1676547






          share|improve this answer
























          • This Workaround does not work, I still get the same error message: 'Failed to enable service vino-server: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Sharing cannot be enabled on this network, status is '0'' Is there any other solution?

            – sporc
            Jan 11 at 10:41














          0












          0








          0







          In my case the root cause was Gnome not allowing ScreenSharing when no network connected. Gnome gets the information from the NetworkManager. And it is not reporting any network because it is not set to manage those connections. This had to be fixed.



          This is what was in /var/log/syslog




          gnome-control-c[16836]: Failed to enable service vino-server:
          GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Sharing cannot be
          enabled on this network, status is '0'




          I had to do the following: change managed to true in /etc/NetworkManager/NetworkManager.conf



          [ifupdown]
          managed=true


          run



           sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf


          reboot, and check whether now there are networks in the "Networks" field on your screenshot. The "Screen Sharing" button now should allow to be set to "On"



          I got the information from this bug report:
          https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1676547






          share|improve this answer













          In my case the root cause was Gnome not allowing ScreenSharing when no network connected. Gnome gets the information from the NetworkManager. And it is not reporting any network because it is not set to manage those connections. This had to be fixed.



          This is what was in /var/log/syslog




          gnome-control-c[16836]: Failed to enable service vino-server:
          GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Sharing cannot be
          enabled on this network, status is '0'




          I had to do the following: change managed to true in /etc/NetworkManager/NetworkManager.conf



          [ifupdown]
          managed=true


          run



           sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf


          reboot, and check whether now there are networks in the "Networks" field on your screenshot. The "Screen Sharing" button now should allow to be set to "On"



          I got the information from this bug report:
          https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1676547







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Sep 4 '18 at 0:18









          DiegoDiego

          237216




          237216













          • This Workaround does not work, I still get the same error message: 'Failed to enable service vino-server: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Sharing cannot be enabled on this network, status is '0'' Is there any other solution?

            – sporc
            Jan 11 at 10:41



















          • This Workaround does not work, I still get the same error message: 'Failed to enable service vino-server: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Sharing cannot be enabled on this network, status is '0'' Is there any other solution?

            – sporc
            Jan 11 at 10:41

















          This Workaround does not work, I still get the same error message: 'Failed to enable service vino-server: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Sharing cannot be enabled on this network, status is '0'' Is there any other solution?

          – sporc
          Jan 11 at 10:41





          This Workaround does not work, I still get the same error message: 'Failed to enable service vino-server: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Sharing cannot be enabled on this network, status is '0'' Is there any other solution?

          – sporc
          Jan 11 at 10:41


















          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1070520%2fscreen-sharing-no-network-selected-for-sharing-problem-in-unity-control-center%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

          How did Captain America manage to do this?

          迪纳利

          南乌拉尔铁路局