G
G
George2020-02-18 11:07:03
Windows
George, 2020-02-18 11:07:03

How to set up remote control of ubuntu via RDP from windows 10?

Good afternoon.
I installed ubuntu 18.04 LTS on hyper-v, installed XRDP, everything is as in the instructions on this site , even logged out of the user.
However, if I try on another computer (windows 10) on this local network via a remote desktop connection to connect to ubuntu specifying the IP, then the message appears

Remote Desktop failed to connect to the remote computer for one of the following reasons: 1) Remote access to the server is not enabled 2) The remote computer is turned off 3) The remote computer is not connected to the network

Remote access on ubuntu is enabled, the ubuntu machine itself is running and from ubuntu I can ping other computers on the network.
Tell me in which direction to dig, what could be the reason for the non-connection?

Thanks in advance for your replies.

PS I
tried to connect to windows 10 also on hyper-v, everything works out.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
#
#, 2020-02-18
@RIBAdminio

RIBAdminio ,

How can I see if NAT/Bridge is configured?
so (this is NAT)
J0O1nYF.png
and breeches to do here
kqf3iSO.png
from a network outside the computer , you can get access to the virtual machine only if the virtual machine is connected according to the bridge (bridge) scheme
ps note that this does not negate other nuances about firewalls and the like (although specifically the firewall in the ubunta is disabled by default, but interferes I can’t say for sure, but logically it shouldn’t.. switches, even virtual ones, are just switches)
pps I’m not talking about the fact that the virtual machine should receive ip in the same place as all other computers in the local area. this is usually an office or home router. this does not require much - everything is the same connection according to the bridge scheme (aka bridge)

D
Dmitry, 2020-02-18
@q2digger

Well, that's on a clean system.

sudo apt-get update
sudo apt-get install xrdp
sudo systemctl start xrdp
sudo lsof -i -P -n

Result
[email protected]:~$ sudo lsof -i -P -n | grep 3389
xrdp      5038            xrdp   11u  IPv6  52000      0t0  TCP *:3389 (LISTEN)

L
latush, 2020-02-18
@latush

and from other computers on the network you can ping the virtual machine with ubuntu?
How is the network configured in Hyper-V, NAT/Bridge?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question