branch: externals/exwm
commit 3b19dad16269dc18d65919fe7adea12dbedc6550
Author: W. Greenhouse <wgreenho...@riseup.net>
Commit: W. Greenhouse <wgreenho...@riseup.net>

    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.
---
 xinitrc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xinitrc b/xinitrc
index 3de5b0b..873265f 100644
--- a/xinitrc
+++ b/xinitrc
@@ -1,5 +1,5 @@
 # Disable access control
-xhost +
+xhost +SI:localuser:$USER
 
 # Themes, etc
 gnome-settings-daemon &

Reply via email to