Browse Source

Update server auth handler

main
parent
commit
5615d2b6ec
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 2
      README.org
  2. 2
      modules/x11.nix

2
README.org

@ -768,7 +768,7 @@ X11, or X[fn:25] is the generic name for the X Window System Display Server. All
export XAUTHORITY=/tmp/Xauthority export XAUTHORITY=/tmp/Xauthority
export xserverauthfile=/tmp/xserverauth export xserverauthfile=/tmp/xserverauth
[ -e ~/.Xauthority ] && mv -f ~/.Xauthority "$XAUTHORITY" [ -e ~/.Xauthority ] && mv -f ~/.Xauthority "$XAUTHORITY"
[ -e ~/.xserverauth*] && mv -f ~/.xserverauth* "$xserverauthfile"
[ -e ~/.serverauth.* ] && mv -f ~/.serverauth.* "$xserverauthfile"
''; '';
}; };

2
modules/x11.nix

@ -18,7 +18,7 @@
export XAUTHORITY=/tmp/Xauthority export XAUTHORITY=/tmp/Xauthority
export xserverauthfile=/tmp/xserverauth export xserverauthfile=/tmp/xserverauth
[ -e ~/.Xauthority ] && mv -f ~/.Xauthority "$XAUTHORITY" [ -e ~/.Xauthority ] && mv -f ~/.Xauthority "$XAUTHORITY"
[ -e ~/.xserverauth*] && mv -f ~/.xserverauth* "$xserverauthfile"
[ -e ~/.serverauth.* ] && mv -f ~/.serverauth.* "$xserverauthfile"
''; '';
}; };

Loading…
Cancel
Save