mirror of
https://github.com/fosrl/newt.git
synced 2026-07-15 21:16:40 -05:00
[GH-ISSUE #391] Web RDP to Linux XRDP fails: "read RDCleanPath request: not enough bytes" and distorted graphics #7942
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Mitch187 on GitHub (Jun 26, 2026).
Original GitHub issue: https://github.com/fosrl/newt/issues/391
Describe the Bug
am testing the Web RDP feature in Pangolin. While connecting to Windows 11 machines works flawlessly, connecting to Linux clients via XRDP (configured with Pipewire) results in connection and rendering failures.
There are two behaviors observed:
Most of the time (~90%): The connection fails during the initial handshake. The web UI displays the error: read RDCleanPath request: not enough bytes (see attached image rdp - meistens.png).
Occasionally (~10%): The connection is established, but the graphical interface is heavily distorted and unreadable (looks like a misrendered XRDP login screen). If I attempt to enter my credentials blindly in this state, authentication fails (see attached image rdp - manchmal.png).
Note: The graphical distortion seems heavily related to the already reported issue #3266 (RDP image distortion), but I wanted to provide the additional context regarding the RDCleanPath error specifically when targeting Linux/XRDP.
Environment
Pangolin Version: 1.19.1
Target OS: Linux Ubuntu XFCE on an LXC Container (with XRDP and Pipewire), working from Windows MSTSC-Client (lokal network)
Target Protocol: RDP
Client OS & Browser: Windows 11 / Chrome 126
To Reproduce
Set up a Linux client with XRDP (and Pipewire for audio).
Configure a Pangolin service/resource to point to this Linux client via RDP (port 3389).
Attempt to connect via the Pangolin Web RDP interface.
Observe the read RDCleanPath request: not enough bytes error.
Retry multiple times until a connection eventually succeeds, and observe the heavily distorted graphical output.
Expected Behavior
Pangolin's Web RDP client should successfully negotiate the RDCleanPath handshake with XRDP and render the Linux desktop/XRDP login screen without distortion, matching the seamless experience provided for Windows 11 hosts.
@Mitch187 commented on GitHub (Jun 26, 2026):
Sorry, an pangolin problem. Post there.