• 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: Error _X11TransSocketUNIXConnect: Cannot connect to non-local host
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error _X11TransSocketUNIXConnect: Cannot connect to non-local host


  • Subject: Re: Error _X11TransSocketUNIXConnect: Cannot connect to non-local host
  • From: Thorsten Zörner <email@hidden>
  • Date: Tue, 8 Jan 2008 22:38:23 +0100

Dear Ben, happy new year!

Thanks for looking into this again.
In another mail I told you guys, I goofed up with my X environment:
At one point I had swept everything X off the hard drive, and re- installed the X11 2.1.1 ONLY.
Later, much later, I noticed that I needed the X11 coming with Leopard as well.
So I was able after all to compile and run scribus 1.3.3.9 allright.


Actually, I've just checked with otool and I get a different answer to your two suggestions:
/usr/X11R6/lib/libX11.6.dylib (compatibility version 6.2.0, current version 6.2.0)


Well, at least scribus works for me now.

Cheers,
Thorsten.


On 08.01.08, at 22:06, Ben Byer wrote:

That's one approach to solving it -- another would be to just set DISPLAY=:0 (or :1 or :2, if you have multiple users logged in).

The actual cause of this is that when you build applications with MacPorts, it builds libX11 itself, and I haven't yet submitted the launchd patches to there. :/ You can verify that this is the case by running "otool -L" on the application binary and verifying that it's linking against /opt/local/lib/libX11.dylib (bad) vs. /usr/X11/ lib/libX11.dylib (good).

You could probably then use install_name_tool to fix the binary to point at the right version of libX11 -- see its manpage for details, if you'd like to go that route.

On Jan 8, 2008, at 6:26 AM, Antony Curtis wrote:

Hi,

For some applications, I find that I have to "ssh -X localhost" and set DISPLAY=localhost:10.0 for those which do not like connecting to launchd.

Regards,
Antony.

On 27 Dec, 2007, at 16:12, Thorsten Zörner wrote:

Hi there,

till yesterday night, I could start my Scribus 1.3.3.9
installed with MacPorts 1.600 on a MacBook Pro, 2 GHz running 10.5.1
and using X11-2.1.1 handsomely just with a Terminal command... great!


Then I fiddled around a little too much, I guess,
installing and uninstalling new ports, eventually installing scribus from scratch
and now I get this:


Macintosh-2:~ thorsten$ scribus
_X11TransSocketUNIXConnect: Cannot connect to non-local host ?
XIO: fatal IO error 22 (Unknown error: 0) on X server "/tmp/ launch-yffOJE/:0"
after 88 requests (87 known processed) with 0 events remaining.


My DISPLAY env is
DISPLAY=/tmp/launch-yffOJE/:0

What is going wrong here?
Any help is greatly appreciated.

Cheers,
Thorsten.

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

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

Ben Byer CoreOS / BSD Technology Group, XDarwin maintainer


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Error _X11TransSocketUNIXConnect: Cannot connect to non-local host
      • From: Jeremy Huddleston <email@hidden>
References: 
 >Re: Error _X11TransSocketUNIXConnect: Cannot connect to non-local host (From: Antony Curtis <email@hidden>)
 >Re: Error _X11TransSocketUNIXConnect: Cannot connect to non-local host (From: Ben Byer <email@hidden>)

  • Prev by Date: Re: Error _X11TransSocketUNIXConnect: Cannot connect to non-local host
  • Next by Date: Re: Error _X11TransSocketUNIXConnect: Cannot connect to non-local host
  • Previous by thread: Re: Error _X11TransSocketUNIXConnect: Cannot connect to non-local host
  • Next by thread: Re: Error _X11TransSocketUNIXConnect: Cannot connect to non-local host
  • Index(es):
    • Date
    • Thread