Re: Fwd: Re: mc-4.6.1-pre2b



On Thu, 27 Jan 2005, Leonard den Ottolander wrote:

Hi Pavel, Pavel,

On Thu, 2005-01-27 at 06:50, Pavel Shirshov (pchel) wrote:
mc exists when run remotely over ssh with X forwarding enabled:

X Error of failed request:  BadWindow (invalid Window parameter)
   Major opcode of failed request:  38 (X_QueryPointer)
   Resource id in failed request:  0x60
   Serial number of failed request:  6
   Current serial number in output stream:  6

This is an openssh issue. Please compare
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=125838 . You need
to use ssh with -Y instead of -X IIRC.

I wouldn't call this an OpenSSH issue.  From
http://www.openssh.com/txt/release-3.8:

* ssh(1) now uses untrusted cookies for X11-Forwarding.
  Some X11 applications might need full access to the X11 server,
  see ForwardX11Trusted in ssh(1) and xauth(1) for more information.

So, mc needs full access, but it cannot get in certain cases. If that happens, mc should stop using X events without exiting. It's not like mc is completely useless without full access to the X server.

--
Regards,
Pavel Roskin



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]