]> git.phdru.name Git - dotfiles.git/commitdiff
.profile: use xhost to allow root to run X apps
authorOleg Broytman <phd@phdru.name>
Mon, 22 Aug 2016 20:00:02 +0000 (23:00 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 22 Aug 2016 20:00:02 +0000 (23:00 +0300)
.profile

index 9638bacc26711c76b19c9f07d50590aefe689c6b..8a1f15295050bacdee9766a12fbc7b52a9347897 100644 (file)
--- a/.profile
+++ b/.profile
@@ -267,6 +267,8 @@ if [ -n "$DISPLAY" ]; then
    # nVidia OpenGL full scene anti-aliasing
    #__GL_FSAA_MODE=4
    #export __GL_FSAA_MODE
+
+   #xhost +local:root > /dev/null 2>&1
 fi
 
 [ -n "$HAS_LESS" ] && unset HAS_LESS