X11-forwarding : ? (disabled or not supported by server)

X11-forwarding : ? (disabled or not supported by server)
Symptoms:
+——————————————————————–+
¦ • MobaXterm 20.3 • ¦
¦ (SSH client, X-server and networking tools) ¦
¦ ¦
¦ ? SSH session to admin ¦
¦ • SSH compression : ? ¦
¦ • SSH-browser : ? ¦
¦ • X11-forwarding : ? (disabled or not supported by server) ¦
¦ • DISPLAY : 10.10.0.100:0.0 ¦
¦ ¦
¦ ? For more info, ctrl+click on help or visit our website ¦
+——————————————————————–+

Solution:
[root@linux01 ~]# vi /etc/ssh/sshd_config
[root@linux01 ~]# grep -i x11 /etc/ssh/sshd_config
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
# X11Forwarding no

[root@linux01 ~]# service sshd restart

Redirecting to /bin/systemctl restart sshd.service
¦ • MobaXterm 20.3 • ¦
¦ (SSH client, X-server and networking tools) ¦
¦ ¦
¦ ? SSH session to admin ¦
¦ • SSH compression : ? ¦
¦ • SSH-browser : ? ¦
¦ • X11-forwarding : ? (remote display is forwarded through SSH) ¦
¦ • DISPLAY : ? (automatically set on remote server) ¦
¦ ¦
¦ ? For more info, ctrl+click on help or visit our website ¦
+——————————————————————–+
[root@linux01 ~]# yum install xclock
[root@linux01 ~]# yum install xhost

[admin@linux01 ~]$ xclock
Warning: Missing charsets in String to FontSet conversion

Reference:
https://stackoverflow.com/questions/40746146/how-does-mobaxterm-know-whether-x11-forwarding-is-working-on-remote-server

Leave a Reply

Your email address will not be published. Required fields are marked *