clipboardPasteFrom was called with unbounded clipboard text; the gateway's RfbClientFilter closes the display WebSocket on any ClientCutText over _MAX_CUT_TEXT (256 KiB), turning an oversized paste into a full stream disconnect instead of a dropped paste. Clamp before forwarding and add a test pinning the ceiling.