Ubuntu 18.04.1 LTS Can't Enable Screen Sharing












9















When trying to enable "Screen Sharing" under the "Sharing" section of the system settings I can click on the "ON/OFF" slider but it will not stay set to "ON". I can set the "Sharing" slider to "ON" and the "Remote Login" slider to "ON" but not the "Screen Sharing" one. Am I missing something?



Running Ubuntu 18.04.1 LTS and have attempted this both on GNOME on xorg and GNOME Flashback










share|improve this question



























    9















    When trying to enable "Screen Sharing" under the "Sharing" section of the system settings I can click on the "ON/OFF" slider but it will not stay set to "ON". I can set the "Sharing" slider to "ON" and the "Remote Login" slider to "ON" but not the "Screen Sharing" one. Am I missing something?



    Running Ubuntu 18.04.1 LTS and have attempted this both on GNOME on xorg and GNOME Flashback










    share|improve this question

























      9












      9








      9


      2






      When trying to enable "Screen Sharing" under the "Sharing" section of the system settings I can click on the "ON/OFF" slider but it will not stay set to "ON". I can set the "Sharing" slider to "ON" and the "Remote Login" slider to "ON" but not the "Screen Sharing" one. Am I missing something?



      Running Ubuntu 18.04.1 LTS and have attempted this both on GNOME on xorg and GNOME Flashback










      share|improve this question














      When trying to enable "Screen Sharing" under the "Sharing" section of the system settings I can click on the "ON/OFF" slider but it will not stay set to "ON". I can set the "Sharing" slider to "ON" and the "Remote Login" slider to "ON" but not the "Screen Sharing" one. Am I missing something?



      Running Ubuntu 18.04.1 LTS and have attempted this both on GNOME on xorg and GNOME Flashback







      18.04 xorg






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 29 '18 at 7:02









      thewill2livethewill2live

      4612




      4612






















          3 Answers
          3






          active

          oldest

          votes


















          1














          This happened to me, here is how I corrected it.



          My network showed "wired-unmanaged"; to correct this, I had to do the following:




          Note: If you're interested in a set of commands to copy/paste into your terminal, I'd encourage you to review these instructions first, before running the commands listed at the end of this answer.





          • cd /etc/NetworkManager

          • save NetworkManager.conf to NetworkManager.orig (as a backup)


          • sudo vi NetworkManager.conf



            Change managed=false to managed=true



            New file looks like this:



            [main]
            plugins=ifupdown,keyfile
            [ifupdown]
            managed=true
            [device]
            wifi.scan-rand-mac-address=no


          • sudo service network-manager restart

          • cd /etc/netplan


          • sudo vi 50-cloud-init.yaml



            Add this line just below network:



            renderer: NetworkManager



            New file looks similar to this (ensure the renderer line is indented as shown):



            network:
            renderer: NetworkManager
            ethernets:
            enp3s0:
            addresses:
            dhcp4: true
            version: 2


          • save

          • sudo netplan apply

          • I had then to restart the computer for this to be effective.

          • After restart the network will now show "wired-connected"

          • Then you can go to Settings » Sharing » Screen Sharing


            • You should now be able to toggle Screen Sharing to ON

            • Under Networks (bottom of dialog), toggle those ON as well






          Commands



          If all you're looking for is some terminal commands, and you haven't made any manual changes to the files mentioned in the instructions above, running the commands below should take care of the file modifications:



          cd /etc/NetworkManager
          sudo cp NetworkManager.conf NetworkManager.orig
          # Change NetworkManager.conf: 'managed=false' to 'managed=true'
          sudo sed -i 's/managed=false/managed=true/g' NetworkManager.conf
          sudo service network-manager restart
          cd /etc/netplan
          # Ensure networks are managed by NetworkManager
          # Whitespace in this command is important!
          sudo sed -i '/^network:/a renderer: NetworkManager' 50-cloud-init.yaml
          sudo netplan apply
          # Restart your machine, or uncomment one of the lines below:
          #sudo shutdown -r now
          #gnome-session-quit --reboot


          After you run these commands, refer to the final step above to enable screen sharing.






          share|improve this answer


























          • Thanks for the reply Jay, I took a shot at the changes, the first part with the NetworkManger worked fine. The second part when I update the netplan I get an error on that new line that says "Error in network definition: expected mapping". Any idea what to do there?

            – thewill2live
            Nov 13 '18 at 5:12











          • /etc/Netplan I don't have this directory

            – PetroCliff
            Dec 23 '18 at 19:04











          • @dpg I assume this was a mistake; the folder is /etc/netplan, all lower-case.

            – Joshua Shearer
            Jan 4 at 17:45











          • This didn't helped for me. Is there any ozher solution to get Screen sharing to work?

            – sporc
            Jan 11 at 10:05



















          0














          I assume he added the ethernet and interface lines. You have to make sure the interface for your computer is used. His was enp3s0



          You can run "ip a" and it will list your network devices. Will look like this:



          :~$ ip a
          1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
          inet 127.0.0.1/8 scope host lo
          valid_lft forever preferred_lft forever
          inet6 ::1/128 scope host
          valid_lft forever preferred_lft forever
          2: ens2f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
          link/ether 00:1e:67:79:08:5c brd ff:ff:ff:ff:ff:ff
          inet 131.192.176.162/24 brd 131.192.176.255 scope global dynamic noprefixroute ens2f0
          valid_lft 680301sec preferred_lft 680301sec
          inet6 fe80::21e:67ff:fe79:85c/64 scope link
          valid_lft forever preferred_lft forever
          3: ens2f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
          link/ether 00:1e:67:79:08:5d brd ff:ff:ff:ff:ff:ff


          Note in this there are 2 interfaces: ens2f0 and ens2f1



          I realize you asked this question a while back. You should be able to get screen share working.






          share|improve this answer































            0














            For me, I couldn't enable screen sharing, because I was running in "Wayland" (as that was the only desktop I could use). Well, Wayland doesn't support the screen sharing option. I fixed this issue by switching to the original XOrg "Ubuntu" desktop. In order to get that to work, however, there was a battle...



            Check out my post on this other thread: Ubuntu 18.04 won't show desktop after login






            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',
              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%2f1060457%2fubuntu-18-04-1-lts-cant-enable-screen-sharing%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              1














              This happened to me, here is how I corrected it.



              My network showed "wired-unmanaged"; to correct this, I had to do the following:




              Note: If you're interested in a set of commands to copy/paste into your terminal, I'd encourage you to review these instructions first, before running the commands listed at the end of this answer.





              • cd /etc/NetworkManager

              • save NetworkManager.conf to NetworkManager.orig (as a backup)


              • sudo vi NetworkManager.conf



                Change managed=false to managed=true



                New file looks like this:



                [main]
                plugins=ifupdown,keyfile
                [ifupdown]
                managed=true
                [device]
                wifi.scan-rand-mac-address=no


              • sudo service network-manager restart

              • cd /etc/netplan


              • sudo vi 50-cloud-init.yaml



                Add this line just below network:



                renderer: NetworkManager



                New file looks similar to this (ensure the renderer line is indented as shown):



                network:
                renderer: NetworkManager
                ethernets:
                enp3s0:
                addresses:
                dhcp4: true
                version: 2


              • save

              • sudo netplan apply

              • I had then to restart the computer for this to be effective.

              • After restart the network will now show "wired-connected"

              • Then you can go to Settings » Sharing » Screen Sharing


                • You should now be able to toggle Screen Sharing to ON

                • Under Networks (bottom of dialog), toggle those ON as well






              Commands



              If all you're looking for is some terminal commands, and you haven't made any manual changes to the files mentioned in the instructions above, running the commands below should take care of the file modifications:



              cd /etc/NetworkManager
              sudo cp NetworkManager.conf NetworkManager.orig
              # Change NetworkManager.conf: 'managed=false' to 'managed=true'
              sudo sed -i 's/managed=false/managed=true/g' NetworkManager.conf
              sudo service network-manager restart
              cd /etc/netplan
              # Ensure networks are managed by NetworkManager
              # Whitespace in this command is important!
              sudo sed -i '/^network:/a renderer: NetworkManager' 50-cloud-init.yaml
              sudo netplan apply
              # Restart your machine, or uncomment one of the lines below:
              #sudo shutdown -r now
              #gnome-session-quit --reboot


              After you run these commands, refer to the final step above to enable screen sharing.






              share|improve this answer


























              • Thanks for the reply Jay, I took a shot at the changes, the first part with the NetworkManger worked fine. The second part when I update the netplan I get an error on that new line that says "Error in network definition: expected mapping". Any idea what to do there?

                – thewill2live
                Nov 13 '18 at 5:12











              • /etc/Netplan I don't have this directory

                – PetroCliff
                Dec 23 '18 at 19:04











              • @dpg I assume this was a mistake; the folder is /etc/netplan, all lower-case.

                – Joshua Shearer
                Jan 4 at 17:45











              • This didn't helped for me. Is there any ozher solution to get Screen sharing to work?

                – sporc
                Jan 11 at 10:05
















              1














              This happened to me, here is how I corrected it.



              My network showed "wired-unmanaged"; to correct this, I had to do the following:




              Note: If you're interested in a set of commands to copy/paste into your terminal, I'd encourage you to review these instructions first, before running the commands listed at the end of this answer.





              • cd /etc/NetworkManager

              • save NetworkManager.conf to NetworkManager.orig (as a backup)


              • sudo vi NetworkManager.conf



                Change managed=false to managed=true



                New file looks like this:



                [main]
                plugins=ifupdown,keyfile
                [ifupdown]
                managed=true
                [device]
                wifi.scan-rand-mac-address=no


              • sudo service network-manager restart

              • cd /etc/netplan


              • sudo vi 50-cloud-init.yaml



                Add this line just below network:



                renderer: NetworkManager



                New file looks similar to this (ensure the renderer line is indented as shown):



                network:
                renderer: NetworkManager
                ethernets:
                enp3s0:
                addresses:
                dhcp4: true
                version: 2


              • save

              • sudo netplan apply

              • I had then to restart the computer for this to be effective.

              • After restart the network will now show "wired-connected"

              • Then you can go to Settings » Sharing » Screen Sharing


                • You should now be able to toggle Screen Sharing to ON

                • Under Networks (bottom of dialog), toggle those ON as well






              Commands



              If all you're looking for is some terminal commands, and you haven't made any manual changes to the files mentioned in the instructions above, running the commands below should take care of the file modifications:



              cd /etc/NetworkManager
              sudo cp NetworkManager.conf NetworkManager.orig
              # Change NetworkManager.conf: 'managed=false' to 'managed=true'
              sudo sed -i 's/managed=false/managed=true/g' NetworkManager.conf
              sudo service network-manager restart
              cd /etc/netplan
              # Ensure networks are managed by NetworkManager
              # Whitespace in this command is important!
              sudo sed -i '/^network:/a renderer: NetworkManager' 50-cloud-init.yaml
              sudo netplan apply
              # Restart your machine, or uncomment one of the lines below:
              #sudo shutdown -r now
              #gnome-session-quit --reboot


              After you run these commands, refer to the final step above to enable screen sharing.






              share|improve this answer


























              • Thanks for the reply Jay, I took a shot at the changes, the first part with the NetworkManger worked fine. The second part when I update the netplan I get an error on that new line that says "Error in network definition: expected mapping". Any idea what to do there?

                – thewill2live
                Nov 13 '18 at 5:12











              • /etc/Netplan I don't have this directory

                – PetroCliff
                Dec 23 '18 at 19:04











              • @dpg I assume this was a mistake; the folder is /etc/netplan, all lower-case.

                – Joshua Shearer
                Jan 4 at 17:45











              • This didn't helped for me. Is there any ozher solution to get Screen sharing to work?

                – sporc
                Jan 11 at 10:05














              1












              1








              1







              This happened to me, here is how I corrected it.



              My network showed "wired-unmanaged"; to correct this, I had to do the following:




              Note: If you're interested in a set of commands to copy/paste into your terminal, I'd encourage you to review these instructions first, before running the commands listed at the end of this answer.





              • cd /etc/NetworkManager

              • save NetworkManager.conf to NetworkManager.orig (as a backup)


              • sudo vi NetworkManager.conf



                Change managed=false to managed=true



                New file looks like this:



                [main]
                plugins=ifupdown,keyfile
                [ifupdown]
                managed=true
                [device]
                wifi.scan-rand-mac-address=no


              • sudo service network-manager restart

              • cd /etc/netplan


              • sudo vi 50-cloud-init.yaml



                Add this line just below network:



                renderer: NetworkManager



                New file looks similar to this (ensure the renderer line is indented as shown):



                network:
                renderer: NetworkManager
                ethernets:
                enp3s0:
                addresses:
                dhcp4: true
                version: 2


              • save

              • sudo netplan apply

              • I had then to restart the computer for this to be effective.

              • After restart the network will now show "wired-connected"

              • Then you can go to Settings » Sharing » Screen Sharing


                • You should now be able to toggle Screen Sharing to ON

                • Under Networks (bottom of dialog), toggle those ON as well






              Commands



              If all you're looking for is some terminal commands, and you haven't made any manual changes to the files mentioned in the instructions above, running the commands below should take care of the file modifications:



              cd /etc/NetworkManager
              sudo cp NetworkManager.conf NetworkManager.orig
              # Change NetworkManager.conf: 'managed=false' to 'managed=true'
              sudo sed -i 's/managed=false/managed=true/g' NetworkManager.conf
              sudo service network-manager restart
              cd /etc/netplan
              # Ensure networks are managed by NetworkManager
              # Whitespace in this command is important!
              sudo sed -i '/^network:/a renderer: NetworkManager' 50-cloud-init.yaml
              sudo netplan apply
              # Restart your machine, or uncomment one of the lines below:
              #sudo shutdown -r now
              #gnome-session-quit --reboot


              After you run these commands, refer to the final step above to enable screen sharing.






              share|improve this answer















              This happened to me, here is how I corrected it.



              My network showed "wired-unmanaged"; to correct this, I had to do the following:




              Note: If you're interested in a set of commands to copy/paste into your terminal, I'd encourage you to review these instructions first, before running the commands listed at the end of this answer.





              • cd /etc/NetworkManager

              • save NetworkManager.conf to NetworkManager.orig (as a backup)


              • sudo vi NetworkManager.conf



                Change managed=false to managed=true



                New file looks like this:



                [main]
                plugins=ifupdown,keyfile
                [ifupdown]
                managed=true
                [device]
                wifi.scan-rand-mac-address=no


              • sudo service network-manager restart

              • cd /etc/netplan


              • sudo vi 50-cloud-init.yaml



                Add this line just below network:



                renderer: NetworkManager



                New file looks similar to this (ensure the renderer line is indented as shown):



                network:
                renderer: NetworkManager
                ethernets:
                enp3s0:
                addresses:
                dhcp4: true
                version: 2


              • save

              • sudo netplan apply

              • I had then to restart the computer for this to be effective.

              • After restart the network will now show "wired-connected"

              • Then you can go to Settings » Sharing » Screen Sharing


                • You should now be able to toggle Screen Sharing to ON

                • Under Networks (bottom of dialog), toggle those ON as well






              Commands



              If all you're looking for is some terminal commands, and you haven't made any manual changes to the files mentioned in the instructions above, running the commands below should take care of the file modifications:



              cd /etc/NetworkManager
              sudo cp NetworkManager.conf NetworkManager.orig
              # Change NetworkManager.conf: 'managed=false' to 'managed=true'
              sudo sed -i 's/managed=false/managed=true/g' NetworkManager.conf
              sudo service network-manager restart
              cd /etc/netplan
              # Ensure networks are managed by NetworkManager
              # Whitespace in this command is important!
              sudo sed -i '/^network:/a renderer: NetworkManager' 50-cloud-init.yaml
              sudo netplan apply
              # Restart your machine, or uncomment one of the lines below:
              #sudo shutdown -r now
              #gnome-session-quit --reboot


              After you run these commands, refer to the final step above to enable screen sharing.







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Jan 5 at 12:27









              Joshua Shearer

              1033




              1033










              answered Sep 9 '18 at 16:07









              JayJay

              111




              111













              • Thanks for the reply Jay, I took a shot at the changes, the first part with the NetworkManger worked fine. The second part when I update the netplan I get an error on that new line that says "Error in network definition: expected mapping". Any idea what to do there?

                – thewill2live
                Nov 13 '18 at 5:12











              • /etc/Netplan I don't have this directory

                – PetroCliff
                Dec 23 '18 at 19:04











              • @dpg I assume this was a mistake; the folder is /etc/netplan, all lower-case.

                – Joshua Shearer
                Jan 4 at 17:45











              • This didn't helped for me. Is there any ozher solution to get Screen sharing to work?

                – sporc
                Jan 11 at 10:05



















              • Thanks for the reply Jay, I took a shot at the changes, the first part with the NetworkManger worked fine. The second part when I update the netplan I get an error on that new line that says "Error in network definition: expected mapping". Any idea what to do there?

                – thewill2live
                Nov 13 '18 at 5:12











              • /etc/Netplan I don't have this directory

                – PetroCliff
                Dec 23 '18 at 19:04











              • @dpg I assume this was a mistake; the folder is /etc/netplan, all lower-case.

                – Joshua Shearer
                Jan 4 at 17:45











              • This didn't helped for me. Is there any ozher solution to get Screen sharing to work?

                – sporc
                Jan 11 at 10:05

















              Thanks for the reply Jay, I took a shot at the changes, the first part with the NetworkManger worked fine. The second part when I update the netplan I get an error on that new line that says "Error in network definition: expected mapping". Any idea what to do there?

              – thewill2live
              Nov 13 '18 at 5:12





              Thanks for the reply Jay, I took a shot at the changes, the first part with the NetworkManger worked fine. The second part when I update the netplan I get an error on that new line that says "Error in network definition: expected mapping". Any idea what to do there?

              – thewill2live
              Nov 13 '18 at 5:12













              /etc/Netplan I don't have this directory

              – PetroCliff
              Dec 23 '18 at 19:04





              /etc/Netplan I don't have this directory

              – PetroCliff
              Dec 23 '18 at 19:04













              @dpg I assume this was a mistake; the folder is /etc/netplan, all lower-case.

              – Joshua Shearer
              Jan 4 at 17:45





              @dpg I assume this was a mistake; the folder is /etc/netplan, all lower-case.

              – Joshua Shearer
              Jan 4 at 17:45













              This didn't helped for me. Is there any ozher solution to get Screen sharing to work?

              – sporc
              Jan 11 at 10:05





              This didn't helped for me. Is there any ozher solution to get Screen sharing to work?

              – sporc
              Jan 11 at 10:05













              0














              I assume he added the ethernet and interface lines. You have to make sure the interface for your computer is used. His was enp3s0



              You can run "ip a" and it will list your network devices. Will look like this:



              :~$ ip a
              1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
              link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
              inet 127.0.0.1/8 scope host lo
              valid_lft forever preferred_lft forever
              inet6 ::1/128 scope host
              valid_lft forever preferred_lft forever
              2: ens2f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
              link/ether 00:1e:67:79:08:5c brd ff:ff:ff:ff:ff:ff
              inet 131.192.176.162/24 brd 131.192.176.255 scope global dynamic noprefixroute ens2f0
              valid_lft 680301sec preferred_lft 680301sec
              inet6 fe80::21e:67ff:fe79:85c/64 scope link
              valid_lft forever preferred_lft forever
              3: ens2f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
              link/ether 00:1e:67:79:08:5d brd ff:ff:ff:ff:ff:ff


              Note in this there are 2 interfaces: ens2f0 and ens2f1



              I realize you asked this question a while back. You should be able to get screen share working.






              share|improve this answer




























                0














                I assume he added the ethernet and interface lines. You have to make sure the interface for your computer is used. His was enp3s0



                You can run "ip a" and it will list your network devices. Will look like this:



                :~$ ip a
                1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
                link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
                inet 127.0.0.1/8 scope host lo
                valid_lft forever preferred_lft forever
                inet6 ::1/128 scope host
                valid_lft forever preferred_lft forever
                2: ens2f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
                link/ether 00:1e:67:79:08:5c brd ff:ff:ff:ff:ff:ff
                inet 131.192.176.162/24 brd 131.192.176.255 scope global dynamic noprefixroute ens2f0
                valid_lft 680301sec preferred_lft 680301sec
                inet6 fe80::21e:67ff:fe79:85c/64 scope link
                valid_lft forever preferred_lft forever
                3: ens2f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
                link/ether 00:1e:67:79:08:5d brd ff:ff:ff:ff:ff:ff


                Note in this there are 2 interfaces: ens2f0 and ens2f1



                I realize you asked this question a while back. You should be able to get screen share working.






                share|improve this answer


























                  0












                  0








                  0







                  I assume he added the ethernet and interface lines. You have to make sure the interface for your computer is used. His was enp3s0



                  You can run "ip a" and it will list your network devices. Will look like this:



                  :~$ ip a
                  1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
                  link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
                  inet 127.0.0.1/8 scope host lo
                  valid_lft forever preferred_lft forever
                  inet6 ::1/128 scope host
                  valid_lft forever preferred_lft forever
                  2: ens2f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
                  link/ether 00:1e:67:79:08:5c brd ff:ff:ff:ff:ff:ff
                  inet 131.192.176.162/24 brd 131.192.176.255 scope global dynamic noprefixroute ens2f0
                  valid_lft 680301sec preferred_lft 680301sec
                  inet6 fe80::21e:67ff:fe79:85c/64 scope link
                  valid_lft forever preferred_lft forever
                  3: ens2f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
                  link/ether 00:1e:67:79:08:5d brd ff:ff:ff:ff:ff:ff


                  Note in this there are 2 interfaces: ens2f0 and ens2f1



                  I realize you asked this question a while back. You should be able to get screen share working.






                  share|improve this answer













                  I assume he added the ethernet and interface lines. You have to make sure the interface for your computer is used. His was enp3s0



                  You can run "ip a" and it will list your network devices. Will look like this:



                  :~$ ip a
                  1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
                  link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
                  inet 127.0.0.1/8 scope host lo
                  valid_lft forever preferred_lft forever
                  inet6 ::1/128 scope host
                  valid_lft forever preferred_lft forever
                  2: ens2f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
                  link/ether 00:1e:67:79:08:5c brd ff:ff:ff:ff:ff:ff
                  inet 131.192.176.162/24 brd 131.192.176.255 scope global dynamic noprefixroute ens2f0
                  valid_lft 680301sec preferred_lft 680301sec
                  inet6 fe80::21e:67ff:fe79:85c/64 scope link
                  valid_lft forever preferred_lft forever
                  3: ens2f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
                  link/ether 00:1e:67:79:08:5d brd ff:ff:ff:ff:ff:ff


                  Note in this there are 2 interfaces: ens2f0 and ens2f1



                  I realize you asked this question a while back. You should be able to get screen share working.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 15 '18 at 19:08









                  Little MitchLittle Mitch

                  64




                  64























                      0














                      For me, I couldn't enable screen sharing, because I was running in "Wayland" (as that was the only desktop I could use). Well, Wayland doesn't support the screen sharing option. I fixed this issue by switching to the original XOrg "Ubuntu" desktop. In order to get that to work, however, there was a battle...



                      Check out my post on this other thread: Ubuntu 18.04 won't show desktop after login






                      share|improve this answer




























                        0














                        For me, I couldn't enable screen sharing, because I was running in "Wayland" (as that was the only desktop I could use). Well, Wayland doesn't support the screen sharing option. I fixed this issue by switching to the original XOrg "Ubuntu" desktop. In order to get that to work, however, there was a battle...



                        Check out my post on this other thread: Ubuntu 18.04 won't show desktop after login






                        share|improve this answer


























                          0












                          0








                          0







                          For me, I couldn't enable screen sharing, because I was running in "Wayland" (as that was the only desktop I could use). Well, Wayland doesn't support the screen sharing option. I fixed this issue by switching to the original XOrg "Ubuntu" desktop. In order to get that to work, however, there was a battle...



                          Check out my post on this other thread: Ubuntu 18.04 won't show desktop after login






                          share|improve this answer













                          For me, I couldn't enable screen sharing, because I was running in "Wayland" (as that was the only desktop I could use). Well, Wayland doesn't support the screen sharing option. I fixed this issue by switching to the original XOrg "Ubuntu" desktop. In order to get that to work, however, there was a battle...



                          Check out my post on this other thread: Ubuntu 18.04 won't show desktop after login







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 49 mins ago









                          BuvinJBuvinJ

                          1087




                          1087






























                              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%2f1060457%2fubuntu-18-04-1-lts-cant-enable-screen-sharing%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

                              香粉寮

                              GameSpot