retitle 339001 geximon: bad error message with remote display and untrusted X11 
forwarding
severity 339001 wishlist
thanks

On 2006-05-03 15:11:55 +0200, Vincent Lefevre wrote:
> On 2006-04-22 23:55:07 +0100, David Watson wrote:
> > I have been unable to replicate this bug, although a new version of the 
> > package is due to be released soon, and I would be grateful if you could 
> > check if the new version suffers from the same bug.
> 
> I can't reproduce it either (geximon started on the same machine,
> but I don't remember which machine had the X server, so I'll try
> tonight with my Mac OS X machine, with and without trusted X11
> forwarding).

OK, the error occurs only with untrusted X11 forwarding. This is not
a bug, but the error message is bad, as it doesn't explain anything,
so that the user doesn't know how to solve the problem. Worse, he may
think that there is a bug in geximon. Indeed the error is currently:

  The program 'geximon' received an X Window System error.
  This probably reflects a bug in the program.
  The error was 'BadWindow (invalid Window parameter)'.
  [...]

The second sentence should probably be replaced by something like:

  If the program is started remotely by SSH, then this could mean that
  you are using untrusted X11 forwarding. You need to use "ssh -Y" or
  add "ForwardX11Trusted yes" to your ssh_config.
  Otherwise this probably reflects a bug in the program.

References:
  http://www.openssh.com/faq.html#3.13
  http://docs.info.apple.com/article.html?artnum=302349

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA

Reply via email to