RE: Mouse button copy/paste not working
Charles Packer wrote: Igor Pechtchanski wrote: See http://x.cygwin.com/docs/faq/cygwin-x-faq.html#remote (please read the whole section). Igor Typical Unix-head response (Read the whole book...). There is nothing in the FAQ that deals with this problem. However, perusing the Cygwin/X installation instructions, under the section on logging on to remote clients, I noticed the suggested ssh command: ssh -Y -l username hostdomain. I checked to see what our PC guy had set me up with under the alias he had given me: ssh -X -l myname $1. Changing -X to -Y made all the difference and solved the problem. Returning to the FAQ, there is a question X forwarding does not work does not work with OpenSSH under Cygwin in which the answer I needed is embedded as an afterthought. Suggestion: Add to the FAQ a question specifically mentioning the symptoms I described. What browser are you using -- when i clicked on the link provided, my browser opened up with the following at the top of the browser page(i.e. my browser opened with the page scrolled to the correct location): 5. Remote connections 5.1. X11Forwarding does not work with OpenSSH under Cygwin A1: OpenSSH 3.8 enables untrusted X11 forwarding by default when connecting to an ssh server that supports untrusted X11Forwarding. Most ssh servers for GNU/Linux are versions of OpenSSH that do support untrusted X11Forwarding, so using OpenSSH 3.8 from Cygwin will result in a connection that uses untrusted X11Forwarding by default. You will quickly notice that this is the case if most of your X applications are now killed when you try to copy and paste or if xdpyinfo returns only a fraction of the supported extensions that it does if run locally. It is easiest to just override untrusted X11Forwarding by passing -Y to ssh in place of -X. The -Y does the same thing as -X, but it enables trusted X11Forwarding for the current connection. Which is exactly the answer you were looking for reid
RE: Mouse button copy/paste not working
On Tue, 21 Jun 2005, Reid Thompson wrote: What browser are you using -- when i clicked on the link provided, my browser opened up with the following at the top of the browser page(i.e. my browser opened with the page scrolled to the correct location): [SNIP] Which is exactly the answer you were looking for Actually the -Y parameter is mentioned at least two times. First in the cited passage on top, second (with error message) in the passage about the client config files. Anyway, now there is a new FAQ entry with parts of the error message in the question. Actually the FAQ needs some cleanup. There are a lot of old entries which should be moved to a section Removed entries too separate them from the active ones but to keep the links and references working. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
RE: Mouse button copy/paste not working
On Tue, 21 Jun 2005, Alexander Gottwald wrote: Actually the FAQ needs some cleanup. There are a lot of old entries which should be moved to a section Removed entries too separate them from the active ones but to keep the links and references working. Alexander, if you're cleaning up the FAQ anyway, you might want to coordinate with Joshua on the Cygwin-friendly firewalls question (see http://cygwin.com/ml/cygwin/2005-06/msg00926.html). Just a heads-up. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
Re: Mouse button copy/paste not working
On Mon, 20 Jun 2005, Charles Packer wrote: As a Unix veteran but first-time Cygwin user, I've discovered that I can't paste selected text with the middle button under these circumstances: I have logged into a remote Unix system and start some X Wrong list. Please follow-up to cygwin-xfree at cygwin dot com (I've set the Reply-To: accordingly). window from there -- an xterm, say, or xedit. I select text in one of those windows (by dragging with the left button down) and then try to paste somewhere else in the window. It will paste only if the selected text is still highlighted. This is not right; it should have been copied to some buffer that is still available to the middle button even if the originally selected text is no longer highlighted. Oddly enough, the problem doesn't exist with the local Cygwin xterms and xedit -- only with those that the remote system creates. For what it's worth, the .xinitrc script that Cygwin uses in this installation runs xwinclip and then wmaker. The invocation of twm has been commented out. When I do a ps, I see that wmaker appears twice. Incidentally, occasionally the middle button does worse than merely not paste; it kills the window. The error message showing in the main Cygwin xterm is: BadAtom(invalid Atom parameter); Major opcode of failed request: 18(X_Change Property). See http://x.cygwin.com/docs/faq/cygwin-x-faq.html#remote (please read the whole section). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
Re: Mouse button copy/paste not working
Igor Pechtchanski wrote: See http://x.cygwin.com/docs/faq/cygwin-x-faq.html#remote (please read the whole section). Igor Typical Unix-head response (Read the whole book...). There is nothing in the FAQ that deals with this problem. However, perusing the Cygwin/X installation instructions, under the section on logging on to remote clients, I noticed the suggested ssh command: ssh -Y -l username hostdomain. I checked to see what our PC guy had set me up with under the alias he had given me: ssh -X -l myname $1. Changing -X to -Y made all the difference and solved the problem. Returning to the FAQ, there is a question X forwarding does not work does not work with OpenSSH under Cygwin in which the answer I needed is embedded as an afterthought. Suggestion: Add to the FAQ a question specifically mentioning the symptoms I described.
Re: Mouse button copy/paste not working
On Mon, 20 Jun 2005, Charles Packer wrote: Igor Pechtchanski wrote: See http://x.cygwin.com/docs/faq/cygwin-x-faq.html#remote (please read the whole section). Igor Typical Unix-head response (Read the whole book...). I initially wrote please read the whole section 5 (which is only one printed page long, BTW), but then omitted the section number because I thought it was self-evident. Apparently not. There is nothing in the FAQ that deals with this problem. However, perusing the Cygwin/X installation instructions, under the section on logging on to remote clients, I noticed the suggested ssh command: ssh -Y -l username hostdomain. I checked to see what our PC guy had set me up with under the alias he had given me: ssh -X -l myname $1. Changing -X to -Y made all the difference and solved the problem. Returning to the FAQ, there is a question X forwarding does not work does not work with OpenSSH under Cygwin That is the exact question I pointed you to. in which the answer I needed is embedded as an afterthought. Suggestion: Add to the FAQ a question specifically mentioning the symptoms I described. The symptoms are there (i.e., the BadAtom message). True, they are not in the form of a question -- the FAQ maintainer reads this list and I'm sure will see your suggestion. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT