Browse Source

Fix server auth

main
parent
commit
7ae7422d09
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 3
      modules/x11.nix

3
modules/x11.nix

@ -16,8 +16,9 @@
]; ];
extraInit = '' extraInit = ''
export XAUTHORITY=/tmp/Xauthority export XAUTHORITY=/tmp/Xauthority
export xserverauthfile=$XAUTHORITY
export xserverauthfile=/tmp/xserverauth
[ -e ~/.Xauthority ] && mv -f ~/.Xauthority "$XAUTHORITY" [ -e ~/.Xauthority ] && mv -f ~/.Xauthority "$XAUTHORITY"
[ -e ~/.xserverauth*] && mv -f ~/.xserverauth* "$xserverauthfile"
''; '';
}; };

Loading…
Cancel
Save