Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Dear Jeremy,

thanks for your quick help yesterday.

It is linked against - among many others:
/usr/X11/lib/libX11.6.dylib (compatibility version 9.0.0, current version 9.0.0)


And actually, I don't necessarily want to compile anything more than needed.

Now, I found, that my environment is screwed up in a weird way.
Please have a look:

Last login: Fri Dec 28 17:46:07 on console
Macintosh-2:~ thorsten$ env
MANPATH=/usr/share/man:/usr/local/share/man:/usr/X11/man
TERM_PROGRAM=Apple_Terminal
TERM=xterm-color
SHELL=/bin/bash
TMPDIR=/var/folders/Mn/Mn6Zt+TN2Raw7++1YuzbUU+++TM/-Tmp-/
Apple_PubSub_Socket_Render=/tmp/launch-6TusVw/Render
TERM_PROGRAM_VERSION=237
QTDIR=/opt/local/lib
USER=thorsten
COMMAND_MODE=unix2003
SSH_AUTH_SOCK=/tmp/launch-u1gRul/Listeners
__CF_USER_TEXT_ENCODING=0x1F6:0:0
PATH=/opt/local/bin:/opt/local/sbin:/usr/X11/bin:/usr/bin:/bin:/usr/ sbin:/sbin:/usr/local/bin
PWD=/Users/thorsten
LANG=de_DE.UTF-8
SHLVL=1
HOME=/Users/thorsten
LOGNAME=thorsten
DISPLAY=/tmp/launch-DMlAVp/:0
SECURITYSESSIONID=92e580
_=/usr/bin/env
Macintosh-2:~ thorsten$


Where do all these /tmp/... come from?
This is what I get after I just installed X11-2.1.1 again and restarted,
started up Terminal.app und punched "env".

Help please, anyone.

Cheers,
Thorsten.


On 28.12.07, at 01:19, Jeremy Huddleston wrote:

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)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/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) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

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



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.