From e72957b7c96c10f8b1e5ea989f676581d6991fe5 Mon Sep 17 00:00:00 2001 From: BLINDAUER Emmanuel Date: Wed, 14 Dec 2016 10:55:45 +0100 Subject: [PATCH] xauth: use the authfile if not using default value --- sesman/session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {