I getting below error when running xclock command to one RHEL 7 server
$ xclock
PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused Error: Can't open display: XX.XX.XXX.XX:10.0
I did set below setting in /etc/ssh/sshd_config
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost no
I have tried with X11UseLocalhost Yes
or even with commented it out but no luck
I tried with setting ForwardX11Trusted yes
in cat
/home/user/.ssh/config
I am trying to connect from putty which is on my window 10 laptop . I did below setting in putty while connecting sever
selected - Enable X11 forwarding
selected - Remote x11 authentication protocol as -- MIT-magic-cookie-1
But no luck with above settings
Due security restriction I can't download any software like xming in my window laptop , also I don't have any other linux server from where I can ssh this server
Its very urgent for me please help me