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
<-- Warninglogin 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 2
running xhost + before run ssh solves this problem.
OTHER TIPS
You're rewriting the value of $DISPLAY
as set by sshd
. This is preventing X forwarding from working. Stop doing this.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow