Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
deb13:xrdp [2026/07/11 22:30] – [XRDP] Bernard Condraudeb13:xrdp [2026/07/11 22:49] (current) – [Windows 11 Client] Bernard Condrau
Line 1: Line 1:
 ====== XRDP ====== ====== XRDP ======
 +===== Debian Host =====
   * Step 1: Install Xfce4 and xRDPFirst, open your terminal and install the desktop environment and xRDP packages (these examples use Debian/Ubuntu-based distributions):<code>sudo apt update   * Step 1: Install Xfce4 and xRDPFirst, open your terminal and install the desktop environment and xRDP packages (these examples use Debian/Ubuntu-based distributions):<code>sudo apt update
 sudo apt install xfce4 xfce4-goodies xrdp -y</code> sudo apt install xfce4 xfce4-goodies xrdp -y</code>
Line 10: Line 11:
 exit 0</code> exit 0</code>
   * Step 4: Add the xRDP User to the SSL Cert Group.  On some systems (like newer Debian versions), the xrdp user needs permission to read the SSL certificates, otherwise, you might experience black screen issues:<code>sudo adduser xrdp ssl-cert</code>   * Step 4: Add the xRDP User to the SSL Cert Group.  On some systems (like newer Debian versions), the xrdp user needs permission to read the SSL certificates, otherwise, you might experience black screen issues:<code>sudo adduser xrdp ssl-cert</code>
-  * Step 5: Restart the Service and Open the Firewall. Restart the xRDP service to apply all configuration changes:<code>sudo systemctl restart xrdp</code> +  * Step 5: Enable the Service:<code>sudo systemctl enable xrdp 
-  * If you are using a firewall (such as ufw), make sure to open the RDP port so your remote device can connect:<code>sudo ufw allow 3389</code> +sudo ufw allow 3389</code> 
-  * Step 6: You can now open the Remote Desktop Connection app on Windows or the Microsoft Remote Desktop app on Linux. Enter your Linux computer's IP address and log in using your standard Linux username and password.+  * Step 6: Restart the Service and open the Firewall. Restart the xRDP service to apply all configuration changes:<code>sudo systemctl restart xrdp 
 +sudo ufw allow 3389</code> 
 +  * Step 7: You can now open the Remote Desktop Connection app on Windows or the Microsoft Remote Desktop app on Linux. Enter your Linux computer's IP address and log in using your standard Linux username and password.
  
 +===== Windows 11 Client =====
 +  * Open the built-in //Remote Desktop Connection//
 +  * Disable Persistent Bitmap Caching?
 +    * Click //Show Options// at the bottom
 +    * Switch to the //Experience// tab
 +    * Uncheck the box for //Persistent bitmap caching// and try logging in
 +  * Log Out of the Local Machine. If you are logged into the physical Debian machine (or a local VM console) with the same user account, the remote RDP session will fail instantly. Go to the physical monitor/console of your Debian host and completely Log Out of the desktop session.
 +  * Create a SSH tunnel with a different port than 3389 on the client and port 3389 on the host
 ===== Self-signed certificates ===== ===== Self-signed certificates =====