1

I followed cygwin user guide as below: http://x.cygwin.com/docs/ug/using-remote-apps.html

on windows xp, i started Cygwin/X->XWin server,

EXPORT DISPLAY=:0.0
ssh -Y user@ip

i saw below warning

Warning: No xauth data; using fake authentication data for X11 forwarding.

after login, i typed bash-3.00$ xclock & [1] 26962 bash-3.00$ Xlib: connection to "clientip:0.0" refused by server Xlib: No protocol specified

Error: Can't open display: clientip:0.0

can anyone help?

hetaoblog
  • 249

1 Answers1

1

In a chat session some more evidence was examined, and this conclusion was reached:

yes, sometime ago, i added export DISPLAY=mywindowsip:0.0 in my shell rc file
so this was executed everytime when i ssh to the shell

The ssh-forwarded DISPLAY variable was being obliterated, and the unix machine was making unauthorized connections directly to the cygwin X server.