Search code examples
macoscygwinxterm

login from cygwin to Mac OS X using xterm issue


  • 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

  • running xhost + before run ssh solves this problem.