• 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: xhost/Xauthority/etc?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xhost/Xauthority/etc?


  • Subject: Re: xhost/Xauthority/etc?
  • From: Brandon Allbery <email@hidden>
  • Date: Thu, 5 Jun 2008 17:17:16 -0400


On 2008 Jun 5, at 15:59, Jay Levitt wrote:

I'm using 10.5.3 with Xquartz 2.1.1. (Which itself is odd, because I know I installed 2.2.1 over 10.5.3, and in fact the About pane says "Xquartz 2.1.1 - (xorg-server-1.3.0-apple20)". Hmm.)

You probably forgot that Xquartz has to be reinstalled after every Apple update because Software Update will happily overwrite the newer XQuartz with Apple's older one. (The alternative would be Software Update failing, which would be Bad.)



Anyway, I am using X clients on a Fedora Core 9 machine. Every time I restart X11.app, I need to open a terminal window and enter "xhost +" to allow micro to connect.

It would be better to find a proper way to do this, such as ssh X11 forwarding (ssh -X -Y) or possibly copying the xauth key (man xauth).


That said, sometimes commercial applications refuse to play by the rules and you have to expose yourself to significant security issues (i.e. anyone can read any password you type in) by turning off connection authorization with xhost. In this case, I'm not entirely certain of this (tracked through the X startup stuff but OSX tends to do things "differently") but I think you want to drop a script in /usr/ X11/lib/X11/xinit/startx.d which runs "xhost +". (It must be a script, xinitrc "."s it.)

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] email@hidden
system administrator [openafs,heimdal,too many hats] email@hidden
electrical and computer engineering, carnegie mellon university    KF8NH

_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
This email sent to email@hidden


  • Follow-Ups:
    • Re: xhost/Xauthority/etc?
      • From: Jay Levitt <email@hidden>
References: 
 >xhost/Xauthority/etc? (From: Jay Levitt <email@hidden>)

  • Prev by Date: Here's an odd one...
  • Next by Date: Re: Here's an odd one...
  • Previous by thread: xhost/Xauthority/etc?
  • Next by thread: Re: xhost/Xauthority/etc?
  • Index(es):
    • Date
    • Thread