By connecting Raspberry Pi remotely with a Windows computer, you can access your computer anytime, anywhere on your Raspberry Pi. Check out the steps in Mytour's article below to learn how to do it.
Connecting Raspberry Pi Remotely with a Windows Computer
Follow the steps below to remotely connect to a Windows computer on Raspberry Pi:
Step 1: Configure Windows for Remote Connection
The first step is to ensure that Windows can accept remote connections using the RDP protocol. To do this, activate Remote Assistance settings.
Open Windows Explorer, then find and right-click on This PC, choose Properties. In the System window, locate Remote settings.
Here, find and check the box next to Allow Remote Assistance connections to this computer. Then, click Apply to apply the changes. Additionally, you can click the Advanced button, check the box Allow this computer to be controlled remotely, and click OK.
Finally, click OK to close the Properties window and exit the System window.
Step 2: Find the IP address of the Windows computer
The next step is to find the IP address of the Windows computer. You have a few options:
The simplest way is to right-click on the Start button, select Windows PowerShell. Then, in the PowerShell window, enter the following command:
Check the list of your current connections; both Wifi and Ethernet connections will be listed as wireless LAN network cards.
If the above method seems too complex, another solution is to access your router (router) through a web browser. Note that you'll need to check the documentation to learn how to do this. Once connected, you can view a list of devices connected to your home network.
Find the hostname of the Windows computer (through the System window you opened earlier to activate Remote Assistance) to discover the IP address of the device. The IP address typically looks like 192.168.0.x or 192.168.1.x.
After finding it, make sure to save the IP address for later use.
Step 3: Install RDP software on Raspberry Pi
On the Raspberry Pi connected to the local network, open a Terminal window and run the following commands to update Raspbian:
sudo apt update
sudo apt upgrade
Enter each command one by one and follow the displayed prompts. Once complete, your Raspbian system will be updated. The next step is to reboot the Pi by running the command:
sudo reboot
After the computer restarts, open a new Terminal session and run the following commands to install xrdp:
sudo apt install xrdp
Follow the on-screen prompts to complete the software installation.
Step 4: Find and Install Remote Desktop Applications
Some remote desktop tools are available in various Linux distributions. These tools can handle one or more different protocols and can be used to control a computer remotely.
However, the best tool for Raspberry Pi is Remmina, supporting RDP, VNC, SPICE, NX, XDMCP, SSH, and EXEC.
To install Remmina, go back to the Terminal window and enter the following command:
sudo apt install remmina
Follow the instructions and wait for the application installation process to complete.
Step 5: Connect to Windows computer with Remmina
To remotely access a Windows computer on Raspberry Pi, first open the Remmina application through the Terminal command:
Alternatively, you can open the application from the Internet menu.
A new window will appear on the screen; here, locate the field to enter the IP address of the Windows computer, ensuring that RDP is selected as the protocol.
Once ready, click Connect and wait for the connection to be established. Then, you can access your Windows computer right on Raspbian (or any Raspberry Pi operating system you choose).
To fine-tune the connection (including adjusting connection quality), access the Edit => Preferences window.
In this article, Mytour has just guided you on how to connect Raspberry Pi remotely with a Windows computer. From now on, you can remotely access your Windows 10 computer anytime on Raspberry Pi to check emails or retrieve documents, and more. If you have any questions or need clarification, readers can leave their comments below the article.
In the upcoming articles, we will guide you on how to effectively use Raspberry Pi, meeting some of your work requirements. There are certain differences in using Raspberry Pi, and you need to prepare some accompanying items. Stay tuned for our next articles on our website.
