Ubuntu: Can you set the default remote desktop app to let your computer be viewed off your network?



Question:

The remote desktop app when enabled doesn't work with computers outside your network. Can you set it to let you do such? If so how? Is there a separate app that will let me do such a thing?


Solution:1

That has nothing to do with the application. You have forward a port on the router to make the computer accessible from the internet. That aside, allowing VNC access outside the local network is a bad idea security wise.


Solution:2

Assuming you have already installed vnc-viewer (e.g. from tightvncviewer Install tightvncviewer) you can connect to a remote outside your local network via an SSH connection by using the option -via

vncviewer -via user@remote localhost:0  

The display at localhost:<display<> depends on your local settings (usually 0).

Of course you need to know the IP of the remote machine you want to connect to. If you have no static IP you need to use a dynamic DNS service (e.g. DynDNS) and run a client on the remote side that provides the IP to the service, e.g. in the router (recommended) or by running ddclient Install ddclient.

Also an SSH server needs to run on the remote machine (install openssh-server Install openssh-server on the remote machine).


Solution:3

I think the easiest way to do this is teamviewer ( http://www.teamviewer.com/ ). This is what I started to use.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »