Remote Desktop (Xrdp) is a free and open-source implementation of the Microsoft RDP server it enables operating systems other than Microsoft Windows to provide a fully functional RDP-compatible remote desktop experience. In this tutorial, we will explain how to install and configure the Xrdp on Raspberry Pi.
Prerequisite
- Raspberry Pi 2, 3, 4 or 3 B+
- SD Card
- USB Keyboard
- USB Mouse
- HDMI Cable
- Ethernet or Wifi dongle
Also See: How to Install RetroPie on Raspberry Pi
Step 1: Updating Raspberry Pi
Before proceeding further it’s always a good practice to update Raspberry Pi. You can update your package list for upgrades for packages that need upgrading, as well as new packages that have just come to the repositories with the below command
sudo apt-get update
sudo apt-get upgrade
Step 2: Install XRDP Packages
Once the Raspberry Pi is updated, Run the below command to install Xrdp on Raspberry Pi
sudo apt-get install xrdp
Now sit back and relax with Raspberry Pi will download and install all the required packages to run xrdp and it will automatically set up everything for you.
Step 3: Connect to the Raspberry Pi over Remote Desktop Protocol
To follow the process we need to know the Raspberry Pi IP address to find out all you need is to copy and paste the command given below.
hostname -I
- Open the Remote Desktop Connection Client by clicking Start > All Programs > Accessories > Communications > Remote Desktop Connection.
- Enter the Raspberry Pi IP address of the server in the Computer field and click Connect.
- Enter the “username” and “password” for the account that exists on your Raspberry Pi
- (Optional) To set up file transfer or enable your clipboard for copy/paste, click Options.
- Click the Local Resources tab, select the Clipboard option, click More, and then click Drives.
Save your session by clicking the General tab and clicking Save As.
Conclusion
You should now be able to connect to the Raspberry Pi via Xrdp. Please share this article on social media so people can set up Raspberry Pi Remote Desktop up in the easiest way possible if you have any questions do let me know via Twitter @Devenderkg.