Sanori, Let me tell you, I wrote xwinclip and I still don't fully understand how to make it work well when using -query.
I can tell you that running xhost on your Windows machine won't help anything. What you need to do is run xhost in a terminal that is running within your -query session. That should setup XWin.exe on your machine to accept connections from local clients. The reason you can run xhost on your Windows machine is that not even xhost has permission to connect to XWin.exe at that point, so xhost cannot modify the access control list. I hope that helps, let us know if it does. Harold -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Joo-won Jung Sent: Sunday, January 05, 2003 8:49 AM To: [EMAIL PROTECTED] Subject: xwinclip-Test07 does not work with XWin -query Hello list, Thank you, the developers and users of XFree86-cygwin. Most of the cases XFree86-cygwin works fine on my computer. But, I want to tell a problem that I have got in stuck. I'm using Windows XP. I succeeded copy&paste text between Windows and X window using xwinclip. But I failed copy&paste when I start X with -query option. The error messages of xwinclip is as follows: UnicodeSupport - Windows NT/2000/XP Could not open display, try: 1, sleeping: 4 Could not open display, try: 2, sleeping: 4 Could not open display, try: 3, sleeping: 4 Failed opening the display, giving up I added my host to X control list, using "xhost" and tried "xwinclip -display :0" but it gives same error message. Since "xclipboard -display :0" worked, I bet I did not wrong in X control list. I don't know how the xwinclip.exe works. Please give me some information or pointers about this problem. -Sanori