Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 xrdp (0.10.2-2) experimental; urgency=medium
 .
   * d/control: add build-depends libx264-dev and libopenh264-dev.
   * d/rules: enable building with x264 support. (Closes: #1093722)
   * instfiles/xrdp.service.in: patched to run as xrdp.
Author: Alex Myczko <tar@debian.org>
Bug-Debian: https://bugs.debian.org/1093722

---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>
Last-Update: 2025-01-22

--- xrdp-0.10.2.orig/instfiles/xrdp.service.in
+++ xrdp-0.10.2/instfiles/xrdp.service.in
@@ -11,6 +11,8 @@ EnvironmentFile=-@sysconfdir@/default/xr
 ExecStart=@sbindir@/xrdp $XRDP_OPTIONS --nodaemon
 SystemCallArchitectures=native
 SystemCallFilter=@system-service
+User=xrdp
+Group=xrdp
 
 [Install]
 WantedBy=multi-user.target
