From 90408552910ffa146a246fa96e6095661b3bbdb9 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 22 Aug 2016 23:00:02 +0300 Subject: [PATCH] .profile: use xhost to allow root to run X apps --- .profile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.profile b/.profile index 9638bac..8a1f152 100644 --- 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 -- 2.39.2