Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit bdb4654

Browse files
committedJan 6, 2025
Add commented out KillMode=process to xrdp-service
The KillMode of process allows an xrdp connection to survive a reatart of the xrdp process. This is of minimal benefit, as a user can always simply reconnect - the session will survive the restart. The downside is that xrdp will not benefit from any security fixes, and may well end up out-of-sync with sesman.
1 parent 893c128 commit bdb4654

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎instfiles/xrdp.service.in

+7
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ EnvironmentFile=-@sysconfdir@/default/xrdp
1111
ExecStart=@sbindir@/xrdp $XRDP_OPTIONS --nodaemon
1212
SystemCallArchitectures=native
1313
SystemCallFilter=@system-service
14+
# Uncomment the following line if you wish xrdp connections to survive
15+
# an xrdp restart.
16+
#
17+
# This is not recommended, as the xrdp and xrdp-sesman processes can
18+
# end up with API differences if the restart was caused by an upgrade. It
19+
# may however be useful for some use cases.
20+
#KillMode=process
1421

1522
[Install]
1623
WantedBy=multi-user.target

0 commit comments

Comments
 (0)
Failed to load comments.