Re: Error _X11TransSocketUNIXConnect: Cannot connect to non-local host
Re: Error _X11TransSocketUNIXConnect: Cannot connect to non-local host
- Subject: Re: Error _X11TransSocketUNIXConnect: Cannot connect to non-local host
- From: Ben Byer <email@hidden>
- Date: Tue, 08 Jan 2008 13:06:40 -0800
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
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden