summaryrefslogtreecommitdiff
path: root/.config/login.d/10_xauthority.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/login.d/10_xauthority.sh')
-rw-r--r--.config/login.d/10_xauthority.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/login.d/10_xauthority.sh b/.config/login.d/10_xauthority.sh
new file mode 100644
index 0000000..a27202c
--- /dev/null
+++ b/.config/login.d/10_xauthority.sh
@@ -0,0 +1,4 @@
+# This was needed once with SSH and Fedora boxes.
+if [[ -z $XAUTHORITY ]]; then
+ export XAUTHORITY="$HOME/.Xauthority"
+fi