• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Strange $DISPLAY behaviour with .Xauthority files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange $DISPLAY behaviour with .Xauthority files


  • Subject: Re: Strange $DISPLAY behaviour with .Xauthority files
  • From: Vivien Mary Kendon <email@hidden>
  • Date: Fri, 10 Jan 2003 11:15:02 -0800 (PST)

On Fri, 10 Jan 2003, John Harper wrote:

> On Friday, January 10, 2003, at 07:01  AM, Vivien Mary Kendon wrote:
> >> The difference is that X11.app creates Xauthority entries for the
> >> server, whereas XDarwin doesn't
> >
> > True, but an alien .Xauthority lying around can still upset XDarwin.
>
> How does it do that? Does XDarwin look for existing .Xauthority files

I don't know, but it has come up repeatedly on the fink-users list, and
has sort of made it into their docs,
http://fink.sourceforge.net/doc/x11/trouble.php (end of Sec 7.1).
I got bit by it once, but my fix was to direct it to look elsewhere for
its .Xauthority (there isn't one there BTW) since otherwise the suns that
created it would just put the problem back every time I used them.

> > I start X11 from a dock icon, and it modifies my (shared with suns)
>
> Most likely your XAUTHORITY variable wasn't set when the X server was
> launched
>
> Maybe because your XAUTHORITY variable is preventing the client-side
> access control from fetching the correct key? if you unset the
> XAUTHORITY variable in the shell, do things start working?

Yes, it does work if I do this (duh, should have tried that combo).  OK,
in that case the workaround for me is to condition setting that variable
in my .profile differently to pick up only the XDarwin case.

> > What is going on?  What is different about starting from the menu vs
> > starting from the command line?
>
> It may not pick up your environment variables when running from the menu

True enough if it didn't see it when it started.  I could add it to
the stuff it sources from .xinitrc and see what that does.  But on a quick
test, the suns and X11 seem to be happy to coexist with the same
.Xauthority file.  Cool...

Thanks!
-- Viv
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Strange $DISPLAY behaviour with .Xauthority files (From: John Harper <email@hidden>)

  • Prev by Date: Re: Window placement requests ignored
  • Next by Date: Re: glut
  • Previous by thread: Re: Strange $DISPLAY behaviour with .Xauthority files
  • Next by thread: ssh -X and AppleX11
  • Index(es):
    • Date
    • Thread