This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| deb13:xrdp [2026/07/11 22:29] – [XRDP] Bernard Condrau | deb13: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/ | * Step 1: Install Xfce4 and xRDPFirst, open your terminal and install the desktop environment and xRDP packages (these examples use Debian/ | ||
| sudo apt install xfce4 xfce4-goodies xrdp -y</ | sudo apt install xfce4 xfce4-goodies xrdp -y</ | ||
| - | * Step 2: Configure the Desktop Session. You need to tell the xRDP server to load the Xfce desktop environment instead of the default Linux desktop. Set Xfce4 as the default for your active user by running:< | + | * Step 2: Configure the Desktop Session. You need to tell the xRDP server to load the Xfce desktop environment instead of the default Linux desktop. Set Xfce4 as the default for your active user, then make the file executable:< |
| - | * Make the file executable:< | + | chmod +x ~/ |
| * Step 3: Edit the xRDP Startup ScriptTo prevent session dropouts, update the global xRDP configuration file:Open the file with your preferred text editor, comment out the last 2 lines and add as follows:< | * Step 3: Edit the xRDP Startup ScriptTo prevent session dropouts, update the global xRDP configuration file:Open the file with your preferred text editor, comment out the last 2 lines and add as follows:< | ||
| # test -x / | # test -x / | ||
| Line 9: | Line 10: | ||
| startxfce4 | startxfce4 | ||
| exit 0</ | exit 0</ | ||
| - | * Save and close the file. | ||
| * Step 4: Add the xRDP User to the SSL Cert Group. | * Step 4: Add the xRDP User to the SSL Cert Group. | ||
| - | * Step 5: Restart the Service and Open the Firewall. Restart the xRDP service to apply all configuration changes:< | + | * Step 5: Enable the Service:< |
| - | * If you are using a firewall (such as ufw), make sure to open the RDP port so your remote device can connect:< | + | sudo ufw allow 3389</ |
| - | * 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' | + | * Step 6: Restart the Service and open the Firewall. Restart the xRDP service to apply all configuration changes:< |
| + | sudo ufw allow 3389</ | ||
| + | * 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' | ||
| + | ===== Windows 11 Client ===== | ||
| + | * Open the built-in //Remote Desktop Connection// | ||
| + | * Disable Persistent Bitmap Caching? | ||
| + | * Click //Show Options// at the bottom | ||
| + | * Switch to the // | ||
| + | * Uncheck the box for // | ||
| + | * 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/ | ||
| + | * 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 ===== | ||