title: X11 connection rejected because of wrong authentication
body: <p>I am getting a error while accessing the firefox using X11Forwarding.</p>
  
  <pre><code>[root@station2 ~]# firefox
  KiTTY X11 proxy: wrong authorisation protocol attemptedKiTTY X11 proxy: wrong authorisation protocol attemptedError: cannot open display: localhost:10.0
  </code></pre>
  
  <p><strong>setup the following values: /etc/ssh/sshd_config</strong></p>
  
  <pre><code>X11Forwarding yes
  X11DisplayOffset 10
  X11UseLocalhost yes
  </code></pre>
  
  <p>** Installed the package** </p>
  
  <pre><code>#yum install xorg-x11-xauth
  #yum -y install xauth
  
  [root@station2 .ssh]# echo $DISPLAY
  localhost:10.0
  
  #mkxauth -c
  adding key for station2.example.com to /root/.Xauthority ... done
  </code></pre>