summaryrefslogtreecommitdiffstats
path: root/sesman
diff options
context:
space:
mode:
authorBLINDAUER Emmanuel <e.blindauer@gmail.com>2016-12-14 10:55:45 +0100
committerBLINDAUER Emmanuel <e.blindauer@gmail.com>2016-12-14 10:55:45 +0100
commite72957b7c96c10f8b1e5ea989f676581d6991fe5 (patch)
tree2dde4c204398d35055ee5b1ca5f60a508240933e /sesman
parent7d1fdd04b56ab2c2849596f52f6976d9e3c4175a (diff)
downloadxrdp-proprietary-e72957b7c96c10f8b1e5ea989f676581d6991fe5.tar.gz
xrdp-proprietary-e72957b7c96c10f8b1e5ea989f676581d6991fe5.zip
xauth: use the authfile if not using default value
Diffstat (limited to 'sesman')
-rw-r--r--sesman/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sesman/session.c b/sesman/session.c
index 6c4b8d1a..0f5f6fe2 100644
--- a/sesman/session.c
+++ b/sesman/session.c
@@ -698,7 +698,7 @@ session_start_fork(tbus data, tui8 type, struct SCP_SESSION *s)
cookie[32] = '\0';
/* Add the entry in XAUTORITY file */
- env_add_xauth_user(display, cookie, NULL);
+ env_add_xauth_user(display, cookie, authfile);
if (type == SESMAN_SESSION_TYPE_XORG)
{