.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 9638bac..8a1f152 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