Share 
Follow 
AboutDownloadsForumsWikiSource CodeIssuesNews
Date:
2010-03-04 16:53
Priority:
3
State:
Open
Submitted by:
Charlie Kehoe (ckehoe)
Assigned to:
Christopher Bruns (cmbruns)
Summary:
Zephyr unusable over Remote X Display

Detailed description
Maybe this is a Tcl/Tk bug? I'm trying to run Zephyr 1.1.2 on a 32-bit Fedora Core 10 machine, displayed remotely on Mac OS 10.6 (over ssh). The Zephyr window opens just fine, but whenever my cursor enters a text box or button, it crashes with this error:

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

[1]+ Exit 1 zephyr

The serial number, of course, is always different, but everything else is always the same. Interestingly, the tabs work just fine - it's all the other controls that crash.

Some versioning information:

Local X server: XQuartz 2.3.4 (xorg-server 1.4.2-apple45)
Remote X server: xorg-x11-server 1.5.3-18.fc10
Local SSH: OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009
Remote SSHD: OpenSSH_5.1p1, OpenSSL 0.9.8g 19 Oct 2007
Linux kernel: Linux 2.6.18-164.2.1.el5 i686
Tcl interpreter: tcl-8.5.3-1.fc10.i386

Under OS X you apparently have to run X-forwarding from xterm instead of the default terminal. I used the -X flag to turn on forwarding. Anything else you need to know?

Add A Comment: Notepad

Message  ↓
Date: 2010-03-05 16:20
Sender: Christopher Bruns

Email received from OP:

> Hi Chris,
>
> Thanks for the quick reply. I tried (twice) to add a
> comment in the bug tracker, but it brought me back to the
> main bug listing with the error message "Tracker Item:
> Missing Parameters". I can't see the comment in the bug
> can you?
>
> Anyway, -Y seems to fix the problem. I assume there's no
> significant security implications here? Would Tcl/Tk have
> to fix it so -X works?
>
> - Charlie

Date: 2010-03-04 17:37
Sender: Christopher Bruns


I wonder if it might help to try the "-Y" flag to ssh instead of the "-X" flag. I found some discussions on the interwebs that might be illuminating:

http://mail-index.netbsd.org/current-users/2005/02/21/0003.html

http://www.brandonhutchinson.com/BadAtom_BadWindow_errors_with_ssh_X11_forwarding.html

No Changes Have Been Made to This Item

Feedback