about summary refs log tree commit diff
path: root/xinitrc
diff options
context:
space:
mode:
authorW. Greenhouse <wgreenhouse@riseup.net>2015-11-15T03·35+0000
committerW. Greenhouse <wgreenhouse@riseup.net>2015-11-15T03·35+0000
commit3b19dad16269dc18d65919fe7adea12dbedc6550 (patch)
tree4ef33b5b01a7d290abec2acd76f8657b71260b3c /xinitrc
parenta295a15ff646cbfa174ee1f78f9f8e27e1a7d587 (diff)
Limit X host-based auth permissions.
We don't need more than the currently logged in user
to have access to the X session, so don't grant X host access
to other users.
Diffstat (limited to 'xinitrc')
-rw-r--r--xinitrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/xinitrc b/xinitrc
index 3de5b0b51b04..873265fb644b 100644
--- a/xinitrc
+++ b/xinitrc
@@ -1,5 +1,5 @@
 # Disable access control
-xhost +
+xhost +SI:localuser:$USER
 
 # Themes, etc
 gnome-settings-daemon &