From: Oleg Broytman Date: Mon, 22 Aug 2016 20:00:02 +0000 (+0300) Subject: .profile: use xhost to allow root to run X apps X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=commitdiff_plain;h=90408552910ffa146a246fa96e6095661b3bbdb9 .profile: use xhost to allow root to run X apps --- 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