Step 1: Install XRDP on the Raspberry Pi
Open a terminal on the Pi (directly, or via SSH) and run:sudo apt-get -y install xrdp
Step 2: Install Samba for hostname resolution
This lets you connect using the Pi’s hostname instead of having to look up and type its IP address every time:sudo apt-get -y install sambaOnce both are installed, your Raspberry Pi is ready to accept incoming Remote Desktop connections.
Step 3: Connect from Windows
- Open the Remote Desktop Connection app on your Windows machine.
- In the Computer field, enter your Raspberry Pi’s IP address or hostname.
- Click Connect.
- When prompted, enter the login credentials for your Raspberry Pi.
pi, password raspberry), but for security reasons current Raspberry Pi OS no longer ships with this default: you set your own username and password during first-boot setup via Raspberry Pi Imager. Use whatever credentials you configured at that stage, not the old default, unless you’re working with a legacy image that predates this change.
Troubleshooting
- Confirm the Raspberry Pi and your Windows machine are on the same network: Remote Desktop won’t traverse most home router NAT without additional port forwarding, which isn’t recommended for security reasons on a home network.
- Double-check the IP address or hostname you’re connecting to: a DHCP lease renewal can silently change the Pi’s IP address between sessions if you haven’t set a static IP or DHCP reservation.
- Make sure you’re using your current password, not any default that may have shipped with an older image.
Resources
- remote desktop
- Browse our Raspberry Pi Projects picks on Amazon
- Raspberry Pi 5 Active Cooler
- Raspberry Pi 5 case
- Samsung EVO Select microSD card
- Raspberry Pi 5 Active Cooler
- Raspberry Pi 5 case
- Samsung EVO Select microSD card
Discover more from TechyGeeksHome
Subscribe to get the latest posts sent to your email.