title: X11 Forwarding using Cygwin ssh got port 6000 Connection refused
body: <p>I try to forward X11 using Windows 10 machine as the client and a Ubuntu Linux machine as the server. The ssh is running under Cygwin, which contains xinit and xorg. The steps:</p>
  
  <ol>
  <li>Turn on the linux server machine.</li>
  <li>I enabled the forwarding both in the client and server side using sshd_config configuration file. </li>
  <li>I set display in Cygwin by executing:
   export DISPLAY=r1:0.0
  where r1 is the name of the server</li>
  <li>I enabled access list on the server side:
   xhost 192.168.1.143</li>
  <li>Connect to the server from Cygwin using ssh.</li>
  <li>Run lxterminal application, but got:</li>
  </ol>
  
  <blockquote>
  <pre><code>r1@r1:~$ lxterminal    
  debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
  debug1: client_request_x11: request from 127.0.0.1 37184
  connect r1 port 6000: Connection refused
  </code></pre>
  </blockquote>
  
  <p>Is r1 server port 6000 is rejecting? If yes, how so?</p>