gridSetup.sh ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.

When setting up 19c GI by running “gridSetup.sh”, the following errors occur:

 $ ./gridSetup.sh

ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.

No X11 DISPLAY variable was set, but this program performed an operation which requires it.

SOLUTION

Enable X11forwarding in /etc/ssh/sshd_config.

# ls -ltr /etc/ssh/sshd_config
-rw——-. 1 root root 4131 Apr 4 2023 /etc/ssh/sshd_config

# vi /etc/ssh/sshd_config

X11Forwarding yes

# systemctl restart sshd