How to connect from a Linux machine to an Ubuntu machine on internal network only?How to access an ubuntu machine via VNC from the login screen?How do I remotely connect to a windows XP virtual machineSetting up Remote Access over a home network?How to upgrade Firefox on several computers on the networkRemote Desktop from a ubuntu 13.04 to an Ubuntu 13.04 machine so the user on the second machine can see my movmentsHow do I access other computers in a home network remotely and in the background?xrdb to Ubuntu machine not working from external networkHow to access ubuntu machine from another networkOne Way Communication Problem in Ubuntu NetworkRemmina connection via gateway not working from one machine when in certain network

Possible to detect presence of nuclear bomb?

Why do we say ‘pairwise disjoint’, rather than ‘disjoint’?

Recommendation letter by significant other if you worked with them professionally?

Why does Solve lock up when trying to solve the quadratic equation with large integers?

How do spaceships determine each other's mass in space?

Are there historical instances of the capital of a colonising country being temporarily or permanently shifted to one of its colonies?

In the late 1940’s to early 1950’s what technology was available that could melt a LOT of ice?

Confusion about Complex Continued Fraction

Professor forcing me to attend a conference, I can't afford even with 50% funding

Can't make sense of a paragraph from Lovecraft

What is this diamond of every day?

Finitely many repeated replacements

How do we create new idioms and use them in a novel?

Is it possible to avoid unpacking when merging Association?

I can't die. Who am I?

How can I find out information about a service?

Shifting between bemols and diesis in the key signature

Why do phishing e-mails use faked e-mail addresses instead of the real one?

How to write a chaotic neutral protagonist and prevent my readers from thinking they are evil?

What is the generally accepted pronunciation of “topoi”?

How can I manipulate the output of Information?

How to resolve: Reviewer #1 says remove section X vs. Reviewer #2 says expand section X

Expressing logarithmic equations without logs

From an axiomatic set theoric approach why can we take uncountable unions?



How to connect from a Linux machine to an Ubuntu machine on internal network only?


How to access an ubuntu machine via VNC from the login screen?How do I remotely connect to a windows XP virtual machineSetting up Remote Access over a home network?How to upgrade Firefox on several computers on the networkRemote Desktop from a ubuntu 13.04 to an Ubuntu 13.04 machine so the user on the second machine can see my movmentsHow do I access other computers in a home network remotely and in the background?xrdb to Ubuntu machine not working from external networkHow to access ubuntu machine from another networkOne Way Communication Problem in Ubuntu NetworkRemmina connection via gateway not working from one machine when in certain network













0















I want to be able to access one of my Ubuntu computers from a Linux computer, from within my Home Network, but for it to be impossible to do so from outside.



What would be the best way to go about this?



Thanks in advance!










share|improve this question
















