Summary
When the server restarts after a crash or unclean shutdown, the FUSE clipboard filesystem mount fails with:
Failed to mount FUSE clipboard filesystem: FileIoError("Failed to create FUSE mount point: File exists (os error 17)")
The server falls back to staging mode, which works but loses the zero-copy file transfer benefit.
Source
Observed during fleet testing on KDE Plasma 6.3.6 (aibox VM). The mount point at /tmp/lamco-rdp-clipboard-* persists after the server exits without cleanup.
Expected behavior
On startup, the FUSE mount code should:
- Check if the mount point directory already exists
- If it does, attempt
fusermount -u to unmount any stale FUSE mount
- Remove the stale directory
- Proceed with fresh mount creation
Current behavior
The code calls std::fs::create_dir() which fails with EEXIST if a previous mount point was not cleaned up. No recovery is attempted.
Impact
File clipboard falls back to staging mode (downloads files upfront instead of on-demand FUSE access). Functional but suboptimal. Users who restart the server frequently will always hit this.
Summary
When the server restarts after a crash or unclean shutdown, the FUSE clipboard filesystem mount fails with:
The server falls back to staging mode, which works but loses the zero-copy file transfer benefit.
Source
Observed during fleet testing on KDE Plasma 6.3.6 (aibox VM). The mount point at
/tmp/lamco-rdp-clipboard-*persists after the server exits without cleanup.Expected behavior
On startup, the FUSE mount code should:
fusermount -uto unmount any stale FUSE mountCurrent behavior
The code calls
std::fs::create_dir()which fails with EEXIST if a previous mount point was not cleaned up. No recovery is attempted.Impact
File clipboard falls back to staging mode (downloads files upfront instead of on-demand FUSE access). Functional but suboptimal. Users who restart the server frequently will always hit this.