• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Remotely control PC from Android

For the love of <INSERT FAVORITE DEITY HERE> do NOT expose VNC to the internet. It has absolutely, positively no security. EVERYTHING is transmitted in the clear.

VNC over SSH is a good way to handle this, but I don't think Windows comes with an SSH server. You also might look into a VPN solutions.

What about leaving ports open? As in if I have to open the port in the firewall, is that dangerous?

What is the easiest method of securing it?

I mean I don't plan on doing anything sensitive over the internet anyway, just basic things like browsing my files.
 
What about leaving ports open? As in if I have to open the port in the firewall, is that dangerous?

Leaving ports open is the problem. If the port is open and something is listening on that port (vncserver in this case), the bad guys can try and crack it. With VNC it is pretty straight-forward since all of your passwords will be transmitted in the clear. That would give them pretty much complete control of your PC.

What is the easiest method of securing it?

The problem is that Windows doesn't have any secure desktop communications other than RDP, and if I'm following the thread right, that isn't an option here. So that means you'll need something like an SSH server or some sort of VPN connection to your computer. To do an SSH server on Windows I think you have to install Cygwin, which would hopefully allow VNC to work over SSH. By the way, if you've ever considered using Linux, this is all drop dead easy.


I mean I don't plan on doing anything sensitive over the internet anyway, just basic things like browsing my files.

To be honest, your sensitive information isn't worth anywhere near as much as your computer is once it has been recruited into a botnet. Times have changed and the bad guys want your computer more than they want your information.

paradox183 said:
OpenSSH runs on Windows.

As an SSH server? I know you can do it if you use Cygwin, but I don't think I've ever seen a native install of OpenSSH on Windows. If you have any links on how to do that it would be appreciated.
 
I switched to Windows recently for a number of reasons and I don't plan on switching back any time soon.

While VNC is useful, I think I will have to be content with using it in the house over my WiFi, the security risks seem to be too much to deal with for something like this.

I've disabled my forwarded ports and obviously my WiFi connection is encrypted so as long as I use the VNC on my LAN I should be "secure", is that correct? I just wanted to check since I have to enable the 5900 port in my firewall.
 
As an SSH server? I know you can do it if you use Cygwin, but I don't think I've ever seen a native install of OpenSSH on Windows. If you have any links on how to do that it would be appreciated.

You are right that it requires Cygwin.

VPN wouldn't be an entirely bad solution, just an extra step when connecting from the outside. You can set up your computer to be a PPTP server (How to Set up an incoming VPN on Windows 7), and then set your phone (or other computers) to connect to that as a VPN connection.
 
Now that I&#8217;ve got it working (finally!) I want to try a few of the other applications available, both as a server (on my PC) and viewer (on my Android).

So, far I have found:

Server: UltraVNC, RealVNC, TeamViewer (note I cannot figure out how to get this to work on Android as it does not have a dedicated client).
Viewer: RemoteVNC

Any other suggestions/experiences?
 
I couldn't get android-vnc-viewer to work with ultravnc. The screen never really came up and my whole screen turned green often. I switched the server to TightVNC and it works great.

I didn't like Remote VNC as I couldn't find a way to send the "F" keys, which I needed.
 
The guide seems surprisingly easy! Is there really nothing else I would need to do to secure the connection?

Since you have got it working, could you please help me step by step as to how can I access my laptop which has Tight VNC on it using my HTC EVO which has android VNC on it?

My HTC evo and my laptop uses the same wifi which I have at my home. I have ATT uverse wifi connection.

What I have done so far:
Installed tight vnc on my laptop which has winXP.
Installed Android VNC on my HTC evo.
Set up the passwords on the Tight VNC and my Tight VNC is running now.
I am not sure about the IP address needs to be put on the android vnc? there are so many IP addresses.The 'MyIPaddress' site gives a different ip address, while my IPconfig on cmd gives LAN and Wireless Ip adress. Which IP address do I have to consider?
Also the default port is 5900 in my android vnc. Is that ok.

If my evo, which is using the same wifi as my laptop, can see my laptop screen, then I can try doing the same by connecting evo on 3g network. For that, I will need more help from you.

Hope you will help me out.
 
Back
Top Bottom