bumped to the homepage by Community 25 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.



















    0















    I want to be able to access one of my Ubuntu computers from a Linux computer, from within my Home Network, but for it to be impossible to do so from outside.



    What would be the best way to go about this?



    Thanks in advance!










    share|improve this question
















    bumped to the homepage by Community 25 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      0












      0








      0


      0






      I want to be able to access one of my Ubuntu computers from a Linux computer, from within my Home Network, but for it to be impossible to do so from outside.



      What would be the best way to go about this?



      Thanks in advance!










      share|improve this question
















      I want to be able to access one of my Ubuntu computers from a Linux computer, from within my Home Network, but for it to be impossible to do so from outside.



      What would be the best way to go about this?



      Thanks in advance!







      remote-desktop remote-access






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 13 '17 at 2:56







      Tyler

















      asked May 13 '17 at 1:43









      TylerTyler

      112




      112





      bumped to the homepage by Community 25 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 25 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















          2 Answers
          2






          active

          oldest

          votes


















          0














          Secure Shell is one choice that is fairly easy but it only allows for a Command Line Interface (CLI). SSH can be accessed from the WAN by port forwarding in your router settings.



          Remote Desktop is easy and available natively on Ubuntu machines. The instructions to set it up can be found at the following page.
          http://www.makeuseof.com/tag/ubuntu-remote-desktop-builtin-vnc-compatible-dead-easy/



          You need to go into Desktop Sharing Preferences and allow others to view your Desktop and allow other users to control your desktop. You can set a password under security if you so desire.



          After you find the IP address you can use Remmina Remote Desktop client to access it from that machine. You can use ifconfig to determine the IP address. When you open Remmina it should look similar to the picture below. However it will auto-populate with RDP, you will need to change this to VNC.enter image description here



          Remote Desktop can also be accessed from WAN by forwarding the port, but if this isn't setup you won't have access. One thing to check is to make sure that you are using VNC not RDP as your protocol to connect.



          On the machine you want to connect from you will need to make sure that Remmina is installed and properly.
          In Ubuntu/Debian:



          sudo apt-get install remmina remmina-plugin-*


          In Centos/RHEL:



          yum install remmina remmina-plugin-*


          In Fedora:



          sudo dnf copr enable hubbitus/remmina-next
          sudo dnf upgrade --refresh 'remmina*' 'freerdp*'





          share|improve this answer

























          • Will this prevent connections from outside the network, or will that still be possible?

            – Tyler
            May 13 '17 at 1:56











          • With SSH you would have to go into your router settings and allow connection from outside. I don't believe that Reminna allows any access from outside the LAN. Scratch that, it can as well but like SSH it has to be set up in your router settings.

            – Robby1212
            May 13 '17 at 1:57












          • When using Remmina, it keeps saying Unable to Connect, even though I think I am doing everything correct. I have all the settings like in the link you sent, but it won't work.

            – Tyler
            May 13 '17 at 2:06











          • @Tyler try gsettings set org.gnome.Vino require-encryption false on the machine with Remote Desktop turned on, then connect from the other machine

            – nullmeta
            May 13 '17 at 2:16











          • @nullmeta That didn't change anything.

            – Tyler
            May 13 '17 at 2:44


















          -1














          If you are familiar with terminal, you can use ssh. Simply install on the machine you want to control package openssh-server.



          On your local machine open terminal and type ssh login@internal_ip_of_your_remote_machine. Some networks even work with hostname (login@hostname.local).



          If you want to skip logging in all the time, you can create and copy your public authentification key:



          ssh-keygen - if you have already not generated your ssh key (you can confirm everything)



          ssh-copy-id login@remote_machine and enter remote password.
          From now on you can login from your computer without password query.






          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%2f914639%2fhow-to-connect-from-a-linux-machine-to-an-ubuntu-machine-on-internal-network-onl%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Secure Shell is one choice that is fairly easy but it only allows for a Command Line Interface (CLI). SSH can be accessed from the WAN by port forwarding in your router settings.



            Remote Desktop is easy and available natively on Ubuntu machines. The instructions to set it up can be found at the following page.
            http://www.makeuseof.com/tag/ubuntu-remote-desktop-builtin-vnc-compatible-dead-easy/



            You need to go into Desktop Sharing Preferences and allow others to view your Desktop and allow other users to control your desktop. You can set a password under security if you so desire.



            After you find the IP address you can use Remmina Remote Desktop client to access it from that machine. You can use ifconfig to determine the IP address. When you open Remmina it should look similar to the picture below. However it will auto-populate with RDP, you will need to change this to VNC.enter image description here



            Remote Desktop can also be accessed from WAN by forwarding the port, but if this isn't setup you won't have access. One thing to check is to make sure that you are using VNC not RDP as your protocol to connect.



            On the machine you want to connect from you will need to make sure that Remmina is installed and properly.
            In Ubuntu/Debian:



            sudo apt-get install remmina remmina-plugin-*


            In Centos/RHEL:



            yum install remmina remmina-plugin-*


            In Fedora:



            sudo dnf copr enable hubbitus/remmina-next
            sudo dnf upgrade --refresh 'remmina*' 'freerdp*'





            share|improve this answer

























            • Will this prevent connections from outside the network, or will that still be possible?

              – Tyler
              May 13 '17 at 1:56











            • With SSH you would have to go into your router settings and allow connection from outside. I don't believe that Reminna allows any access from outside the LAN. Scratch that, it can as well but like SSH it has to be set up in your router settings.

              – Robby1212
              May 13 '17 at 1:57












            • When using Remmina, it keeps saying Unable to Connect, even though I think I am doing everything correct. I have all the settings like in the link you sent, but it won't work.

              – Tyler
              May 13 '17 at 2:06











            • @Tyler try gsettings set org.gnome.Vino require-encryption false on the machine with Remote Desktop turned on, then connect from the other machine

              – nullmeta
              May 13 '17 at 2:16











            • @nullmeta That didn't change anything.

              – Tyler
              May 13 '17 at 2:44















            0














            Secure Shell is one choice that is fairly easy but it only allows for a Command Line Interface (CLI). SSH can be accessed from the WAN by port forwarding in your router settings.



            Remote Desktop is easy and available natively on Ubuntu machines. The instructions to set it up can be found at the following page.
            http://www.makeuseof.com/tag/ubuntu-remote-desktop-builtin-vnc-compatible-dead-easy/



            You need to go into Desktop Sharing Preferences and allow others to view your Desktop and allow other users to control your desktop. You can set a password under security if you so desire.



            After you find the IP address you can use Remmina Remote Desktop client to access it from that machine. You can use ifconfig to determine the IP address. When you open Remmina it should look similar to the picture below. However it will auto-populate with RDP, you will need to change this to VNC.enter image description here



            Remote Desktop can also be accessed from WAN by forwarding the port, but if this isn't setup you won't have access. One thing to check is to make sure that you are using VNC not RDP as your protocol to connect.



            On the machine you want to connect from you will need to make sure that Remmina is installed and properly.
            In Ubuntu/Debian:



            sudo apt-get install remmina remmina-plugin-*


            In Centos/RHEL:



            yum install remmina remmina-plugin-*


            In Fedora:



            sudo dnf copr enable hubbitus/remmina-next
            sudo dnf upgrade --refresh 'remmina*' 'freerdp*'





            share|improve this answer

























            • Will this prevent connections from outside the network, or will that still be possible?

              – Tyler
              May 13 '17 at 1:56











            • With SSH you would have to go into your router settings and allow connection from outside. I don't believe that Reminna allows any access from outside the LAN. Scratch that, it can as well but like SSH it has to be set up in your router settings.

              – Robby1212
              May 13 '17 at 1:57












            • When using Remmina, it keeps saying Unable to Connect, even though I think I am doing everything correct. I have all the settings like in the link you sent, but it won't work.

              – Tyler
              May 13 '17 at 2:06











            • @Tyler try gsettings set org.gnome.Vino require-encryption false on the machine with Remote Desktop turned on, then connect from the other machine

              – nullmeta
              May 13 '17 at 2:16











            • @nullmeta That didn't change anything.

              – Tyler
              May 13 '17 at 2:44













            0












            0








            0







            Secure Shell is one choice that is fairly easy but it only allows for a Command Line Interface (CLI). SSH can be accessed from the WAN by port forwarding in your router settings.



            Remote Desktop is easy and available natively on Ubuntu machines. The instructions to set it up can be found at the following page.
            http://www.makeuseof.com/tag/ubuntu-remote-desktop-builtin-vnc-compatible-dead-easy/



            You need to go into Desktop Sharing Preferences and allow others to view your Desktop and allow other users to control your desktop. You can set a password under security if you so desire.



            After you find the IP address you can use Remmina Remote Desktop client to access it from that machine. You can use ifconfig to determine the IP address. When you open Remmina it should look similar to the picture below. However it will auto-populate with RDP, you will need to change this to VNC.enter image description here



            Remote Desktop can also be accessed from WAN by forwarding the port, but if this isn't setup you won't have access. One thing to check is to make sure that you are using VNC not RDP as your protocol to connect.



            On the machine you want to connect from you will need to make sure that Remmina is installed and properly.
            In Ubuntu/Debian:



            sudo apt-get install remmina remmina-plugin-*


            In Centos/RHEL:



            yum install remmina remmina-plugin-*


            In Fedora:



            sudo dnf copr enable hubbitus/remmina-next
            sudo dnf upgrade --refresh 'remmina*' 'freerdp*'





            share|improve this answer















            Secure Shell is one choice that is fairly easy but it only allows for a Command Line Interface (CLI). SSH can be accessed from the WAN by port forwarding in your router settings.



            Remote Desktop is easy and available natively on Ubuntu machines. The instructions to set it up can be found at the following page.
            http://www.makeuseof.com/tag/ubuntu-remote-desktop-builtin-vnc-compatible-dead-easy/



            You need to go into Desktop Sharing Preferences and allow others to view your Desktop and allow other users to control your desktop. You can set a password under security if you so desire.



            After you find the IP address you can use Remmina Remote Desktop client to access it from that machine. You can use ifconfig to determine the IP address. When you open Remmina it should look similar to the picture below. However it will auto-populate with RDP, you will need to change this to VNC.enter image description here



            Remote Desktop can also be accessed from WAN by forwarding the port, but if this isn't setup you won't have access. One thing to check is to make sure that you are using VNC not RDP as your protocol to connect.



            On the machine you want to connect from you will need to make sure that Remmina is installed and properly.
            In Ubuntu/Debian:



            sudo apt-get install remmina remmina-plugin-*


            In Centos/RHEL:



            yum install remmina remmina-plugin-*


            In Fedora:



            sudo dnf copr enable hubbitus/remmina-next
            sudo dnf upgrade --refresh 'remmina*' 'freerdp*'






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited May 13 '17 at 15:55

























            answered May 13 '17 at 1:54









            Robby1212Robby1212

            336317




            336317












            • Will this prevent connections from outside the network, or will that still be possible?

              – Tyler
              May 13 '17 at 1:56











            • With SSH you would have to go into your router settings and allow connection from outside. I don't believe that Reminna allows any access from outside the LAN. Scratch that, it can as well but like SSH it has to be set up in your router settings.

              – Robby1212
              May 13 '17 at 1:57












            • When using Remmina, it keeps saying Unable to Connect, even though I think I am doing everything correct. I have all the settings like in the link you sent, but it won't work.

              – Tyler
              May 13 '17 at 2:06











            • @Tyler try gsettings set org.gnome.Vino require-encryption false on the machine with Remote Desktop turned on, then connect from the other machine

              – nullmeta
              May 13 '17 at 2:16











            • @nullmeta That didn't change anything.

              – Tyler
              May 13 '17 at 2:44

















            • Will this prevent connections from outside the network, or will that still be possible?

              – Tyler
              May 13 '17 at 1:56











            • With SSH you would have to go into your router settings and allow connection from outside. I don't believe that Reminna allows any access from outside the LAN. Scratch that, it can as well but like SSH it has to be set up in your router settings.

              – Robby1212
              May 13 '17 at 1:57












            • When using Remmina, it keeps saying Unable to Connect, even though I think I am doing everything correct. I have all the settings like in the link you sent, but it won't work.

              – Tyler
              May 13 '17 at 2:06











            • @Tyler try gsettings set org.gnome.Vino require-encryption false on the machine with Remote Desktop turned on, then connect from the other machine

              – nullmeta
              May 13 '17 at 2:16











            • @nullmeta That didn't change anything.

              – Tyler
              May 13 '17 at 2:44
















            Will this prevent connections from outside the network, or will that still be possible?

            – Tyler
            May 13 '17 at 1:56





            Will this prevent connections from outside the network, or will that still be possible?

            – Tyler
            May 13 '17 at 1:56













            With SSH you would have to go into your router settings and allow connection from outside. I don't believe that Reminna allows any access from outside the LAN. Scratch that, it can as well but like SSH it has to be set up in your router settings.

            – Robby1212
            May 13 '17 at 1:57






            With SSH you would have to go into your router settings and allow connection from outside. I don't believe that Reminna allows any access from outside the LAN. Scratch that, it can as well but like SSH it has to be set up in your router settings.

            – Robby1212
            May 13 '17 at 1:57














            When using Remmina, it keeps saying Unable to Connect, even though I think I am doing everything correct. I have all the settings like in the link you sent, but it won't work.

            – Tyler
            May 13 '17 at 2:06





            When using Remmina, it keeps saying Unable to Connect, even though I think I am doing everything correct. I have all the settings like in the link you sent, but it won't work.

            – Tyler
            May 13 '17 at 2:06













            @Tyler try gsettings set org.gnome.Vino require-encryption false on the machine with Remote Desktop turned on, then connect from the other machine

            – nullmeta
            May 13 '17 at 2:16





            @Tyler try gsettings set org.gnome.Vino require-encryption false on the machine with Remote Desktop turned on, then connect from the other machine

            – nullmeta
            May 13 '17 at 2:16













            @nullmeta That didn't change anything.

            – Tyler
            May 13 '17 at 2:44





            @nullmeta That didn't change anything.

            – Tyler
            May 13 '17 at 2:44













            -1














            If you are familiar with terminal, you can use ssh. Simply install on the machine you want to control package openssh-server.



            On your local machine open terminal and type ssh login@internal_ip_of_your_remote_machine. Some networks even work with hostname (login@hostname.local).



            If you want to skip logging in all the time, you can create and copy your public authentification key:



            ssh-keygen - if you have already not generated your ssh key (you can confirm everything)



            ssh-copy-id login@remote_machine and enter remote password.
            From now on you can login from your computer without password query.






            share|improve this answer



























              -1














              If you are familiar with terminal, you can use ssh. Simply install on the machine you want to control package openssh-server.



              On your local machine open terminal and type ssh login@internal_ip_of_your_remote_machine. Some networks even work with hostname (login@hostname.local).



              If you want to skip logging in all the time, you can create and copy your public authentification key:



              ssh-keygen - if you have already not generated your ssh key (you can confirm everything)



              ssh-copy-id login@remote_machine and enter remote password.
              From now on you can login from your computer without password query.






              share|improve this answer

























                -1












                -1








                -1







                If you are familiar with terminal, you can use ssh. Simply install on the machine you want to control package openssh-server.



                On your local machine open terminal and type ssh login@internal_ip_of_your_remote_machine. Some networks even work with hostname (login@hostname.local).



                If you want to skip logging in all the time, you can create and copy your public authentification key:



                ssh-keygen - if you have already not generated your ssh key (you can confirm everything)



                ssh-copy-id login@remote_machine and enter remote password.
                From now on you can login from your computer without password query.






                share|improve this answer













                If you are familiar with terminal, you can use ssh. Simply install on the machine you want to control package openssh-server.



                On your local machine open terminal and type ssh login@internal_ip_of_your_remote_machine. Some networks even work with hostname (login@hostname.local).



                If you want to skip logging in all the time, you can create and copy your public authentification key:



                ssh-keygen - if you have already not generated your ssh key (you can confirm everything)



                ssh-copy-id login@remote_machine and enter remote password.
                From now on you can login from your computer without password query.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 13 '17 at 15:45









                Michal PolovkaMichal Polovka

                1,1651819




                1,1651819



























                    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%2f914639%2fhow-to-connect-from-a-linux-machine-to-an-ubuntu-machine-on-internal-network-onl%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

                    Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

                    Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

                    Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»