Risk 0/5 · Safe
arch-config.diff
Result #6081
Comment
The change is low risk overall. The startwm.sh patch only adjusts session startup behavior for Arch by sourcing ~/.xinitrc or /etc/X11/xinit/xinitrc after pre_start/post_start, which is expected desktop-session integration and does not introduce privilege escalation, persistence, or network activity. The other hunks are test tolerance and enabling runtime_user/runtime_group in xrdp.ini, which are configuration changes consistent with running xrdp under its dedicated user/group. No suspicious downloads, sudo usage, or system-wide modifications are present in the reviewed diff.
@@ -1,7 +1,7 @@
-diff -up src/xrdp-0.9.16/sesman/startwm.sh.orig src/xrdp-0.9.16/sesman/startwm.sh
---- src/xrdp-0.9.16/sesman/startwm.sh.orig 2020-12-28 07:03:43.000000000 -0700
-+++ src/xrdp-0.9.16/sesman/startwm.sh 2021-05-12 17:06:31.690000000 -0600
-@@ -58,11 +58,26 @@ post_start()
+diff -uNr a/sesman/startwm.sh b/sesman/startwm.sh
+--- a/sesman/startwm.sh
++++ b/sesman/startwm.sh
+@@ -58,11 +58,26 @@
#start the window manager
wm_start()
{