I am trying to run 'xhost +' on CentOS 8 (such that I can grab a screen shot) but its not letting me.
On boot of X I run the "xhost +" then later with SSH into hte box - I run export DISPLAY=:0.0 gnome-screenshot -f jj.png and I get the cannot open display message.
This works on the older CentOS 7. What is the magic for C8? Thanks,
Jerry