Skip to content

Turn off FreeRDP's file clipboard (copying a file froze the session) - #36

Merged
rangoDJ merged 1 commit into
mainfrom
fix/rdp-file-clipboard-freeze
Oct 2, 2026
Merged

rangoDJ merged 1 commit into
mainfrom
fix/rdp-file-clipboard-freeze

Conversation

@rangoDJ

@rangoDJ rangoDJ commented Oct 2, 2026

Copy link
Copy Markdown
Owner

Copying a file in Windows Explorer on the remote PC froze the whole RDP session.

Cause

FreeRDP republishes files copied in Windows to the X clipboard, but it can only serve them through a FUSE mount, and the container has no /dev/fuse — every session log shows fuse: device /dev/fuse not found. Kernel module not loaded?. When Selkies sees the new clipboard owner it asks FreeRDP for the copied files, and that request stalls FreeRDP, whose window is the whole remote desktop.

The file clipboard could never work here anyway: a browser can't put a file on the local clipboard.

Change

  • FreeRDP now starts with /clipboard:files-to:off instead of +clipboard. Text and images still sync both ways; files move through the shared folder. The option is in the container's FreeRDP 3.32 (its help text lists files-to:[all|local|remote|off]).
  • README: diagram updated, and a note that files go through \tsclient\SharedFolder / Shared Files.

Testing

  • pytest: 224 passed, 3 skipped; new test checks the clipboard argument.
  • The freeze itself has not been reproduced against this build yet: confirm by copying a file in Explorer after deploying.

🤖 Generated with Claude Code

Copying a file in Windows Explorer froze the RDP session. FreeRDP offers
copied files to Linux apps only through a FUSE mount, and the container has
no /dev/fuse (the session log shows "fuse: device /dev/fuse not found"), so
the file clipboard can't work here; Selkies asking FreeRDP for the copied
files stalled its window. Start FreeRDP with /clipboard:files-to:off: text
and images still sync, and files move through the shared folder.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rangoDJ
rangoDJ merged commit 10544bc into main Oct 2, 2026
4 checks passed
@rangoDJ
rangoDJ deleted the fix/rdp-file-clipboard-freeze branch October 2, 2026 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant