linux - "No X11 DISPLAY variable" - what does it mean? - Stack Overflow
Are you running this from within an X11 environment? You can use a terminal window, but it has to be within X (either after a graphical login, or by running startx). If you're already within a graphical environment, try export DISPLAY=:0 for bash like she...