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
On Sun, 19 Apr, 2020 at 15:14:49 -0700, Jerry Geis wrote:
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
CentOS 8 runs GNOME on Wayland by default. X forwarding cannot work in those circumstances. To change that, choose "GNOME on Xorg" after clicking on the gear icon on the login screen.
I recommend running ssh with the -X or -Y flags when connecting to the remote box. It's more secure than using 'xhost +'.
CentOS 8 runs GNOME on Wayland by default. X forwarding cannot work in those circumstances. To change that, choose "GNOME on Xorg" after clicking on the gear icon on the login screen.
I recommend running ssh with the -X or -Y flags when connecting to the remote box. It's more secure than using 'xhost +'.
Thanks any way to do that from command line or install option?
Jerry
Am 20.04.2020 um 04:10 schrieb Jerry Geis:
I found it... https://www.tecmint.com/configure-xorg-as-default-gnome-session/
Care to fix your system time? Actually your postings date from 20.04.2020 while it is still 19.04.
The post I am replying to has
Date: Sun, 19 Apr 2020 19:10:47 -0700
in the header.
Alexander