diff --git a/README.org b/README.org index 9187b10..2f2d42b 100644 --- a/README.org +++ b/README.org @@ -403,6 +403,7 @@ X11, or X[fn:13] is the generic name for the X Window System Display Server. All ]; extraInit = '' export XAUTHORITY=/tmp/Xauthority + export xserverauthfile=$XAUTHORITY [ -e ~/.Xauthority ] && mv -f ~/.Xauthority "$XAUTHORITY" ''; }; diff --git a/modules/x11.nix b/modules/x11.nix index f757dfb..15ba5c1 100644 --- a/modules/x11.nix +++ b/modules/x11.nix @@ -16,6 +16,7 @@ ]; extraInit = '' export XAUTHORITY=/tmp/Xauthority + export xserverauthfile=$XAUTHORITY [ -e ~/.Xauthority ] && mv -f ~/.Xauthority "$XAUTHORITY" ''; };