Comments (3)
The problem is due to xrdp's inverse endianness for virtual channel flags to Microsoft's specification. The following patch fixes the issue.
diff --git a/libxrdp/xrdp_sec.c b/libxrdp/xrdp_sec.c
index 983be09..952ff12 100644
--- a/libxrdp/xrdp_sec.c
+++ b/libxrdp/xrdp_sec.c
@@ -730,7 +730,7 @@ xrdp_sec_process_mcs_data_channels(struct xrdp_sec* self, struct
channel_item = (struct mcs_channel_item*)
g_malloc(sizeof(struct mcs_channel_item), 1);
in_uint8a(s, channel_item->name, 8);
- in_uint32_be(s, channel_item->flags);
+ in_uint32_le(s, channel_item->flags);
channel_item->chanid = MCS_GLOBAL_CHANNEL + (index + 1);
list_add_item(self->mcs_layer->channel_list, (long)channel_item);
DEBUG(("got channel flags %8.8x name %s", channel_item->flags,
from xrdp.
It doesn't work yet. I can't use clipboard sharing(clipboard redirection) after modify and recompile the code.
But, what's worse, rdesktop on Linux which is normal to use clipboard redirection before ,now , clipboard redirection can not be used.
rdp client (mstsc, rdesktop) ---> xrdp --> rdp server (windows 2003 terminal server)
Test on:
xrdp: CentOS 5.8 Linux x86_64, FreeRDP-FreeRDP-ac5c7cd, FreeRDP-xrdp-c935eb1 (2012-5-10)
rdp-server: windows 2003, Simplified Chinese.
BEFORE applying hyeshik's patch code
(1) rdp-client: Windows 7 x64, Simplified Chinese. mstsc. FAILED.
(2) rdp-client: rdesktop on CentOS 5.8 Linux x86_64 OK.
AFTER that:
(1) rdp-client: Windows 7 x64, Simplified Chinese. mstsc. FAILED.
(2) rdp-client: rdesktop on CentOS 5.8 Linux x86_64 FAILED.
from xrdp.
Reopen if this issue is not fixed in the latest release (v0.9.1).
from xrdp.
Related Issues (20)
- xrdp is using RDP licensing HOT 4
- sesadmin list IP address error of reconnected HOT 1
- Wrong version in configure.ac HOT 14
- CentOS/Alma/Rocky : Login screen logo is too large after upgrade from xrdp v0.9.x to v0.10.x HOT 12
- A blue screen occurs when a remote connection is made using windows11 HOT 13
- x264 not working HOT 21
- xrdp-0.10.0.tar.gz does not include 'docs/man/xrdp-mkfv1.8.in'. HOT 2
- Release v0.10.1 HOT 9
- Unable to reconnect - reconnectwm.sh defunct HOT 6
- XRDP not working with GNOME on Ubuntu 24.04? HOT 3
- linker error building xrdp-droppriv HOT 4
- File transfer from Windows encountered: "Error when getting information for file '/test.txt' " HOT 8
- Specific filenames cause File transfer / drive redirection error HOT 19
- Build failed with rfxencode_dwt_shift_rem_sse2.c:41:26: error: '__m128i_u' undeclared HOT 3
- Session Allocation Policy 'I' not working (client IP address is always NULL) HOT 3
- SSL: error:14094123:SSL routines:ssl3_read_bytes:application data after close notify HOT 5
- xrdp green screen after RDP login HOT 8
- Support OpenH264 HOT 1
- Blank dark screen after update to 0.10 HOT 23
- KDE Display Issue on Arch Linux HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xrdp.