I have a laptop with Ubuntu Server set up and I can access it via SSH fine. So I installed XRDP and XFCE4, but I can't accesss it via Windows Remote Desktop. Any ideas?
-
2What exactly does "can't access it" mean? It could be it times out, gets refused, says it doesn't exist, connects but doesn't respond, or quite a few other things.– TheWandererJun 30, 2016 at 18:36
-
Remote Desktop can't connect to the remoter computer for one of the following reasons ... Sorry for not explaining– WKoppelJun 30, 2016 at 18:55
-
Can you get a screenshot?– TheWandererJun 30, 2016 at 18:55
-
Remote Desktop can't connect to the remoter computer for one of the following reasons : Remote access to the server is not enabled . Remote computer is turned off. Remote computer is not available on the network– WKoppelJun 30, 2016 at 18:59
-
Read my comment below the answer.– TheWandererJun 30, 2016 at 19:00
Add a comment
|
2 Answers
Since this is a remote computer, it's going to need to have the correct ports forwarded to it if you want to use RDP.
You need these ports forwarded for RDP to work:
TCP 3389
UDP 3389 #this seems to be optional
-
Like in this answer :askubuntu.com/questions/320121/simple-port-forwarding– WKoppelJun 30, 2016 at 19:28
-
@WKoppel no, it needs to be done in the router settings for the network the computer is on. Jun 30, 2016 at 19:28
Check if:
- firewall is not blocking port
- xrdp server is running
- port is forwarded on router (for connections outside LAN)
- you didn't misspelt IP address/hostname
-
SSH is running on port 22222 , should I check if firewall might block this?– WKoppelJun 30, 2016 at 18:55
-
And the guy who sent me the info for the SSH said that I can forward other ports via tunnel, but as I can't ask from him right now I am here.– WKoppelJun 30, 2016 at 18:57
-
Wait, is this a remote computer (not on your local network)? RDP does not use SSH. It has its own ports you need to forward. Jun 30, 2016 at 18:59
-
-
@WKoppel you're going to have to forward the ports RDP uses. I'll write an answer for that. Jun 30, 2016 at 19:06