Error "cannot connect to X server" Reported During the Verification
Symptom
During the verification, a message is displayed stating "PipedViewerPQ: cannot connect to X server".
Key Process and Cause Analysis
X11-forwarding is not enabled.
Conclusion and Solution
- Exit from the current screen.
CTRL+ Z
- Run the following command:
yum install -y xorg-x11-xauth xorg-x11-fonts* xorg-x11-font-utils xorg-x11-fonts-Type1 xclock
- Modify the /etc/ssh/sshd_config file.
- Restart the SSHD service.
systemctl restart sshd
Open the SSH window again and connect to the server. If X11-forwarding is ticked, it is enabled successfully.

- Perform 7 again.
Parent topic: Troubleshooting
