{"id":307,"date":"2016-03-18T22:05:59","date_gmt":"2016-03-18T20:05:59","guid":{"rendered":"https:\/\/www.datenreise.de\/en\/?p=307"},"modified":"2018-03-24T22:06:55","modified_gmt":"2018-03-24T20:06:55","slug":"raspberry-pi-install-remote-desktop-xrdp","status":"publish","type":"post","link":"https:\/\/www.datenreise.de\/en\/raspberry-pi-install-remote-desktop-xrdp\/","title":{"rendered":"Raspberry Pi &#8211; Install Remote Desktop (XRDP)"},"content":{"rendered":"<p>To manage the Raspberry Pi over the network, it is also possible to access it remotely via remote desktop in addition to SSH and VNC. Microsoft&#8217;s Remote Desktop Protocol (RDP) enables the transmission and control of screen content over the network. This is particularly useful for Windows users, since Windows already has the appropriate client (Microsoft Terminal Services Client). In the following article I show step-by-step how to set up Remote Desktop on the Raspberry Pi and then access it using Windows\/Mac\/iPhone\/Android.<\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h4><strong>Difficulty level:<\/strong> <span style=\"color: #4f70c5;\"><i class=\"icon-wrench\"><\/i><\/span><span style=\"color: #cccccc;\"><i class=\"icon-wrench\"><\/i><i class=\"icon-wrench\"><\/i><i class=\"icon-wrench\"><\/i><\/span><\/h4>\n<hr \/>\n<p>&nbsp;<\/p>\n<h4><strong>Schritt 1:<\/strong> Activate Boot to Desktop<\/h4>\n<p>First, the Raspberry Pi must be configured to start the (graphical) desktop after booting. This can be configured with a few clicks via raspi-config:<\/p>\n<pre>$ sudo raspi-config<\/pre>\n<p>Select the entry <em>&raquo;3 Enable Boot to Desktop\/Scratch&laquo;<\/em> and then confirm <em>&raquo;Desktop Log in as user &#8216;pi&#8217; at the graphical desktop&laquo;<\/em>.<\/p>\n<p><a href=\"https:\/\/www.datenreise.de\/wp-content\/uploads\/2016\/03\/raspi-config_enable-boot-desktop.jpg\" rel=\"attachment wp-att-3758\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.datenreise.de\/wp-content\/uploads\/2016\/03\/raspi-config_enable-boot-desktop-636x310.jpg\" alt=\"raspi-config_enable-boot-desktop\" width=\"636\" height=\"310\" class=\"aligncenter size-single-thumbnail wp-image-3758\" \/><\/a><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<h4><strong>Step 2:<\/strong> Install XRDP Server<\/h4>\n<div class=\"hint\">\n<p><span style=\"color: #4f70c5;\"><i class=\"icon-exclamation-sign\"><\/i> <strong>NOTE &#8211; Raspberry Pi with PIXEL desktop<\/strong><\/span><\/p>\n<p style=\"color: #4f70c5;\">Unfortunately, XRDP does not work with the new Raspbian Image right away. The integrated RealVNC Server and XRDP are in conflict and cannot be used together. To resolve this conflict, RealVNC must be uninstalled before installing XRDP:<\/p>\n<pre>$ sudo apt-get purge realvnc-vnc-server<\/pre>\n<\/div>\n<p>&nbsp;<\/p>\n<p>After boot to Desktop has been activated, the actual installation of the Remote Desktop Server follows. Under Linux, XRDP is a free implementation of the Remote Desktop Protocol. We can install these directly using the package manager APT. When the installation is complete, the XRDP daemon starts automatically.<\/p>\n<pre>$ sudo apt-get install xrdp<\/pre>\n<p>The basic installation is already done. In the future, the XRDP server will be started automatically in the background when the system is started.<\/p>\n<p>If necessary, the XRDP settings in the files <em>\/etc\/xrdp\/xrdp.ini<\/em> and <em>\/etc\/xrdp\/sesman.ini<\/em> can still be adjusted. However, this is not mandatory and may only be required in special applications. That&#8217;s why I&#8217;m not going to go into that.<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<h4><strong>Step 3:<\/strong> Reboot<\/h4>\n<p>A restart of the Raspberry Pi is recommended to complete the setup:<\/p>\n<pre>$ sudo reboot<\/pre>\n<hr \/>\n<p>&nbsp;<\/p>\n<h4><strong>Step 4:<\/strong> Remote Desktop Client<\/h4>\n<p>To be able to access the Raspberry Pi remotely, we need a corresponding remote desktop client software on the client.<\/p>\n<h5><i class=\"icon-circle-arrow-right\"><\/i> Windows<\/h5>\n<p>As already mentioned in the introduction, Windows comes with a suitable client. You can find it under:<br \/>\n<em><strong>All Programs -> Accessories -> Remote Desktop Connection<\/strong><\/em><\/p>\n<h5><i class=\"icon-circle-arrow-right\"><\/i> Mac OS X<\/h5>\n<p>If you have installed MS Office for Mac, you will find the Microsoft Client at &#8220;Applications \u2192 Remote Desktop Connection&#8221;. Otherwise it can be downloaded via <a href=\"https:\/\/itunes.apple.com\/de\/app\/microsoft-remote-desktop\/id715768417?mt=12\" target=\"_blank\" rel=\"nofollow\">iTunes &#8211; Microsoft Remote Desktop<\/a>.<\/p>\n<h5><i class=\"icon-circle-arrow-right\"><\/i> Other<\/h5>\n<p>For other operating systems the following clients are available:<\/p>\n<div class=\"hint\">\nLinux: <a href=\"http:\/\/www.rdesktop.org\/\" target=\"_blank\" rel=\"nofollow\">RDesktop<\/a><br \/>\nAndroid: <a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.microsoft.rdc.android&#038;hl=de\" target=\"_blank\" rel=\"nofollow\">Microsoft Remote Desktop<\/a><br \/>\nApple iOS: <a href=\"https:\/\/itunes.apple.com\/de\/app\/microsoft-remotedesktop\/id714464092?mt=8\" target=\"_blank\" rel=\"nofollow\">Microsoft Remotedesktop<\/a>\n<\/div>\n<p>&nbsp;<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<h4><strong>Step 5:<\/strong> Establishing a Remote Desktop Connection<\/h4>\n<p>To establish a remote desktop connection with the Raspberry Pi, we must first specify its IP address.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.datenreise.de\/wp-content\/uploads\/2016\/03\/remote-dektop_verbindung.jpg\" alt=\"remote-dektop_verbindung\" width=\"407\" height=\"253\" class=\"aligncenter size-full wp-image-3773\" \/><\/p>\n<p>After we click on Connect, we get a login screen from the XRDP server of our Raspberry Pi. The access data are identical to those for SSH. If the user or password has not been changed under Raspbian, the default user is <em><strong>pi<\/strong><\/em> and the password is <em><strong>raspberry<\/strong><\/em>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.datenreise.de\/wp-content\/uploads\/2016\/03\/xrdp_anmeldung.jpg\" alt=\"xrdp_anmeldung\" width=\"426\" height=\"229\" class=\"aligncenter size-full wp-image-3775\" \/><\/p>\n<p>After successful registration we can already see the desktop of the Raspberry Pi after a few seconds and operate it with mouse and keyboard.<\/p>\n<div class=\"supportbox\"><p class=\"supporticon\"><i class=\"icon-heart-empty icon-3x\"><\/i><\/p><p class=\"supporttext\"><strong>My recommendations were helpful?<\/strong><br \/> Then just say &quot;thank you&quot; with a coffee!<\/p><p><a href=\"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=6JPY2XDV9QYLA\" target=\"_blank\" class=\"supportbtn\" target=\"_blank\" rel=\"nofollow\"><span class=\"btntext\">Buy me a coffee<\/span><\/a><\/p><\/div>\n<hr \/>\n<span id=\"post-ratings-307\" class=\"post-ratings\" data-nonce=\"d8b6871a66\"><p><strong>Rate this Post:<\/strong><br \/>\r\n<img decoding=\"async\" id=\"rating_307_1\" src=\"https:\/\/www.datenreise.de\/en\/wp-content\/plugins\/wp-postratings\/images\/stars\/rating_on.gif\" alt=\"1 Star\" title=\"1 Star\" onmouseover=\"current_rating(307, 1, '1 Star');\" onmouseout=\"ratings_off(4.5, 5, 0);\" onclick=\"rate_post();\" onkeypress=\"rate_post();\" style=\"cursor: pointer; border: 0px;\" \/><img decoding=\"async\" id=\"rating_307_2\" src=\"https:\/\/www.datenreise.de\/en\/wp-content\/plugins\/wp-postratings\/images\/stars\/rating_on.gif\" alt=\"2 Stars\" title=\"2 Stars\" onmouseover=\"current_rating(307, 2, '2 Stars');\" onmouseout=\"ratings_off(4.5, 5, 0);\" onclick=\"rate_post();\" onkeypress=\"rate_post();\" style=\"cursor: pointer; border: 0px;\" \/><img decoding=\"async\" id=\"rating_307_3\" src=\"https:\/\/www.datenreise.de\/en\/wp-content\/plugins\/wp-postratings\/images\/stars\/rating_on.gif\" alt=\"3 Stars\" title=\"3 Stars\" onmouseover=\"current_rating(307, 3, '3 Stars');\" onmouseout=\"ratings_off(4.5, 5, 0);\" onclick=\"rate_post();\" onkeypress=\"rate_post();\" style=\"cursor: pointer; border: 0px;\" \/><img decoding=\"async\" id=\"rating_307_4\" src=\"https:\/\/www.datenreise.de\/en\/wp-content\/plugins\/wp-postratings\/images\/stars\/rating_on.gif\" alt=\"4 Stars\" title=\"4 Stars\" onmouseover=\"current_rating(307, 4, '4 Stars');\" onmouseout=\"ratings_off(4.5, 5, 0);\" onclick=\"rate_post();\" onkeypress=\"rate_post();\" style=\"cursor: pointer; border: 0px;\" \/><img decoding=\"async\" id=\"rating_307_5\" src=\"https:\/\/www.datenreise.de\/en\/wp-content\/plugins\/wp-postratings\/images\/stars\/rating_half.gif\" alt=\"5 Stars\" title=\"5 Stars\" onmouseover=\"current_rating(307, 5, '5 Stars');\" onmouseout=\"ratings_off(4.5, 5, 0);\" onclick=\"rate_post();\" onkeypress=\"rate_post();\" style=\"cursor: pointer; border: 0px;\" \/><br \/>\r\n<span style=\"color:#999\">4.45\/5 (11 votes)<\/span>\r\n<\/p>\r\n<span class=\"hreview-aggregate\">\r\n  <span class=\"item\">\r\n    <span class=\"fn\">Raspberry Pi &#8211; Install Remote Desktop (XRDP)<\/span>, \r\n  <\/span>\r\n  <span class=\"rating\">\r\n    <span class=\"average\">4.45<\/span> out of\r\n    <span class=\"best\">5<\/span> based on <span class=\"votes\">11<\/span> ratings\r\n  <\/span>\r\n<\/span><\/span><span id=\"post-ratings-307-loading\" class=\"post-ratings-loading\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.datenreise.de\/en\/wp-content\/plugins\/wp-postratings\/images\/loading.gif\" width=\"16\" height=\"16\" class=\"post-ratings-image\" \/>Loading...<\/span>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To manage the Raspberry Pi over the network, it is also possible to access it remotely via remote desktop in addition to SSH and VNC. Microsoft&#8217;s Remote Desktop Protocol (RDP) enables the transmission and control of screen content over the&#8230;<\/p>\n","protected":false},"author":1,"featured_media":314,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41,40],"tags":[139,135,7,49,15,44,48,137,136,138,126,140,141],"class_list":["post-307","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-raspberry-pi","tag-connection","tag-desktop","tag-howto","tag-linux","tag-manual","tag-raspberry-pi","tag-raspbian","tag-rdp","tag-remote-control","tag-remote-desktop","tag-server","tag-windows","tag-xrdp"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.datenreise.de\/en\/wp-json\/wp\/v2\/posts\/307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.datenreise.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.datenreise.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.datenreise.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.datenreise.de\/en\/wp-json\/wp\/v2\/comments?post=307"}],"version-history":[{"count":7,"href":"https:\/\/www.datenreise.de\/en\/wp-json\/wp\/v2\/posts\/307\/revisions"}],"predecessor-version":[{"id":315,"href":"https:\/\/www.datenreise.de\/en\/wp-json\/wp\/v2\/posts\/307\/revisions\/315"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.datenreise.de\/en\/wp-json\/wp\/v2\/media\/314"}],"wp:attachment":[{"href":"https:\/\/www.datenreise.de\/en\/wp-json\/wp\/v2\/media?parent=307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.datenreise.de\/en\/wp-json\/wp\/v2\/categories?post=307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.datenreise.de\/en\/wp-json\/wp\/v2\/tags?post=307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}