matt335672
127a95e254
struct xrdp_session: Remove void * pointers
...
void * pointers in xrdp_session are replaced with pointers to
incomplete types. This allows us to remove a very large number of casts
related to these members in libxrdp.c
2025-09-09 15:16:32 +01:00
matt335672
0a13316e6a
ms-rdpbcgr.h: Rename incorrect slow path constants
...
Rename the defines from [MS-RDPBCGR] 2.2.9.1.1.3.1 to match
the documentation.
2025-09-09 15:15:46 +01:00
matt335672
2759680b8b
ms-rdpbcgr.h: Rename incorrect PDUTYPE2_ defines
...
Rename the defines from [MS-RDPBCGR] 2.2.8.1.1.1.2 to
match the documentation.
2025-09-09 15:14:28 +01:00
matt335672
557b580cb0
ms-rdpbcgr.h : Rename incorrect pointer update constants
...
Rename the defines from [MS-RDPBCGR] 2.2.9.1.1.4 and
2.2.9.1.1.4.3 to match the documentation.
2025-09-09 15:11:45 +01:00
matt335672
aade869fb7
Merge pull request #3607 from matt335672/fix_incorrect_control_pdu_vals
...
Fix more inconsistencies with [MS-RDPBCGR]
2025-09-06 10:04:35 +01:00
matt335672
b56cb03254
Merge pull request #3606 from matt335672/fill_in_deactivateall
...
Fill in all fields for TS_DEACTIVATE_ALL_PDU
2025-09-06 10:04:08 +01:00
matt335672
fa6ed3c702
Fix more inconsistencies with [MS-RDPBCGR]
2025-09-05 12:19:56 +01:00
matt335672
4c8f2abf6d
Fill in all fields for TS_DEACTIVATE_ALL_PDU
2025-09-05 11:42:44 +01:00
matt335672
a09b4c7589
Merge pull request #3602 from matt335672/priv_fixes
...
[Resubmit] Improve support for running xrdp without privileges
2025-09-01 10:09:49 +01:00
matt335672
e38a5d0d7d
Wording change following review
2025-09-01 09:55:14 +01:00
matt335672
1b1e2317ff
xrdp: Don't try to drop privs if we are already unprivileged
2025-08-29 11:33:19 +01:00
matt335672
0afefbbc46
Ignore Frame ACKs when the encoder is deleted
...
Ignore late frame ACKs from the client if the encoder is mssing.
2025-08-29 11:06:04 +01:00
matt335672
436a61e854
Correct sense of test
...
issue with 2a022ad681 uncovered
during Wayland testing on Trixie
2025-08-26 12:25:27 +01:00
matt335672
2a022ad681
Fix Coverity regression
...
Fix Coverity regression introduced by 0ff175c85e
2025-08-26 10:20:26 +01:00
matt335672
5d31c81220
Merge pull request #3595 from matt335672/pam_groups_regression
...
[devel] Fix regression in PAM groups handling
2025-08-25 14:29:56 +01:00
matt335672
4ae0cb75b9
Fix regression in PAM groups handling
...
Commit 991770cc5d re-introduced
a problem which was earler fixed in
4183d8ddbf . This commit fixes the
regression so that pam_group.so on Linux now works again.
(cherry picked from commit c2b3cc6fc27c8c354ec39eac016cceb05430370d)
2025-08-25 13:22:31 +01:00
matt335672
b1fffbc9ab
Merge pull request #3592 from matt335672/vnc_support_forwarded_resize
...
Vnc support forwarded resize
2025-08-22 14:45:59 +01:00
matt335672
0ff175c85e
Add support for forwarded resize request to VNC module
...
This feature was added to the RFB community wiki on 2020-12-22. See
commit a6dab64825b2ce4e9b47b8c9541619b94b7d908b in the rfbproto
repository
2025-08-22 12:29:20 +01:00
matt335672
3700867e87
Add timers module
...
Allows a polled timer to be set for a future event. The timeout
values are suitable for passing to g_obj_wait() or poll().
2025-08-22 12:29:20 +01:00
matt335672
d8bce01e45
Merge pull request #3585 from matt335672/fix_stray_carriage_return
...
Fix stray carriage returns in xrdp-sesadmin output
2025-08-11 10:03:07 +01:00
matt335672
7b4d673c94
Fix stray carriage returns in xrdp-sesadmin output
...
The ctime() function adds a carriage return to its output, and this
has not properly been taken into account with recent additions.
2025-08-11 09:50:41 +01:00
matt335672
214110a56f
Merge pull request #3583 from matt335672/devel_fix_macos_black_screen
...
Fix VNC backend regression
2025-08-05 10:17:09 +01:00
matt335672
51cc4f50a2
Fix VNC backend regression
...
Fix a regression introduced in v0.10.x, where it became impossible to
connect to a VNC server which did not support the ExtendedDesktopSize
encoding.
(cherry picked from commit 6b25bdb7db487ff73152643815d55977d7a7efda)
2025-08-05 10:06:31 +01:00
matt335672
f3cd14fd61
Merge pull request #3581 from matt335672/fix_null_text_to_clipboard
...
Allow for empty UTF8_STRING to be pasted
2025-08-04 11:33:30 +01:00
matt335672
8099299ab0
Allow for empty UTF8_STRING to be pasted
...
The current code doesn't allow for an empty string to be pasted to the
clipboard on the X11 side. This is done by some lock screen programs
to prevent information leakage.
2025-08-04 11:25:54 +01:00
matt335672
1c854e8afe
Merge pull request #3576 from matt335672/mac_fixes
...
Get getgrouplist() compiling on MacOS
2025-07-23 11:49:51 +01:00
matt335672
21f663150e
Get getgrouplist() compiling on MacOS
...
(cherry picked from commit 846a268cdcb691adf51e039b21ff201226b6b47b)
2025-07-23 11:38:11 +01:00
matt335672
6d8af8591d
Merge pull request #3574 from matt335672/deepin20_build_error
...
Fix compilation failure in Deepin 20 (glibc < 2.38)
2025-07-23 10:35:38 +01:00
matt335672
416a5e66e5
Fix compilation failure in Deepin 20
2025-07-23 09:56:31 +01:00
matt335672
3d244ec306
Merge pull request #3567 from matt335672/close_on_reconnect
...
Close on reconnect
2025-07-21 14:37:16 +01:00
matt335672
159947ca9b
Minor logging improvement
2025-07-21 11:30:14 +01:00
matt335672
f371876e8c
Set XRDP_CLIENT_xx variables for the reconnect script
2025-07-21 11:30:14 +01:00
matt335672
cd98b013f1
Add logging of connect/disconnect times
...
on connection, client IP and name are passed from xrdp to sesman to
sesexec, and then back to sesman again.
xrdp-sesadmin can now access the connection data from sesman
2025-07-21 11:30:14 +01:00
matt335672
ac95cdffc3
Rename client_info hostname to client_name
...
This name better matches the name from [MS-RDPBCGR]. Also, the size
of the UTF-8 buffer allocated for the client name is not large
enough for some of the names which could potentially be passed across
in UTF-16 from the client.
2025-07-21 11:30:14 +01:00
matt335672
db50a27089
Remove unnecessary include from session.h
2025-07-21 11:30:14 +01:00
matt335672
d88cf53453
Add CCP support to sesexec
...
sesexec can now tell the xrdp process to exit, and is aware when
the xrdp process exits.
2025-07-21 11:30:14 +01:00
matt335672
b5ba5635e1
Replace unneeded callback data value
2025-07-21 11:30:14 +01:00
matt335672
d015535065
Add CCP support to xrdp
...
This allows sesexec to send a reason for a connection close
request to xrdp.
xrdp is also updated to support server initiated disconnection sequences
from [MS-RDPBCGR] 1.3.1.4, along with reporting a reason to the client
for the disconnection.
2025-07-21 11:30:14 +01:00
matt335672
7433ded30d
Use correct symbolic names for TS_SET_ERROR_INFO_PDU
2025-07-21 11:30:14 +01:00
matt335672
d09ebb2d10
Add initial CCP to libipm
2025-07-21 11:30:14 +01:00
matt335672
93707e976f
Merge pull request #3547 from matt335672/scp_changes
...
SCP updates : connect session message
2025-07-21 11:29:05 +01:00
matt335672
02eae9f3ba
Fix Coverity warnings
...
Two problems were found:-
1) A useless test in scp_list.c - testing an unsigned int was >= 0.
2) Flow control issues in scp.c:scp_get_connect_session_response() meant
that file descriptors could be leaked. A helper function has been
used to simplify the code.
2025-07-15 11:46:57 +01:00
matt335672
cf202d618b
Add AlwaysRunReconnect config option
...
This allows the system administrator to specify whether the
reconnectwm.sh script should only be run on reconnects, or should
be run for all connections to a session.
2025-07-14 19:39:26 +01:00
matt335672
8bcb14f79d
Prefer SessionSockdirGroup to be set to 'root'
...
With recent changes to the SCP interface, the xrdp process no longer
needs read access to the user sockdir when sesman is in use.
2025-07-14 19:39:26 +01:00
matt335672
d0a876ed47
Update xrdp-sesrun for new SCP interface
...
The SCP connection is now still open after a create session call,
and needs to be explicitly closed to prevent errors being logged.
2025-07-14 19:39:26 +01:00
matt335672
c1a42af7a2
Plumb file descriptors from sesman into xrdp
...
If sesman sends file descriptors for the display server and
chansrv, use these in preference to trans_connect() calls.
2025-07-14 19:39:26 +01:00
matt335672
3425ab6166
Add optional fd parameter to mod_connect() method
...
The fd parameter can be used to immediately connect to a display
server, if an fd was obtained from sesman
2025-07-14 19:39:26 +01:00
matt335672
09e4a99bac
Plumb connect_session call into sesman and sesexec
2025-07-14 19:39:26 +01:00
matt335672
602f3b495b
Add session connect to libipm sesexec interfaces
2025-07-07 20:09:20 +01:00
matt335672
f52f4778eb
Update SCP with connect session calls
2025-07-07 20:09:20 +01:00