Reaching Windows 11 Home from Debian and Pop!_OS
user: I have a Windows 11 Home Edition workstation that I would like to access from my Linux laptops over a local network. One of the laptops if running Debian 13 and the other is POP!_OS. Since this MS Windows edition is Home Edition, using RDP is not an option. I would like your best alternative recommendations.
assistant: I’m checking the current host/client support and pulling together the options that actually make sense on a local network, not just generic remote-access lists. The main thing I’m verifying is which tools have solid Windows-host + Linux-client support right now, and whether they need internet or can stay LAN-only.
assistant: I’ve got the short list narrowed down. The real tradeoff is this: easiest setup versus best privacy/control versus best low-latency feel on a LAN.
assistant: Since the target machine is **Windows 11 Home**, it cannot act as a normal **Remote Desktop host**; Microsoft requires a **Pro edition on the PC being connected to**, while the connecting device can be Windows, Linux, or something else.
My best recommendations, in order:
**1. NoMachine — best overall for your case**
For a **Windows 11 Home workstation on a local network**, this is the one I’d lean toward first. NoMachine supports **Windows and Linux**, can connect **directly by IP address on LAN**, and is **free for personal use**. It is built for exactly this kind of desktop-to-desktop access and does not require you to lean on a cloud relay just to reach a machine sitting in the same house or office.
Why I rank it first: it usually gives a smoother “real desktop” feel than basic VNC-style setups, it is straightforward across **Windows host + Linux clients**, and it fits a **LAN-first** workflow cleanly. NoMachine also has LAN discovery, so machines on the same network can show up automatically.
**2. RustDesk — best if you want open-source and more control**
RustDesk is a strong second choice. It supports **Windows and Linux clients**, offers **self-hosting**, and can use **direct IP access** on a LAN when that is enabled. If you later want to avoid third-party infrastructure entirely, RustDesk gives you that path.
The reason I put it behind NoMachine for your exact setup is practical: RustDesk is excellent, but on a same-LAN setup it tends to be best when you deliberately configure **direct IP access** or self-hosting instead of just assuming the default path will be ideal. It is the better pick if your priority is **open source + self-hosted control**; it is not quite as “install both ends and go” as NoMachine for many people.
**3. Sunshine + Moonlight — best for maximum responsiveness on LAN**
If what you care about most is **very low latency**, fluid mouse movement, video playback, or a desktop that feels almost local, Sunshine on the Windows host w…
user: I forgot to mention that this MS Windows workstation has a dual monitor setup. So, I was curious if that makes a difference in choosing a solution.
assistant: I’m checking which of the contenders handle a dual-monitor Windows host cleanly, especially whether they let you switch monitors, view both, or pick one from Linux. That matters more than people think, because some tools are fine on a single screen and annoying on two.
assistant: The dual-monitor detail does matter. A good remote tool for you now needs to do one of these well: show both screens, let you switch screens cleanly, or let you lock onto just one screen without making the other a headache.
assistant: Yes. The dual-monitor setup does make a difference.
It does **not** change the Windows 11 Home limitation itself, but it **does** change which alternative is best, because some tools handle multiple remote displays much better than others.
For your case, I’d adjust the ranking like this:
**1. NoMachine — still my top pick, and dual monitors strengthen that choice**
NoMachine officially supports connecting to a remote computer with multiple monitors, lets you use a **Switch Monitor** button, lets you view **all monitors in one window**, and supports shortcuts to jump to a specific display. Its forum guidance also says you can use **fullscreen or multi-window fullscreen** to try to match client and server monitors, though mismatched monitor layouts/resolutions can make that less perfect.
**2. RealVNC — stronger contender if dual-monitor handling is a top priority**
RealVNC says that by default the viewer shows **all monitors** on the remote machine, and on desktop platforms you can switch to a **single monitor**. More importantly, RealVNC 7.10+ adds **Multi-Window mode**, where you can open a **separate viewer window for each remote monitor** and fullscreen them independently. That is a very clean fit for a dual-monitor Windows workstation.
**3. RustDesk — usable, but less polished for this specific need**
A recent RustDesk discussion describes the current behavior on a dual-monitor remote machine as offering **Display 1**, **Display 2**, or a merged **Display 1+2** view, but it generally enforces **one window per stream**. That means it can work, but it looks less refined for multi-monitor desktop use than NoMachine or RealVNC.
**4. Sunshine + Moonlight — great performance, but not my first office/workstation choice here**
Sunshine can be configured to stream a **specific display** using `output_name`, including on Windows, and it can support multiple clients, but all connected clients **share the same streaming session**. That makes it more of a stream…
user: Create a cool looking infographic for my blog about all this. Include the various logos of the software products you mentioned.
user: If I want to remote desktop to my Debian 13 laptop and view my Debian 13 laptop, while on my Windows 11 workstation, what is your suggestion?
assistant: I’m checking the important distinction here: whether you want to open a separate Debian session or actually see and control the same desktop that’s already on the laptop screen. That difference changes the best answer.
assistant: For **Windows 11 workstation → Debian 13 laptop**, my top suggestion is **NoMachine** if your goal is to **see and control the same Debian desktop that’s already running on the laptop**. NoMachine supports both Windows and Linux, is free for personal use, and its Linux free edition is built around access to the **physical display** rather than only a separate remote session.
My **second choice** is **RustDesk**. I would pick it if you want an **open-source** option or think you may later want to **self-host** your own relay/server. RustDesk supports Windows and Linux clients, and its docs include **direct IP access**, which is useful on a local network.
If you specifically want to use the **built-in Microsoft Remote Desktop Connection app on Windows**, then **xrdp on Debian** is the cleanest RDP-style route. xrdp is an open-source **RDP server** and explicitly supports Microsoft’s Windows RDP clients like `mstsc.exe`, so from the Windows side it feels very natural.
But here is the catch: **xrdp is usually best for opening a separate Linux remote session, not for viewing the exact already-active laptop screen**. The xrdp project issues show that resuming or sharing the **existing local session** is not the normal strength of xrdp, and people often end up using a VNC-backed approach when they specifically want the current physical desktop.
So my blunt recommendation is this:
**Use NoMachine** if you want:
- the **same Debian desktop**
- easy cross-platform setup
- good general performance
**Use RustDesk** if you want:
- **open source**
- LAN/direct-IP use
- a path to self-hosting later
**Use xrdp** only if:
- you want to use the **Windows Remote Desktop client**
- and you are fine with a **separate remote session** instead of mirroring the current one.
For your workflow, I would start with **NoMachine on the Debian laptop and NoMachine Player on the Windows 11 workstation**. That is the most likely to feel like “I am looking at my Debian laptop from Windows,” …
user: which is safer? security wise, as my Debian 13 laptop holds the keys of my lively-hood, so letting Windows even touch the Debian 13 laptop, is something I normally would not want to do. but I have to, because it's affecting my productivity.
assistant: I’m checking the actual security model of the leading options instead of guessing. The answer here is less about “which brand is safest” and more about which setup gives your Windows box the least power over the Debian laptop.
assistant: Security-wise, I would **not** let the Windows box into your **real Debian account** at all.
The safest workable setup is this:
**Use a separate, low-privilege Debian account just for remote access from Windows, and connect to that account with X2Go over SSH.** X2Go uses **SSH** for authentication and transport, supports **SSH-key authentication**, and gives each client its own **individual desktop session by default** rather than forcing you into the live physical desktop. It also supports **published/single-application mode**, which lets you expose only one app instead of a whole desktop.
That is my real answer, not a hedge:
**X2Go + separate remote-only user** is the safest balance of security and productivity for your case.
Why I’m steering you there:
If the Windows workstation is ever compromised, any remote-control tool that opens your **main Debian session** effectively gives that attacker your keyboard, mouse, screen, and whatever that logged-in session can reach. A **separate account** shrinks the blast radius. That part is architecture, not branding.
My ranking for your situation:
**1. X2Go to a dedicated remote-only Debian user**
Best security posture. X2Go rides on SSH, supports SSH keys, and defaults to separate desktop sessions. It can also be limited to a single application instead of a full desktop.
**2. xrdp to a dedicated remote-only Debian user**
Good second choice if you want to use the built-in **Windows Remote Desktop** client. xrdp is an open-source **RDP server**, works with Microsoft’s RDP client, and its RDP transport is **encrypted with TLS by default**.
**3. NoMachine only if you must see/control the actual live Debian desktop**
NoMachine protects traffic with **TLS/AES**, supports **2FA**, and lets you disable **file transfer**, **USB sharing**, and **network/port sharing**. But if you use it to access your actual working session, that is inherently riskier than keeping Windows confined to a separate remote-only account.
*…
user: I understand and appreciate the advice. If we do this, I think I want to go the xrdp route of creating a separate user on the Debian 13 laptop, and we have it locked down security wise. I basically want to be able to use a few apps and browsers from my debian 13 laptop
assistant: I’m verifying the safest xrdp shape for Debian right now before I hand you steps. The main thing I’m checking is how to keep Windows limited to a separate Debian account and avoid opening any unnecessary sharing features.
assistant: I’ve got the hardening knobs that matter. xrdp can be locked to a specific Debian group, forced into separate sessions, and configured to disable drive redirection and restrict clipboard behavior, which is exactly the shape you want here.
assistant: That is a sound plan.
For your situation, I would set this up as a **remote-only Debian workspace**:
a separate Debian user, a separate desktop session, no sudo, no access to your real key material, and xrdp locked so only that user group can log in. xrdp supports exactly the controls we need here: **TLS transport by default**, **separate session policy**, **group-based login restriction**, **root login disable**, **alternate shell disable**, **clipboard restriction**, and **drive redirection disable**. It also listens on **TCP 3389**, so we can firewall it tightly to just your Windows workstation’s LAN IP.
Here is the setup I recommend.
## 1) Create a dedicated remote-only user
Use a fresh account just for remote apps, not your real Debian user.
```bash
sudo addgroup xrdpusers
sudo adduser remoteapps
sudo usermod -aG xrdpusers remoteapps
```
What this account should be:
- no `sudo`
- no SSH private keys
- no GPG keys
- no access to your main browser profile
- no access to your main home directory
- only the apps you actually need
That way, even if the Windows workstation is ever compromised, the attacker lands in a **sandbox user**, not in the account that holds your livelihood. The group restriction is enforced by xrdp’s `TerminalServerUsers` option, and `AlwaysGroupCheck=true` makes that check strict.
## 2) Install xrdp and a simple remote desktop
On Debian/Ubuntu, the xrdp project recommends installing `xrdp`, and for the best experience it uses the **xorgxrdp** path for Linux desktop sessions.
I recommend **Xfce** for this remote-only account. Not because it is mandatory, but because it is a cleaner, lighter remote workspace than dragging your full daily desktop into this. Debian 13 provides the Xfce desktop task package.
Install:
```bash
sudo apt update
sudo apt install xrdp task-xfce-desktop
```
Then set the remote-only user to start Xfce:
```bash
sudo -u remoteapps bash -lc 'echo startxfce4 > ~/.xsession && chmod 600 ~/.xsession'
```
## 3) Bac…
user: thank you for laying all that out. But on second thought, I decided not to mess with my Debian 13 laptop doing this. Instead we will use the ASUS ROG laptop that you helped me fix. I'm preparing to reinstall POP!_OS fresh install and use the native Cosmic desktop enviroment and we will keep the laptop plain and generic with no sensitive data on it. I do want to be able to copy and paste between the ASUS laptop and Windows. I have not started the fresh install yet.
I want you to provide a full script to run on the ASUS laptop once I finish the fresh install. I will update it first of course, so you don't have to include that. I want to use xrdp
assistant: I’m checking one key point before I hand you a script: whether xrdp plays nicely with fresh POP!_OS and COSMIC right now, or whether the right move is to keep COSMIC local and use a lighter X11 desktop just for the remote session.
assistant: That is the right move. Since this ASUS laptop will stay plain and generic, I’d use **xrdp + xorgxrdp + a separate Xfce remote session** and leave **COSMIC** as the local desktop. I’m intentionally **not** trying to remote the live COSMIC session itself, because xrdp’s Linux path is built around **xorgxrdp/Xorg**, and xrdp upstream notes that **Wayland is not network-transparent** in the same way. Ubuntu 24.04 packages **xrdp** with **xorgxrdp** as the recommended companion, and also recommends **pipewire-module-xrdp** for PipeWire-based systems.
This script keeps **clipboard copy/paste enabled** but disables **drive redirection and file copy-paste**. It also locks xrdp to a dedicated group, disables root logins, forces **TLS**, and can optionally firewall **3389/tcp** down to only your Windows workstation’s LAN IP. Those controls are directly supported by xrdp’s current config options.
Run this as your normal sudo user on the fresh POP!_OS install after you finish updates:
```bash
nano /home/adam/popos-xrdp-setup.sh && chmod +x /home/adam/popos-xrdp-setup.sh && /home/adam/popos-xrdp-setup.sh
```
```bash
#!/usr/bin/env bash
set -Eeuo pipefail
echo "🖥️ POP!_OS xrdp setup starting..."
if [[ "${EUID}" -eq 0 ]]; then
echo "❌ Run this as your normal sudo user, not root."
exit 1
fi
if ! command -v sudo >/dev/null 2>&1; then
echo "❌ sudo is required."
exit 1
fi
if ! command -v python3 >/dev/null 2>&1; then
echo "❌ python3 is required."
exit 1
fi
CURRENT_USER="${USER}"
CURRENT_HOME="${HOME}"
TIMESTAMP="$(date +%F-%H%M%S)"
BACKUP_DIR="${CURRENT_HOME}/backups/xrdp-popos-setup-${TIMESTAMP}"
mkdir -p "${BACKUP_DIR}"
echo
read -rp "Remote desktop username [remoteapps]: " REMOTE_USER
REMOTE_USER="${REMOTE_USER:-remoteapps}"
while true; do
read -rsp "Password for ${REMOTE_USER}: " REMOTE_PASS
echo
read -rsp "Confirm password for ${REMOTE_USER}: " REMOTE_PASS_CONFIRM
echo
if [[ -z "${REMOTE_PASS}" ]]; then
echo "❌ Pas…
user: your script is running, but it says to leave blank to skip firewall setup. I want the firewall rules to be placed. we are indeed using UFW
assistant: Enter your **Windows 11 workstation’s LAN IPv4 address** at that prompt.
Example:
- `192.168.1.50`
On the Windows box, you can find it with:
```powershell
ipconfig
```
Look for the active adapter’s **IPv4 Address**.
If the script is **still waiting at the prompt**, just type that IP and press Enter. Then it will add the UFW rules.
If you already pressed Enter and skipped it, run these on the ASUS laptop afterward, replacing the IP with your Windows machine’s real LAN IP:
```bash
sudo ufw --force enable
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow from 192.168.1.50 to any port 3389 proto tcp
sudo ufw deny 3389/tcp
sudo ufw status numbered
```
One important thing: if you also want to **SSH into the ASUS laptop later**, add SSH before or after that:
```bash
sudo ufw allow from 192.168.1.50 to any port 22 proto tcp
```
So the clean locked-down version is:
- allow **3389/tcp** from your Windows workstation only
- optionally allow **22/tcp** from your trusted machine(s) only
- deny everyone else on 3389
If you want, send me the `ipconfig` output section and I’ll tell you exactly which IP to enter.
user: oh ok, i didn't know it wanted the LAN IP address. I misunderstood. I did not skip the step. I tried to login from Windows and everything was looking like it was going to connect, but then I got a pop up window saying:
The connection cannot proceed because authentication is not enabled and the remote computer requires that authentication be enabled to connect.
Error code: 0x0
assistant: I’m checking whether this is an xrdp-side setting or a Windows client requirement mismatch. The symptom sounds like Windows is trying to enforce NLA/CredSSP against a Linux xrdp server, which usually means the client needs one specific setting changed.
assistant: That error is most likely a **Windows client ↔ xrdp authentication/security-layer mismatch**, not a bad username or password.
The important clue is this: xrdp’s own documentation says it supports `security_layer=tls`, `security_layer=rdp`, or `security_layer=negotiate`, and also notes that **standard RDP security (`rdp`) is less secure than TLS** because it is not safe against man-in-the-middle attacks. xrdp’s issue tracker also shows two things that matter here: **xrdp does not support NLA/CredSSP**, and there are real cases where Windows-to-xrdp connections fail under **TLS** but work when `security_layer` is changed to `rdp`.
Since this ASUS laptop is your **generic, non-sensitive POP box** and you already plan to restrict **3389/tcp to your Windows LAN IP with UFW**, the practical fix is to switch xrdp from **forced TLS** to **RDP security** so Windows will connect cleanly. That is a compatibility tradeoff, not the strongest security posture, but in your exact setup it is a reasonable one.
Do this on the ASUS laptop:
```bash
sudo nano /etc/xrdp/xrdp.ini
```
Find this line:
```ini
security_layer=tls
```
Change it to:
```ini
security_layer=rdp
```
Leave the port alone.
Then restart xrdp:
```bash
sudo systemctl restart xrdp
sudo systemctl status xrdp --no-pager
```
Then try again from Windows with a **fresh** Remote Desktop Connection window, typing the ASUS laptop’s LAN IP manually.
A couple of important notes:
- **Do not use your real POP!_OS login.** Use the dedicated remote account you created.
- If Windows has cached bad or odd RDP credentials, clear the saved entry in **Credential Manager** and reconnect; Microsoft’s own troubleshooting notes that cached credentials can cause one-client-only authentication mismatches.
- If you ever edited or saved a custom `.rdp` file earlier, use a plain new `mstsc` session for this test.
If it still fails after changing to `security_layer=rdp`, check the xrdp log immediately after the failed attempt:
```bash…
user: I'm logged in now as remoteapps and using Firefox right now in the chat with you. It works great. I realized I want to be able to copy files back and forth.
assistant: Good. Now we’re at the point where convenience starts eating into the security model, so I’m checking the cleanest xrdp way to enable file transfer without opening more than necessary.
assistant: Yes. On this **generic ASUS POP box**, that is reasonable.
The clean xrdp way to do it is to turn **drive redirection** back on. In xrdp, `EnableFuseMount=false` disables both **drive redirection** and **copying-and-pasting of files**; the default is `true`. The redirected drive mount point defaults to `xrdp_client` under the remote user’s home directory, and the default file umask there is `077`, which helps keep other local users from reading those redirected files. xrdp also uses the `rdpdr` channel for device redirection and `cliprdr` for clipboard redirection.
Use these changes on the ASUS laptop.
```bash
sudo nano /etc/xrdp/sesman.ini
```
In the `[Chansrv]` section, make sure these lines look like this:
```ini
[Chansrv]
FuseMountName=xrdp_client
FileUmask=077
EnableFuseMount=true
```
Then check the xrdp channel settings:
```bash
sudo nano /etc/xrdp/xrdp.ini
```
In the `[Channels]` section, make sure these are enabled:
```ini
[Channels]
rdpdr=true
cliprdr=true
drdynvc=true
```
Then restart xrdp:
```bash
sudo systemctl restart xrdp
sudo systemctl status xrdp --no-pager
```
On the **Windows 11** side, open **Remote Desktop Connection** (`mstsc`), click **Show Options**, go to **Local Resources**, click **More...**, and check the local **Drives** you want redirected into the remote session. Microsoft’s troubleshooting guidance for local drive redirection explicitly points to enabling the client-side drive selection there.
After you reconnect, look in the remote POP session under:
```bash
/home/remoteapps/xrdp_client
```
or simply:
```bash
~/xrdp_client
```
That is the default redirected-drive location unless you changed `FuseMountName`. xrdp also notes that the desktop may **not automatically show a link** for the redirected drive, so going straight to that folder is the dependable way to check it.
My blunt caution: this is less secure than clipboard-only. It gives the Windows machine a file path into the remote session, which is exactly what you…
user: ok, but it only give windows a file path restricted to the remoteapps user right? not my main user or ssh files to my remote servers and stuff right?
assistant: I’m checking one thing precisely: the difference between “xrdp mapped Windows drives into the remote session” and “Windows gained access to the whole Linux machine.” Those are not the same, and the boundary is the `remoteapps` account’s permissions.
assistant: Yes — **Windows only gets whatever the `remoteapps` session can access**. It does **not** automatically gain access to your main user, your SSH keys, or the rest of the Linux box just because xrdp drive redirection is enabled. In xrdp, redirected Windows drives are mounted into the **logged-in remote session** by `xrdp-chansrv`, and with `EnableFuseMount=true` they appear under the remote user’s home directory using the configured mount name, with a default `FileUmask=077` that keeps those redirected files private from other local users.
The real boundary is simple: **if `remoteapps` cannot read it, Windows cannot read it through that xrdp session either**. On Linux, access is controlled by normal file ownership and permissions for the file’s owner, group, and others. So your main user’s files stay out of reach **unless** they are world-readable, group-readable by a group that `remoteapps` belongs to, stored in a shared location with permissive ACLs, or you deliberately gave `remoteapps` access.
So your **main user’s `~/.ssh` keys, server configs, and other private material are not exposed by default** — **unless** one of these is true:
your main home directory is too open, your `.ssh` directory/files have weak permissions, you copied keys into `remoteapps`, or `remoteapps` has elevated privileges like `sudo`. xrdp itself is not bypassing Unix permissions here; it is just giving you a remote session as `remoteapps`.
The quickest sanity checks on the ASUS laptop are these:
```bash
id remoteapps
sudo -l -U remoteapps
namei -l /home/yourmainuser
namei -l /home/yourmainuser/.ssh
ls -ld /home/yourmainuser /home/yourmainuser/.ssh
ls -l /home/yourmainuser/.ssh
```
What you want to see is:
- `remoteapps` is **not** in any sensitive groups
- `sudo -l -U remoteapps` shows **no sudo rights**
- your main home is not broadly readable
- your `.ssh` directory is typically `700`
- private keys are typically `600`
My blunt answer: **enabling file copy in xrdp does not suddenly…
user: now when i login, it spits me out and the window closes right after I login
assistant: I’m checking the most likely xrdp-specific causes of the “instant logout after login” behavior, especially the ones that happen right after enabling drive redirection. The good news is this is usually a session startup or channel issue, not a sign that your whole setup is wrecked.
assistant: Because it worked before and broke right after the file-transfer change, I’d treat this as a “last change caused the regression” problem first, not a full rebuild problem. The fastest move is to roll back the file-redirection change, confirm login works again, then inspect logs before we re-enable it more carefully.
assistant: That points pretty hard at the **last xrdp change**, not your base install.
The pattern “authenticate successfully, then the session closes immediately” is a classic xrdp symptom when the **window manager/session startup exits quickly** or a **channel/session component breaks right after login**. xrdp’s own logs describe this as: **“Window manager ... exited quickly ... This could indicate a window manager config problem.”**
Since your setup **worked before** and only broke after enabling file transfer, the right move is:
## 1) Roll back the file-transfer change first
Run this on the ASUS laptop:
```bash
sudo nano /etc/xrdp/sesman.ini
```
In the `[Chansrv]` section, change this back:
```ini
EnableFuseMount=false
```
Leave `FuseMountName` and `FileUmask` alone if they are present.
Now restart xrdp:
```bash
sudo systemctl restart xrdp
sudo systemctl status xrdp --no-pager
```
Then try logging in again from Windows.
Why this rollback makes sense: `EnableFuseMount` is the setting that controls **drive redirection** and **file copy/paste** for redirected client drives in xrdp. When it is off, those redirected-drive features are disabled.
## 2) If login works again, the regression is in the redirection path
At that point, don’t turn everything back on blind. Check whether your xrdp package is actually happy with the channel config you added.
Open `/etc/xrdp/xrdp.ini` and look at the `[Channels]` section:
```bash
sudo nano /etc/xrdp/xrdp.ini
```
These options exist and control the relevant redirection channels:
- `rdpdr` = device redirection
- `drdynvc` = dynamic virtual channels
- `cliprdr` = clipboard redirection
For now, I would keep clipboard only and leave drive redirection off until we confirm the session is stable again.
A conservative stable setting is:
```ini
[Channels]
cliprdr=true
rdpdr=false
drdynvc=true
```
Then restart xrdp again:
```bash
sudo systemctl restart xrdp
```
That should preserve text clipboard while removing the redirected-…
user: before doing anything else, I decided to reboot the ASUS laptop, and try connecting again. now I'm connected. but how do I transfer files between the two computers? and I was wondering can I copy paste files back and forth in the remote desktop?
assistant: I’m checking the exact xrdp behavior here so I don’t tell you the wrong thing. There’s an important difference between plain clipboard copy/paste and actual file transfer in an xrdp session.
assistant: Yes — but there are **two different mechanisms** here:
**1. Text clipboard copy/paste**
That is regular clipboard redirection. If `cliprdr=true` in xrdp and your clipboard restrictions are not blocking it, you can copy text between Windows and the remote Linux session. xrdp’s channel docs define `cliprdr` as the clipboard-redirection channel, and the security settings let you allow or restrict text, file, and image clipboard separately.
**2. File transfer**
The dependable xrdp way is **drive redirection**, not ordinary Ctrl+C/Ctrl+V in every app. xrdp’s `EnableFuseMount=true` enables drive redirection and file copy/paste, and the redirected drives are mounted in the remote Linux account under the configured folder, which defaults to `~/xrdp_client`. xrdp also warns that the desktop may not automatically show a shortcut to that location.
So the practical answer is:
- **Yes**, text copy/paste should work.
- **Yes**, file transfer can work.
- **But** the most reliable way to move files is to map Windows drives into the session and then copy files inside Linux from `~/xrdp_client/...`, rather than expecting every file-manager clipboard action to behave perfectly. xrdp specifically notes that enabling FUSE turns on drive redirection and file copy/paste, and also notes desktop-specific behavior around showing redirected drives.
To use file transfer from Windows into the ASUS laptop session:
1. On the **Windows** side, before connecting, open **Remote Desktop Connection** (`mstsc`).
2. Click **Show Options**.
3. Go to **Local Resources**.
4. Click **More...**
5. Check the local **Drives** you want available in the remote session.
6. Connect. Microsoft’s RDP client documentation for local drive redirection uses that exact path in the client.
Then, inside the remote Linux session, look here:
```bash
/home/remoteapps/xrdp_client
```
or:
```bash
~/xrdp_client
```
That is the default redirected-drive location when `EnableFuseMount=true`.
To make that work on the…
user: /home/remoteapps/xrdp_client does nothing when I try to browse to if from Thunar file manager. it seems the directory has not been created
assistant: I’m checking the exact xrdp behavior for when `xrdp_client` never appears, because that usually means one of three things: the Windows side did not offer a drive, the xrdp channel service did not mount it, or the FUSE support package is missing on Linux.
assistant: I found the key detail: xrdp is supposed to create that mount directory **only when a redirected drive is actually offered by the Windows client and the Linux side can complete the FUSE mount**. So if the folder never appears, the problem is usually on one of those two ends.
assistant: That is actually a useful clue.
`~/xrdp_client` is **not supposed to exist all the time**. xrdp creates the drive-redirection mount directory **when a redirected drive is actually presented and mounted**. So if the directory never appears, one of these is true: Windows did not offer any drive to the session, xrdp is not configured to allow drive redirection, or the Linux side could not complete the FUSE mount.
Do this in this order.
First, on the **Windows** side, disconnect the session completely. Then open **Remote Desktop Connection** again, click **Show Options** → **Local Resources** → **More...**, and make sure at least one local **drive** is checked. If no drive is selected there, the Linux side has nothing to mount. Microsoft’s RDP guidance explicitly points to the client-side drive selection in that menu when drive redirection is not working.
Second, on the ASUS laptop, make sure the xrdp settings are still correct:
```bash
sudo grep -E 'EnableFuseMount|FuseMountName|FileUmask' /etc/xrdp/sesman.ini
sudo grep -E 'rdpdr=|cliprdr=|drdynvc=' /etc/xrdp/xrdp.ini
```
You want to see these values effectively set:
```ini
EnableFuseMount=true
FuseMountName=xrdp_client
FileUmask=077
rdpdr=true
cliprdr=true
drdynvc=true
```
`EnableFuseMount` is the switch that enables drive redirection, `FuseMountName` controls the mount folder name under the user’s home, and `rdpdr` is the device-redirection channel.
Third, check whether the Linux side even has the FUSE helper xrdp may need:
```bash
which fusermount3
```
If that prints nothing, that is a strong candidate for the problem. There is a 2025 maintainer report showing xrdp drive redirection failing specifically because `fusermount3` was missing, with the exact symptom that the remote drive never appeared under the expected mount folder.
If `fusermount3` is missing, install:
```bash
sudo apt install fuse3
```
Then restart xrdp:
```bash
sudo systemctl restart xrdp
```
Fourth, reconnect from Windows with a driv…
user: adam@pop-os:~$ which fusermount3
/usr/bin/fusermount3
adam@pop-os:~$ sudo grep -E 'EnableFuseMount|FuseMountName|FileUmask' /etc/xrdp/sesman.ini
sudo grep -E 'rdpdr=|cliprdr=|drdynvc=' /etc/xrdp/xrdp.ini
[sudo] password for adam:
Sorry, try again.
[sudo] password for adam:
FuseMountName=xrdp_client
#FuseMountName=/run/user/%u/thinclient_drives
#FuseMountName=/media/thinclient_drives/%U/thinclient_drives
FuseMountName=thinclient_drives
FileUmask=077
EnableFuseMount=true
EnableFuseMount=false
rdpdr=true
drdynvc=true
cliprdr=true
#channel.rdpdr=true
#channel.drdynvc=true
#channel.cliprdr=true
adam@pop-os:~$
assistant: There it is.
You have **conflicting settings** in `sesman.ini`:
- `FuseMountName=xrdp_client`
- `FuseMountName=thinclient_drives`
and also
- `EnableFuseMount=true`
- `EnableFuseMount=false`
That means your config is messy right now, and the last values in the file are very likely what xrdp is actually using. So two things follow:
- it may be looking for the mount under `thinclient_drives`, not `xrdp_client`
- drive redirection may effectively be **disabled** because of the later `EnableFuseMount=false`
First, while you are already logged in, check this path in Thunar or terminal:
```bash
/home/remoteapps/thinclient_drives
```
Also run:
```bash
ls -la /home/remoteapps
```
You may find the redirected drives there instead of under `xrdp_client`.
But the real fix is to clean the config so there is only **one** mount name and only **one** `EnableFuseMount` setting.
Use this:
```bash
sudo nano /etc/xrdp/sesman.ini
```
In the `[Chansrv]` section, make it look like this and remove the duplicate lines:
```ini
[Chansrv]
FuseMountName=xrdp_client
FileUmask=077
EnableFuseMount=true
```
The important part is:
- keep **one** `FuseMountName`
- keep **one** `EnableFuseMount`
- delete the extra `FuseMountName=thinclient_drives`
- delete the extra `EnableFuseMount=false`
Then restart xrdp:
```bash
sudo systemctl restart xrdp
```
Then fully disconnect the Windows RDP session and reconnect.
On the **Windows** side, make sure this is enabled before reconnecting:
- `mstsc`
- `Show Options`
- `Local Resources`
- `More...`
- check at least one local drive
After reconnecting, check:
```bash
ls -la /home/remoteapps/xrdp_client
```
and:
```bash
mount | grep xrdp
```
What I think happened is simple:
your script edits added the new values, but the file already had older defaults farther down, so now the config is fighting itself.
So the next move is not more troubleshooting. It is just:
1. clean `sesman.ini`
2. restart xrdp
3. reconnect from Windows with a drive selec…
user: I thought there was a default text editor for XFCE called leafpad. I can't find it. When I try using Kate inside the rdp session it's displaying really wide off the screen, I had to close it. Maybe I'm not see it it but what is the text editor that come with the XFCE we installed?
assistant: I’m checking the exact Xfce default editor rather than guessing, because “used to be Leafpad” and “what the installed task actually gives you” are not always the same thing on Ubuntu/POP-based systems.
assistant: Yes — the Xfce text editor you’re looking for is **Mousepad**, not Leafpad. Xfce’s own docs describe **Mousepad** as its simple text editor, and Ubuntu’s man page says the command is `mousepad`.
So on your POP/Xfce remote session, try this in a terminal:
```bash
mousepad &
```
If it says command not found, then it just was not installed with the package set you used. Install it with:
```bash
sudo apt install mousepad
```
After that, launch it from the menu or with:
```bash
mousepad &
```
Leafpad is probably what you remember from older lightweight Linux setups, but for Xfce the editor to use now is **Mousepad**. Xfce community docs and discussions consistently point to Mousepad as the Xfce editor.
For your Kate window going way off-screen inside RDP, the quickest fix is to stop fighting Kate in that session and just use Mousepad for simple edits. Mousepad is built exactly for quick plain-text work rather than a bigger editor workflow.
If you want, I’ll give you one small command to make **Mousepad the default text editor in Thunar** too.
user: This XFCE remote desktop is working great and I'm using Firefox to chat with you right now, but on our previous chat, you built Daily_Gas_kpis_v8.7_MudlogAcademy.xlsx spreadsheet for me, and after you built it, and you sent your message, the browser crashed. If there a way we can prevent that from happening? I did notice high resource utilization. But I figured my ASUS ROG laptop with 16G RAM should easily handle whatever we throw at it.
Showing first 50 of 273 messages. View the full conversation at https://mcwai.org/ai-conversation/reaching-windows-11-home-from-debian-and-pop-os