{"id":146653,"date":"2024-02-06T14:43:30","date_gmt":"2024-02-06T14:43:30","guid":{"rendered":"https:\/\/randomnerdtutorials.com\/?p=146653"},"modified":"2024-02-07T16:22:02","modified_gmt":"2024-02-07T16:22:02","slug":"raspberry-pi-remote-desktop-connection-rdp-windows","status":"publish","type":"post","link":"https:\/\/randomnerdtutorials.com\/raspberry-pi-remote-desktop-connection-rdp-windows\/","title":{"rendered":"Raspberry Pi: Set Up Remote Desktop Connection (RDP) &#8211; Windows PC"},"content":{"rendered":"\n<p>This guide shows how to set up a Remote Desktop Connection with a Raspberry Pi using RDP on a Windows PC. The Remote Desktop Protocol (RDP) is the proprietary network protocol developed by Microsoft to connect to a remote desktop computer and access its graphical user interface. This allows you to connect your Windows PC to your Raspberry Pi and control its GUI remotely.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/Raspberry-Pi-Remote-Desktop-Windows.jpg?resize=1200%2C675&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Raspberry Pi Setup Remote Desktop Connection RDP Windows PC\" class=\"wp-image-146689\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/Raspberry-Pi-Remote-Desktop-Windows.jpg?w=1280&amp;quality=100&amp;strip=all&amp;ssl=1 1280w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/Raspberry-Pi-Remote-Desktop-Windows.jpg?resize=300%2C169&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/Raspberry-Pi-Remote-Desktop-Windows.jpg?resize=1024%2C576&amp;quality=100&amp;strip=all&amp;ssl=1 1024w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/Raspberry-Pi-Remote-Desktop-Windows.jpg?resize=768%2C432&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/figure><\/div>\n\n\n<p class=\"rntbox rntclgray\">We have a similar guide for <a href=\"https:\/\/randomnerdtutorials.com\/raspberry-pi-remote-desktop-connection-rdp-mac-os\/\"><strong>Mac OS computer<\/strong>: Raspberry Pi: Set Up Remote Desktop Connection (RDP)<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<p>Before proceeding, make sure you check the following prerequisites.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You need a <a href=\"https:\/\/makeradvisor.com\/best-raspberry-pi-starter-kits\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Raspberry Pi board<\/a>.<\/li>\n\n\n\n<li><strong>Operating System<\/strong>: you should have a <a href=\"https:\/\/randomnerdtutorials.com\/installing-raspbian-lite-enabling-and-connecting-with-ssh\/#install-raspberry-pi-os\">Raspberry Pi running Raspberry Pi OS<\/a> (32-bit or 64-bit). The OS should have Desktop support (doesn&#8217;t work on Lite OS).<\/li>\n\n\n\n<li><strong>SSH<\/strong>: You should be able to<a href=\"https:\/\/randomnerdtutorials.com\/installing-raspbian-lite-enabling-and-connecting-with-ssh\/#connect-RPi-SSH\"> establish an SSH connection with your Raspberry Pi<\/a>.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">xrdp (open-source Remote Desktop Protocol Server)<\/h2>\n\n\n\n<p><a href=\"https:\/\/www.xrdp.org\/\" target=\"_blank\" rel=\"noopener\" title=\"\">xrdp<\/a> provides a graphical login to remote machines using RDP (Microsoft&#8217;s proprietary Remote Desktop Protocol). xrdp accepts connections from a variety of RDP clients. We&#8217;ll be using Microsoft Remote Desktop Client for Windows (but it&#8217;s also compatible with <a href=\"https:\/\/randomnerdtutorials.com\/raspberry-pi-remote-desktop-connection-rdp-mac-os\/\">Mac OS<\/a>, iOS, and Android).<\/p>\n\n\n\n<p>xrdp allows you to connect to your Raspberry Pi to control its desktop remotely.<\/p>\n\n\n\n<p class=\"rntbox rntcred\">Please note that your Raspberry Pi must be running a full Raspberry Pi OS &#8211; it will not work with a headless or Lite OS.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Installing xrdp on Raspberry Pi (Remote Desktop Protocol)<\/h3>\n\n\n\n<p>Having an&nbsp;<a href=\"https:\/\/randomnerdtutorials.com\/installing-raspbian-lite-enabling-and-connecting-with-ssh\/#connect-RPi-SSH\">SSH connection established with your Raspberry Pi<\/a>, update and upgrade your Raspberry Pi, if any updates are available. Run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update &amp;&amp; sudo apt upgrade -y<\/code><\/pre>\n\n\n\n<p>Next, we need to install the xrdp software on your Raspberry Pi:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install -y xrdp<\/code><\/pre>\n\n\n\n<p>That&#8217;s it. You don&#8217;t need to change any configurations, everything will work out of the box with the default settings.<\/p>\n\n\n\n<p>Finally, run the following command to get the Raspberry Pi IP address. You&#8217;ll need the IP address to establish the remote connection.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hostname -I<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"477\" height=\"98\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/raspberry-pi-ip-address.png?resize=477%2C98&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Raspberry Pi IP Address\" class=\"wp-image-146654\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/raspberry-pi-ip-address.png?w=477&amp;quality=100&amp;strip=all&amp;ssl=1 477w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/raspberry-pi-ip-address.png?resize=300%2C62&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 477px) 100vw, 477px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">Remote Desktop Connection Software &#8211; Windows PC<\/h2>\n\n\n\n<p>The Remote Desktop Connection software is installed on all Windows PCs by default. Click the search bar.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"38\" height=\"47\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/windows-pc-search-bar.png?resize=38%2C47&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Windows PC Search bard\" class=\"wp-image-146657\"\/><\/figure><\/div>\n\n\n<p>Search for &#8220;<strong>Remote Desktop Connection<\/strong>&#8221; and open the App:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"354\" height=\"167\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/search-for-remote-desktop-connection-rdp-software-windows-pc.png?resize=354%2C167&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Search for Remote Desktop connection RDP software Windows PC\" class=\"wp-image-146658\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/search-for-remote-desktop-connection-rdp-software-windows-pc.png?w=354&amp;quality=100&amp;strip=all&amp;ssl=1 354w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/search-for-remote-desktop-connection-rdp-software-windows-pc.png?resize=300%2C142&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 354px) 100vw, 354px\" \/><\/figure><\/div>\n\n\n<p>Type the Raspberry Pi IP address in the computer field and press the <strong>Connect <\/strong>button:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"407\" height=\"253\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/remote-desktop-connection-software-type-raspberry-pi-ip-address.png?resize=407%2C253&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Remote Desktop Connection software type Raspberry Pi IP Address\" class=\"wp-image-146659\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/remote-desktop-connection-software-type-raspberry-pi-ip-address.png?w=407&amp;quality=100&amp;strip=all&amp;ssl=1 407w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/remote-desktop-connection-software-type-raspberry-pi-ip-address.png?resize=300%2C186&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 407px) 100vw, 407px\" \/><\/figure><\/div>\n\n\n<p>Click the &#8220;<strong>Yes<\/strong>&#8221; button to establish the connection.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"392\" height=\"245\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/remote-desktop-connection-software-yes-connect.png?resize=392%2C245&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Remote Desktop Connection software accept connection yes option\" class=\"wp-image-146660\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/remote-desktop-connection-software-yes-connect.png?w=392&amp;quality=100&amp;strip=all&amp;ssl=1 392w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/remote-desktop-connection-software-yes-connect.png?resize=300%2C188&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 392px) 100vw, 392px\" \/><\/figure><\/div>\n\n\n<p>Next, type your Raspberry Pi username and password and click the &#8220;<strong>OK<\/strong>&#8221; button to login into your device.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"883\" height=\"552\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/xrdp-connect-to-raspberry-pi-username-password.png?resize=883%2C552&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"xrdp connect to Raspberry Pi Username and Password\" class=\"wp-image-146661\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/xrdp-connect-to-raspberry-pi-username-password.png?w=883&amp;quality=100&amp;strip=all&amp;ssl=1 883w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/xrdp-connect-to-raspberry-pi-username-password.png?resize=300%2C188&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/xrdp-connect-to-raspberry-pi-username-password.png?resize=768%2C480&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 883px) 100vw, 883px\" \/><\/figure><\/div>\n\n\n<p>You might be prompted one more time for the authentication if you just powered your Raspberry Pi, so enter again your username and password.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"498\" height=\"261\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/raspberry-pi-authentication.png?resize=498%2C261&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Raspberry Pi Authentication username and password\" class=\"wp-image-146662\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/raspberry-pi-authentication.png?w=498&amp;quality=100&amp;strip=all&amp;ssl=1 498w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/raspberry-pi-authentication.png?resize=300%2C157&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 498px) 100vw, 498px\" \/><\/figure><\/div>\n\n\n<p>That&#8217;s it! You can now control your Raspberry Pi desktop computer remotely from a Windows PC.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"640\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/raspberry-pi-ip-address-rdp-establish-remote-desktop-connection.jpg?resize=1200%2C640&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Raspberry Pi IP Address RDP Establish Remote Desktop Connection\" class=\"wp-image-146663\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/raspberry-pi-ip-address-rdp-establish-remote-desktop-connection.jpg?w=1280&amp;quality=100&amp;strip=all&amp;ssl=1 1280w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/raspberry-pi-ip-address-rdp-establish-remote-desktop-connection.jpg?resize=300%2C160&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/raspberry-pi-ip-address-rdp-establish-remote-desktop-connection.jpg?resize=1024%2C546&amp;quality=100&amp;strip=all&amp;ssl=1 1024w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/raspberry-pi-ip-address-rdp-establish-remote-desktop-connection.jpg?resize=768%2C410&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">Wrapping Up<\/h2>\n\n\n\n<p>In this tutorial, you learned a very convenient, practical, and easy way to establish a remote connection with your Raspberry Pi using xrdp. This is our favorite method to access the Raspberry Pi desktop because you don\u2019t have to connect an additional screen, keyboard, and mouse. You can also use <a href=\"https:\/\/randomnerdtutorials.com\/raspberry-pi-remote-desktop-connection-rdp-mac-os\/\">RDP on a Mac OS computer<\/a>.<\/p>\n\n\n\n<p>We hope you found this tutorial useful. You can check all our Raspberry Pi projects on the following link:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/randomnerdtutorials.com\/projects-raspberry-pi\/\">Free Raspberry Pi Projects and Tutorials<\/a><\/li>\n<\/ul>\n\n\n\n<p>Thanks for reading.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This guide shows how to set up a Remote Desktop Connection with a Raspberry Pi using RDP on a Windows PC. The Remote Desktop Protocol (RDP) is the proprietary network &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Raspberry Pi: Set Up Remote Desktop Connection (RDP) &#8211; Windows PC\" class=\"read-more button\" href=\"https:\/\/randomnerdtutorials.com\/raspberry-pi-remote-desktop-connection-rdp-windows\/#more-146653\" aria-label=\"Read more about Raspberry Pi: Set Up Remote Desktop Connection (RDP) &#8211; Windows PC\">CONTINUE READING \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":146689,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[301,264,190,268],"tags":[],"class_list":["post-146653","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-0-raspberrypi","category-project","category-raspberry-pi","category-raspberry-pi-project"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/01\/Raspberry-Pi-Remote-Desktop-Windows.jpg?fit=1280%2C720&quality=100&strip=all&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/146653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/comments?post=146653"}],"version-history":[{"count":9,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/146653\/revisions"}],"predecessor-version":[{"id":147508,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/146653\/revisions\/147508"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media\/146689"}],"wp:attachment":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media?parent=146653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/categories?post=146653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/tags?post=146653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}