Following up on my own post, I figure this out today after a bit of
googling:

On Tue, Jul 27, 2004, Bill Campbell wrote:
...
>The first problem comes when running perl-tk on a remote client.
>It fails with the following output.
>
>X Error of failed request:  BadAtom (invalid Atom parameter)
>  Major opcode of failed request:  20 (X_GetProperty)
>  Atom id in failed request:  0x1a6
>  Serial number of failed request:  11
>  Current serial number in output stream:  11
>
>Both the SuSE 9.1 Pro and the remote system are running tk-8.4.6.  The
>perl::tk scripts that fail on the remote system do run directly on the SuSE
>9.1 system.  I get the same behaviour running the remote perl-tk clients on
>a SuSE 9.0 Professional client machine where it has tk-8.4.4.  The SuSE 9.0
>Pro system is running XFree86-4.3.0.1-46 while the SuSE 9.1 Pro is running
>XFree86-4.3.99.902-43.25.

This problem appeared on a SuSE 9.0 Professional system after I updated to
OpenPKG Release 2.1.  It was frustrating as (a) xeyes and some X-clients
worked, but perl-tk applications failed.  I did some further testing today
on this as I have some perl-tk scripts that are essential to my daily work.
I found that the same problem showed up with Tkinter and python so I
figured it was probably a tcl problem.  Doing a google search on
``X_GetProperty tcl'' came up with this link which pointed to the
ssh_config variable, ForwardX11Trusted, which needs to be set to ``yes'':

http://archive.netbsd.se/?list=openssh-unix-dev&a=2004-05&mid=230004

Setting ``ForwardX11Trusted yes'' in the ssh_config file seems to have
fixed the problems.

The problem below appears to be the same thing.

I suggest adding ``ForwardX11Trusted'' to the default ssh_config file, with
comments explaining how it affects this problem.

>The second problem comes after being logged into KDE for an extended period
>of time in which any X client fails with something like this from xeyes
>which appears to be some ``security'' timeout.
>
>       Xlib: connection to "localhost:14.0" refused by server
>       Xlib: Invalid MIT-MAGIC-COOKIE-1 key
>       Error: Can't open display: localhost:14.0

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

Those who cast the vote decide nothing.
Those who count the vote decide everything. (Joseph Stalin)
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to