Bug ID 1154134
Summary Remote desktop access using xrdp/xfreerdp crashes when the clipboard is used
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.1
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee bnc-team-screening@forge.provo.novell.com
Reporter suChenshaw@talisiorder.ca
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

When connecting two computers, both running Leap, via RDP using xrdp/xorgxrdp
(server) and freerdp (client), the remote connection will terminate if anything
is copied to the clipboard inside the RDP session.

Steps to replicate:

1. Install Leap on two separate computers, or VMs, joined with network
connectivity. In my environment I have the minimal graphical install (Icewm) on
the server and KDE on the client. I do not know if changing the server desktop
environment would have any impact.

2. Install and configure xrdp and xorgxrdp on the server.

3. Install xfreerdp on the client.

4. From the client, connect to the server by executing:

xfreerdp /v:<ip address> /u:<username> /size:1600x900 /bpp:32
/relax-order-checks +glyph-cache

The parameters /relax-order-checks and +glyph-cache are necessary to work
around known incompatibilities between xrdp and xfreerdp.

5. Working with the server through the RDP session, copy any text into the
clipboard. I have copied text using xterm, Sakura and gedit, all with equal
results.

6. The RDP session will terminate. On the client, xfreerdp will show the
following errors:

[20:02:38:767] [58978:58984] [ERROR][com.freerdp.channels.cliprdr.client] -
Invalid short format list length: 24
[20:02:38:767] [58978:58984] [ERROR][com.freerdp.channels.cliprdr.client] -
cliprdr_process_format_list failed with error 1359!
[20:02:38:767] [58978:58984] [ERROR][com.freerdp.channels.cliprdr.client] -
cliprdr_order_recv failed with error 1359!
[20:02:38:767] [58978:58979] [ERROR][com.freerdp.core] -
cliprdr_virtual_channel_client_thread reported an error. Error was 1359
[20:02:38:767] [58978:58979] [ERROR][com.freerdp.core] -
checkChannelErrorEvent() failed - 0
[20:02:38:767] [58978:58979] [INFO][com.freerdp.client.common] - Network
disconnect!
[20:02:38:767] [58978:58979] [ERROR][com.freerdp.client.x11] - Failed to check
FreeRDP file descriptor

Observations:

Clipboard access when connecting to the (Leap) xrdp server using a Windows
client running MSTSC works correctly.

Clipboard access when connecting to a xrdp server running Kubuntu 18.04 LTS
works correctly with Leap's xfreerdp.

It's unclear if this is a bug in xrdp or xfreerdp. 

Workaround:

Disable clipboard sharing.


You are receiving this mail because: