Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
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



I'm guessing you probably have a libX11 that doesn't like that $DISPLAY. Check 'otool -L <your binary>' and make sure it's linked against /usr/X11/lib/libX11.dylib and not one in in your macports, fink, /usr/local, etc directories. If you want to compile libX11 for yourself rather than use ours, make sure you use a recent git snapshot (http://gitweb.freedesktop.org/?p=xorg/lib/libX11.git;a=summary) or atleast this patch
http://gitweb.freedesktop.org/?p=xorg/lib/libX11.git;a=commitdiff;h=e8d4cefa0837afa149a10e981528b368485a9e38;hp=13ac80469f6958cabac596834e203bd9cb6d4c94


You also need an updated libxtrans when compiling libX11 (yes, when *compiling*)... so if macports or whatever installs its own libxtrans without our patches, it can mess up the libX11 install. You can find those patches in freedesktop git as well.

-Jeremy

On Dec 27, 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

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

References: 
 >Error _X11TransSocketUNIXConnect: Cannot connect to non-local host (From: Thorsten Zörner <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.