Skip to content

Commit

Permalink
Add commented out KillMode=process to xrdp-service
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
matt335672 committed Dec 19, 2024
1 parent 63c2e18 commit 64b6d99
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions instfiles/xrdp.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ EnvironmentFile=-@sysconfdir@/default/xrdp
ExecStart=@sbindir@/xrdp $XRDP_OPTIONS --nodaemon
SystemCallArchitectures=native
SystemCallFilter=@system-service
# Uncomment the following line if you wish xrdp connections to survive
# an xrdp restart.
#
# This is not recommended, as the xrdp and xrdp-sesman processes can
# end up with API differences if the restart was caused by an upgrade. It
# may however be useful for some use cases.
#KillMode=process

[Install]
WantedBy=multi-user.target

0 comments on commit 64b6d99

Please sign in to comment.