Tutorial :login from cygwin to Mac OS X using xterm issue



Question:

  • open cygwin shell
  • run ssh -Y user@MACOSXSERVER
    • No xauth data using fake authentication data for X11 forwarding <-- Warning
    • login MACOSXSERVER OK
  • set DISPLAY=CYGWINIP:0.0
  • xterm &

And I get the following error

  • Xlib: connection to "CYGWINIP:0.0" refused by server Xlib: No protocol specified

What went wrong?


Solution:1

You're rewriting the value of $DISPLAY as set by sshd. This is preventing X forwarding from working. Stop doing this.


Solution:2

running xhost + before run ssh solves this problem.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »