Next, type in your Ubuntu machine account username and password and connect using Xorg session…
you should be warned about Windows not trusting the computer you’re conneting to… Accept and continue to connect anyway. Then click Connect to initiate the connection to XRDP server…. The solutions I have tested is to restart the Ubuntu desktop and not to logon…. XRPD will not connect if you’re already logon to the desktop with the account you wish to connect….
Step 2: Connect from Windows 10 Now that Xrdp server is installed, go and open Windows Remote Desktop Connection app and connect to the server IP or hostname… Make sure you’re not already logged into the desktop…
Sudo apt install xrdp sudo systemctl enable xrdpĪfter running the commands below reboot the desktop…. Step 1: Install XRDP Server To get Ubuntu desktops to accept RDP connections, you must first install and enable XRDP remote desktop tool… to do that, run the commands below When you’re ready, follow the steps below to get it working…
This brief tutorial is going to show students and new users how to using Windows own remote desktop connection protocol to connect to Ubuntu 18.10 / 18.04 and 16.04 desktops XRDP is an open source remote desktop protocol server which uses RDP to present a GUI to desktop clients… It provides a fully functional Linux terminal server, capable of accepting connections from rdesktop, freerdp, and Microsoft’s own terminal server / remote desktop clients.
In most Linux environments, VNC server and other opensource remote connection tools are the only options available to users… You don’t see tools supporting Microsoft Remote Desktop Connction (RDP) protocols to connect to Linux desktop… The only tool that gets this done is XRDP…. If you want to learn how to make that work, the steps below should be a great place to start… Students and new users should fine the steps below helpful…. I recently installed Ubuntu 18.10 desktop on one of my test servers… To test my apps, I wanted to connect to the Ubuntu machine via Microsoft Remote Desktop Connection (RDP)…. 国外教程原文转载如下 Connect From Windows 10 To Ubuntu 18.10 / 18.04 / 16.04 Via XRDP Remote Desktop Protocol (RDP) Sorry for any inconvenience it may cause.Īlternatively, you may refer /2018/0 4/28/change-lid-close-action-ubuntu-18-04-lts/ to fix the problem. We hope that this guide was useful.: Currently, this tutorial is for reference only, due to some reasons, it does NOT neccessarily lead you to successfully connect Ubuntu via win10 RDP. We’d love to hear your feedback and, more specifically, the challenges that you encountered. Provide your credentials and click ‘ Authenticate’ and finally, this ushers you to the desktop screen of the remote Ubuntu desktop system as shown. After the initial authentication, you will be required to authenticate again as shown. $ sudo vim /etc/xrdp/startwm.shĪdd these lines just before the lines that test & execute Xsession as shown in the screenshot below. Head over to the remote system and edit the /etc/xrdp/startwm.sh script. In fact, I personally encountered it and after some digging, I discovered a nifty workaround. NOTE: At this point, you might encounter a blank black screen, instead of an Ubuntu desktop background. On the Xrdp login page, provide your login credentials and click ‘ Ok’.
On the pop-up that requires you to verify the identity of your remote system, ignore the certificate errors and click on the ‘ Next’ button to proceed with the connection. Next, launch your client and key in your remote system’s IP address, and click the ‘ Connect’ button. This because Xrdp only supports one Xsession. But before we do so, ensure that you first log out of Ubuntu 20.04. In this step, we are going to access the Ubuntu desktop system from Windows 10 using the Remote Desktop Client. Open Xrdp Port on Ubuntu Firewall Step 3: Access Remote Ubuntu Desktop with RDP Client Thereafter, reload the firewall and confirm if the port has been opened. In this example, I will allow traffic from my entire subnet to the Ubuntu system. Xrdp listens on port 3389 and if you are behind a UFW firewall, you need to open the port to allow inbound traffic from an RDP client. We need to add the xrdp user to the ssl-cert group to make the file readable to the user.
When Xrdp is installed, an SSL certificate key – ssl-cert-snakeoil.key – is placed in the /etc/ssl/private/ folder. The output confirms, without a doubt, that the xrdp daemon is active and running. You can verify this by running the command: $ sudo systemctl status xrdp Xrdp service starts automatically upon installation. When prompted, just hit 'Y' and press enter to continue with the installation.