After updating openssl and openssh, I got trouble with server.
(base) ichan-yeong@ichan-yeong-ui-noteubug LAB_local % ssh -X ID@server
X11 forwarding request failed on channel 0
[chanyeong:~]$ xclock
Error: Can't open display:
I tried almost everything I can (including re-installing everything related to the server), but the problem still exits. using -v option, I get the following result.
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: Sending environment.
debug1: channel 0: setting env LANG = "ko_KR.UTF-8"
X11 forwarding request failed on channel 0
My system is written blow
Server:
[chanyeong:~]$ cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
Local(but this problem happens in other “local” computers)
enter image description here
I tried specifing display number(export DISPLAY:OO), reinstalling openssl, openssh, xauth, xorg etc…, restart sshd service and almost everything I can find in the web.
이찬영 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.