Merge pull request #3393 from matt335672/xauth_in_sysdir

Add XAuthorityInSystemDir option
This commit is contained in:
matt335672
2025-03-03 13:38:09 +00:00
committed by GitHub
5 changed files with 33 additions and 1 deletions
+13 -1
View File
@@ -57,7 +57,7 @@ In this instance, the system administrator is responsible for ensuring
the socket can only be created by a suitably privileged process.
.PP
If the parameter does not start with a '/', a name within
@socketdir@ is used.
@socketdir@/\fI<uid>\fR is used.
.RE
.TP
@@ -251,6 +251,18 @@ 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 \fBno\fR (the default), \fBXAUTHORITY\fR will not be set for
sessions, and the X11 authfile will be $HOME/.Xauthority.
.br
If set to \fByes\fR, xrdp will point \fBXAUTHORITY\fR to a file
in a system directory private to the logged-in user (currently
@socketdir@/\fI<uid>\fR/Xauthority).
.br
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