Your cart is currently empty!
Solving RDP issues in Ubuntu XRDP
๐ Hey everyone! In this article, I’m going to share how I was finally able to connect to an Ubuntu machine running in Hyper-V via xrdp.
๐ค The issue I was facing was that I could connect via vsock, but I needed to allow TCP connections from any IP address. Here’s what I did to solve the problem:
1๏ธโฃ First, I modified the xrdp configuration file to allow connections via TCP. I changed the port
setting to port=3389
and set use_vsock
to false
. This allowed connections via TCP from any IP address.
2๏ธโฃ Next, to restrict access to xrdp, I modified the xrdp configuration file to only allow connections from the local machine or any IP address. I set allowed_users
to console
and added 127.0.0.1/32
to the allowed_ip
setting.
3๏ธโฃ Finally, I restarted the xrdp service to apply the changes.
๐ And that’s it! After making these changes, I was able to connect to the Ubuntu machine via TCP from any IP address.
๐ก Remember that allowing TCP connections from any IP address may expose the xrdp server to potential attackers, so it’s important to take appropriate security measures, such as using strong passwords, limiting access to the xrdp server, and using a firewall to restrict access to the machine running xrdp.
๐ I hope this article helps you if you’re facing a similar issue with xrdp. Let me know if you have any questions or if there’s anything I can help you with!
by
Tags:
Leave a Reply