From 24a417f25653fa72fed6c3da71612fb41db8db5c Mon Sep 17 00:00:00 2001 From: duncte123 Date: Wed, 11 Mar 2020 14:01:40 +0100 Subject: [PATCH] Fix running as root on linux --- RUN.bash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RUN.bash b/RUN.bash index 7463070..2dcc749 100644 --- a/RUN.bash +++ b/RUN.bash @@ -1,5 +1,7 @@ #!/bin/bash -i DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" conda activate LPHK +# https://ubuntuforums.org/showthread.php?t=2290602 +xhost + python $DIR/LPHK.py conda deactivate