{"id":23402,"date":"2023-12-31T19:10:43","date_gmt":"2023-12-31T19:10:43","guid":{"rendered":"https:\/\/linuxways.net\/?p=23402"},"modified":"2023-12-31T19:12:25","modified_gmt":"2023-12-31T19:12:25","slug":"install-use-xrdp-server-on-debian-12","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/debian\/install-use-xrdp-server-on-debian-12\/","title":{"rendered":"How to Install and Use XRDP Server On Debian 12"},"content":{"rendered":"<p>Connecting to any of the systems remotely and carrying out necessary tasks on that system can be pretty helpful when it comes to either system monitoring or fixing any bug in the system. Microsoft has developed a remote desktop protocol that is preinstalled on the Windows operating system. However, now operating systems other than Windows like Debian can also be accessed remotely using XRDP which is a similar implementation of Windows remote desktop protocol.<\/p>\n<h3><strong>Outline: <\/strong><\/h3>\n<ul>\n<li><a href=\"#post-23402-r7ecnu38ev1t\"><strong>Install XRDP Server<\/strong><\/a><\/li>\n<li><a href=\"#post-23402-eb58rashm3fc\"><strong>Configure XRDP <\/strong><\/a><\/li>\n<li><a href=\"#post-23402-lnywyumvw92h\"><strong>Accessing Debian 12 Remotely <\/strong><\/a><\/li>\n<li><a href=\"#post-23402-4nn318ujxu8i\"><strong>Connecting any System Remotely<\/strong><\/a><\/li>\n<li><a href=\"#post-23402-9ems483w45hn\"><strong>Removing XRDP<\/strong><\/a><\/li>\n<li><a href=\"#post-23402-ki0egihz84th\"><strong>Conclusion<\/strong><\/a><\/li>\n<\/ul>\n<h2><a id=\"post-23402-r7ecnu38ev1t\"><\/a><strong>How to Install XRDP Server On Debian 12<\/strong><\/h2>\n<p>XRDP is an open-source tool that is designed for connecting the Windows operating system with Linux systems. To install XRDP on Debian there are a number are steps to be followed which include installing some prerequisites and configurations steps:<\/p>\n<h3><strong>Step 1: Installing XFCE on Debian 12<\/strong><\/h3>\n<p>To make Debian run smoothly when accessed remotely it is advisable to install a comparatively lightweight and customizable desktop environment as it will run more efficiently and will require fewer resources. So, to install XRDP on Debian 12 I have installed XFCE and some other utilities by executing:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt <span class=\"kw2\">install<\/span> xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utils <span class=\"re5\">-y<\/span><\/div><\/div>\n<p>Here, in the above command, <em>xfce4<\/em> is the main package for the XFCE desktop environment. The<\/p>\n<p><em>xfce4-goodies <\/em>is a package that contains some extra plugins and themes for XFCE, such as a weather applet, a CPU monitor, and a dark theme. The <em>xorg<\/em> is the package that provides the X Window System, which is the graphical interface for Linux systems and <em>dbus-x11<\/em> is a package that provides the D-Bus message bus system, which is used for communication between applications and the desktop environment. The <em>x11-xserver-utils<\/em> is a package that contains some utilities for the X server, such as xrandr, xset, and xprop.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"794\" height=\"345\" class=\"wp-image-23420\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-1.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-1.png 794w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-1-300x130.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-1-768x334.png 768w\" sizes=\"auto, (max-width: 794px) 100vw, 794px\" \/><\/p>\n<h3><strong>Step 2: Install XDRP<\/strong><\/h3>\n<p>Once you have installed the XFCE environment reboot the system and afterward install the XRDP using the default package manager by executing:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt <span class=\"kw2\">install<\/span> xrdp <span class=\"re5\">-y<\/span><\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"784\" height=\"357\" class=\"wp-image-23430\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-2.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-2.png 784w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-2-300x137.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-2-768x350.png 768w\" sizes=\"auto, (max-width: 784px) 100vw, 784px\" \/><\/p>\n<p>Once the remote desktop protocol is installed check its service status to confirm if it is active and for that execute:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> systemctl status xrdp<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"787\" height=\"370\" class=\"wp-image-23442\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-3.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-3.png 787w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-3-300x141.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-3-768x361.png 768w\" sizes=\"auto, (max-width: 787px) 100vw, 787px\" \/><\/p>\n<p>If by any means it is not up and running then first enable it and then start it by executing the following commands:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">systemctl <span class=\"kw3\">enable<\/span> xrdp<br \/>\n<br \/>\nsystemctl start xrdp<\/div><\/div>\n<h3><strong>Step 3: Create XRDP User<\/strong><\/h3>\n<p>The ssl-cert is a group that is responsible for protecting the secure socket layers as these keys are used to establish communication between the client and the server. So, it is necessary to add XRDP to this ssl-cert group and for that just execute:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> adduser xrdp ssl-cert<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"779\" height=\"233\" class=\"wp-image-23450\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-4.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-4.png 779w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-4-300x90.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-4-768x230.png 768w\" sizes=\"auto, (max-width: 779px) 100vw, 779px\" \/><\/p>\n<p>Once the user is added successfully, now restart the remote desktop protocol to apply the changes and for the <em>systemtcl restart<\/em> command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> systemctl restart xrdp<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"781\" height=\"228\" class=\"wp-image-23458\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-5.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-5.png 781w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-5-300x88.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-5-768x224.png 768w\" sizes=\"auto, (max-width: 781px) 100vw, 781px\" \/><\/p>\n<h2><a id=\"post-23402-eb58rashm3fc\"><\/a><strong>Configuring XRDP on Debian 12 <\/strong><\/h2>\n<p>Now to activate XFCE environment upon receiving a remote desktop connection is necessary to disable the X session that is the default. So, for that open up the starttwm.sh file and comment these two lines of code given below:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw3\">test<\/span> <span class=\"re5\">-x<\/span> <span class=\"sy0\">\/<\/span>etc<span class=\"sy0\">\/<\/span>X11<span class=\"sy0\">\/<\/span>Xsession <span class=\"sy0\">&amp;&amp;<\/span> <span class=\"kw3\">exec<\/span> <span class=\"sy0\">\/<\/span>etc<span class=\"sy0\">\/<\/span>X11<span class=\"sy0\">\/<\/span>Xsession<br \/>\n<br \/>\n<span class=\"sy0\">&lt;<\/span>strong<span class=\"sy0\">&gt;<\/span><span class=\"kw3\">exec<\/span> <span class=\"sy0\">\/<\/span>bin<span class=\"sy0\">\/<\/span><span class=\"kw2\">sh<\/span> <span class=\"sy0\">\/<\/span>etc<span class=\"sy0\">\/<\/span>X11<span class=\"sy0\">\/<\/span>Xsession<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"775\" height=\"582\" class=\"wp-image-23467\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-6.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-6.png 775w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-6-300x225.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-6-768x577.png 768w\" sizes=\"auto, (max-width: 775px) 100vw, 775px\" \/><\/strong><\/p>\n<p>Once you have commented the desired line of code then add the command for starting the XFCE environment:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">startxfce4<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"757\" height=\"576\" class=\"wp-image-23472\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-7.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-7.png 757w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-7-300x228.png 300w\" sizes=\"auto, (max-width: 757px) 100vw, 757px\" \/><\/p>\n<p>After you are done with changes then just save the file and close it, afterward restart the XRDP to apply the changes using the restart command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> systemctl restart xrdp<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"756\" height=\"222\" class=\"wp-image-23476\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-8.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-8.png 756w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-8-300x88.png 300w\" sizes=\"auto, (max-width: 756px) 100vw, 756px\" \/><\/p>\n<p>The 3389 is the default port through which the remote desktop protocol can communicate between the client and other devices, allowing it through the firewall means that the client can interact with any remote server. So, to allow it through the firewall you must have first installed it:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> ufw allow <span class=\"nu0\">3389<\/span><span class=\"sy0\">\/<\/span>tcp<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"782\" height=\"493\" class=\"wp-image-23481\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-9.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-9.png 782w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-9-300x189.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-9-768x484.png 768w\" sizes=\"auto, (max-width: 782px) 100vw, 782px\" \/><\/p>\n<p>Once you have added the port in the firewall check the status of the firewall and if the rule is not present then just reload the firewall to apply the changes by executing:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> ufw reload<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"782\" height=\"215\" class=\"wp-image-23486\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-10.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-10.png 782w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-10-300x82.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-10-768x211.png 768w\" sizes=\"auto, (max-width: 782px) 100vw, 782px\" \/><\/p>\n<h2><a id=\"post-23402-lnywyumvw92h\"><\/a><strong>Accessing Debian 12 Remotely From Windows <\/strong><\/h2>\n<p>Once you are completed with installing and configuring the XRDP now it is time to access the Debian system remotely from the Windows operations system. There are two ways to gain access to the Debian system remotely.<\/p>\n<h3><strong>Access Debian 12 From Windows using XRDP<\/strong><\/h3>\n<p>From the Windows system open up the RDP enter the IP address or computer name along with the username and click on Connect:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"949\" height=\"547\" class=\"wp-image-23502\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-11.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-11.png 949w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-11-300x173.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-11-768x443.png 768w\" sizes=\"auto, (max-width: 949px) 100vw, 949px\" \/><\/p>\n<p>Once you click on connect the XRDP window will open and then just enter the password of the account that is used for its login and then click on connect:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"952\" height=\"507\" class=\"wp-image-23505\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-12.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-12.png 952w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-12-300x160.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-12-768x409.png 768w\" sizes=\"auto, (max-width: 952px) 100vw, 952px\" \/><\/p>\n<p>After the credential verification and establishment of the connection between the host and the target system, a window will open displaying the desktop of Debian 12:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1180\" height=\"632\" class=\"wp-image-23512\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-13.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-13.png 1180w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-13-300x161.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-13-1024x548.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-13-768x411.png 768w\" sizes=\"auto, (max-width: 1180px) 100vw, 1180px\" \/><\/p>\n<h3><strong>Alternative Method <\/strong><\/h3>\n<p>Another way to access Debian 12 remotely is by turning on the remote Desktop feature in Debian 12, you can use this method if you are unable to remotely access Debian 12 using XRDP. Usually, if the remote desktop is not enabled by default and while connecting, you may get errors like this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"749\" height=\"537\" class=\"wp-image-23517\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-14.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-14.png 749w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-14-300x215.png 300w\" sizes=\"auto, (max-width: 749px) 100vw, 749px\" \/><\/p>\n<p>As in the image above the first reason states that remote access is not enabled on the computer that is being accessed so in that case it means that remote access is not enabled. For that navigate to Debian 12 settings and from there go to settings related to sharing and click on <strong>Remote Desktop<\/strong>:<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"845\" height=\"602\" class=\"wp-image-23519\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-15.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-15.png 845w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-15-300x214.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-15-768x547.png 768w\" sizes=\"auto, (max-width: 845px) 100vw, 845px\" \/><\/p>\n<p>Once you are in remote desktop settings, turn it on and afterward note down the username and the password that is given to access the system remotely:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"924\" height=\"717\" class=\"wp-image-23520\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-16.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-16.png 924w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-16-300x233.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-16-768x596.png 768w\" sizes=\"auto, (max-width: 924px) 100vw, 924px\" \/><\/p>\n<p>Now after you have entered the computer name and the username you will get this pop-up once you click on the connect option in the Windows remote desktop application, here just enter the same password that was given in Debian sharing settings and click ok:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"851\" height=\"546\" class=\"wp-image-23524\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-17.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-17.png 851w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-17-300x192.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-17-768x493.png 768w\" sizes=\"auto, (max-width: 851px) 100vw, 851px\" \/><\/p>\n<p>Once the connection is successful, you will have remote access to Debian 12:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1143\" height=\"640\" class=\"wp-image-23526\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-18.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-18.png 1143w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-18-300x168.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-18-1024x573.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-18-768x430.png 768w\" sizes=\"auto, (max-width: 1143px) 100vw, 1143px\" \/><\/p>\n<p>Accessing Debian 12 on Windows can make your system a little bit laggy so in that case you can make some tweaks by clicking on the display tab on the Remote Desktop Connection application. From here you can choose the size of the display along with the color quality.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"920\" height=\"542\" class=\"wp-image-23532\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-19.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-19.png 920w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-19-300x177.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-19-768x452.png 768w\" sizes=\"auto, (max-width: 920px) 100vw, 920px\" \/><\/p>\n<h2><a id=\"post-23402-4nn318ujxu8i\"><\/a><strong>Connecting any System Remotely Using XRDP on Debian 12<\/strong><\/h2>\n<p>Using the XRDP cannot only be used to access the Linux system, but it can also be used to access any other system from Debian. So, in that case you will need a remote desktop viewer along with XRDP, the remote desktop viewer is not installed by default, but you can install it from a software application in Debian 12. To remotely connect to another computer, you first need to know about the host\u2019s internet protocol address so for that execute:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">ip<\/span> a<\/div><\/div>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"764\" height=\"587\" class=\"wp-image-23534\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-20.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-20.png 764w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-20-300x230.png 300w\" sizes=\"auto, (max-width: 764px) 100vw, 764px\" \/><\/strong><\/p>\n<p>Once you have got the Debian IP address launch the Remote Desktop Viewer from the applications menu:<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"1081\" height=\"520\" class=\"wp-image-23535\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-21.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-21.png 1081w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-21-300x144.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-21-1024x493.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-21-768x369.png 768w\" sizes=\"auto, (max-width: 1081px) 100vw, 1081px\" \/><\/strong><\/p>\n<p>Now just click on connect and then first select the protocol that will be RDP and then enter the IP address of the host. Afterward, enter the username of the system that you want to access adjust the dimensions of the screen, and click on Connect:<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"743\" height=\"611\" class=\"wp-image-23536\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-22.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-22.png 743w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-22-300x247.png 300w\" sizes=\"auto, (max-width: 743px) 100vw, 743px\" \/><\/strong><\/p>\n<p>Now just click on Connect on the prompt about the certificate verification to continue the process of accessing the computer remotely:<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"853\" height=\"592\" class=\"wp-image-23537\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-23.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-23.png 853w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-23-300x208.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-23-768x533.png 768w\" sizes=\"auto, (max-width: 853px) 100vw, 853px\" \/><\/strong><\/p>\n<p>Now the XRDP window will open, just enter the username and password of the computer you want to access remotely and then click on connect:<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"951\" height=\"743\" class=\"wp-image-23538\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-24.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-24.png 951w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-24-300x234.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-24-768x600.png 768w\" sizes=\"auto, (max-width: 951px) 100vw, 951px\" \/><\/strong><\/p>\n<h2><a id=\"post-23402-9ems483w45hn\"><\/a><strong>Removing XRDP from Debian 12 <\/strong><\/h2>\n<p>To remove XRDP completely from Debian 12 then execute:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt remove <span class=\"re5\">--autoemove<\/span> xrdp <span class=\"re5\">-y<\/span><\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"756\" height=\"363\" class=\"wp-image-23540\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-25.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-25.png 756w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/12\/word-image-23402-25-300x144.png 300w\" sizes=\"auto, (max-width: 756px) 100vw, 756px\" \/><\/p>\n<h2><a id=\"post-23402-ki0egihz84th\"><\/a><strong>Conclusion <\/strong><\/h2>\n<p>To install XRDP on Debian 12 first install a lightweight and efficient desktop environment and then use the advanced packaging tool to install XRDP. Afterward, configure XRDP in Debian by allowing access to 3389 port from the firewall and then use the remote desktop viewer to access any other system remotely. To access your system remotely from Windows, open up the Remote Desktop Connection application installed on it, and from there enter the login details of your Debian system in XRDP window after entering your IP address.<\/p>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>To install XRDP on Debian 12 first install a lightweight and efficient desktop environment and then use the advanced packaging tool to install XRDP<\/p>","protected":false},"author":110,"featured_media":23545,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-23402","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/23402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/110"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=23402"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/23402\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/23545"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=23402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=23402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=23402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}