xauth: use the authfile if not using default value
This commit is contained in:
parent
7d1fdd04b5
commit
e72957b7c9
@ -698,7 +698,7 @@ session_start_fork(tbus data, tui8 type, struct SCP_SESSION *s)
|
|||||||
cookie[32] = '\0';
|
cookie[32] = '\0';
|
||||||
|
|
||||||
/* Add the entry in XAUTORITY file */
|
/* 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)
|
if (type == SESMAN_SESSION_TYPE_XORG)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user