Add XAuthorityInSystemDir option

Add an option to allow XAUTHORITY to be moved away from $HOME.

This is modelled on the lightm 'user-authority-in-system-dir' option,
and also current GDM default behaviour.
This commit is contained in:
matt335672
2025-01-13 11:48:51 +00:00
parent b61dfb1096
commit d2e96fe2d2
5 changed files with 28 additions and 0 deletions
+8
View File
@@ -251,6 +251,14 @@ The number of login attempts that are allowed on terminal server. If set
to \fI0\fR, unlimited attempts are allowed. If not specified, defaults to
\fI3\fR.
.TP
\fBXAuthorityInSystemDir\fR=\fI[no|yes]\fR
If set to \fByes\fR, xrdp will set XAUTHORITY to be in a system directory
(currently @socketdir@/\fI<uid>\fR) which is only accessible to the
logged-in user.
You may wish to use this if $HOME is NFS-mounted, or you are experiencing
other applications overwriting the default file.
.TP
\fBTerminalServerUsers\fR=\fIgroup\fR
Only the users belonging to the specified group are allowed to login on