View Full Version : [SOLVED] How do I set up remote desktop from Ubuntu to XP over internet?
Xyphoid
April 14th, 2009, 09:11 PM
My local network contains a modem, a router, my XP desktop and my Ubuntu laptop.
I'm trying to set up a remote connection from my laptop to my desktop through an internet connection. I can make a remote connection in my local network, but I can not make a connection from another network.
I already opened port 5900 for VNC and 3389 for RDP on my router and modem.
But every time I try to connect to the IP address (I get with http://whatismyip.com/) with Remote Desktop Viewer or Terminal Server Client the connection fails.
Can anyone please tell me how to set up my XP desktop and Ubuntu laptop so that my laptop can make a remote connection from another network?
Mordac85
April 15th, 2009, 03:00 AM
I'm assuming by modem you mean a normal cable or DSL modem provided by your ISP? Now the router, which I assume is connected to your modem on one side (WAN() and your other systems on the other (LAN).
On the Router: Choose some obscure port number to use rather than the RDP default ( I normally prefix a number between 5 & 10 to the default port so I can remeber it easily)
Point that port to your XP desktop's IP address
Check the IP of the router's WAN connection (your ISP)
On the XP desktop: Open regedit
Set HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\TerminalServer\WinStations\RDP-Tcp\PortNumber to the port number you chose earlier
Right-click 'My Computer' and select Properties
On the Remote tab clear the top checkbox (initiate requests)
Check the bottom checkbox (allow control)
Hit OK/Apply and close it
Reboot (of course)
Now try to connect to your system using the RDP protocol to the IP of your router, not your desktop using the port number you chose.
Xyphoid
April 15th, 2009, 01:56 PM
Thnx Mordac85,
I'll try it this afternoon.
-edit-
I found out why it wasn't working.
I was using VNC and disabled RDP.
But Terminal Server Client works with RDP.
So:
RDP -> Terminal Server Client
VNC -> Remote Desktop Viewer
Very confusing....
So when I want to connect through another network I have to use RDP. Because I can't get
VNC to work through another network. Too bad, cause I like Remote Desktop Viewer better than Terminal Server Client.
Mordac85
April 16th, 2009, 12:16 AM
You can install a VNC server on your XP box and use the VNC protocol or use your VNC viewer with the RDP protocol.
Xyphoid
April 16th, 2009, 07:31 PM
You can install a VNC server on your XP box and use the VNC protocol or use your VNC viewer with the RDP protocol.
I already have VNC on my XP box. If I want to use VNC with the RDP protocol, I guess I have to install VNC viewer? Because I can't choose the protocol in Remote Desktop Viewer.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.