jkolata wrote:
> I did a fink selfupdate last week and I haven't been able to get X11  
> to run with
> Terminal since then.  Here is the message:
>
> xhost:  unable to open display ":0"
> xhost:  unable to open display ":0"
>
> [kolata:~] jkolata1% xterm
> xterm Xt error: Can't open display: :0
> [kolata:~] jkolata1%
>
> As far as I can tell, the update didn't replace the X11 package. 
Our updates don't mess with the system's stuff, which is what X11 is on
Leopard.  We wouldn't be replacing anything.
>  I  
> had a similar
> problem last September which was fixed by downloading Xquartz 2.3.1.
> This is still the X11 package I am using.  Here is the info:
>
> XQuartz 2.3.1 (xorg-server 1.4.2-apple17)
>
> I am running Xcode 3.1, and here is the version info from fink:
>
> Package manager version: 0.28.7
> Distribution version: selfupdate-rsync Wed Apr 15 09:45:37 2009, 10.5,  
> i386
>
> Should I be running a different version of Xquartz?  I notice that
> version 2.3.2.1 has been released.  Should I also download a new
> version of Xcode at the same time?
>
> James Kolata
>
>   
I can't imagine that a selfupdate did anything to break your X11 setup;
you could check, though, by temporarily turning off running Fink's
setup, e.g. by commenting out the line where /sw/bin/init.sh is sourced
in your .profile (I have no idea how your system is configured, so do
whatever is appropriate) and then start a new Terminal.app window.  If
you're able to run xterm from that Fink could be involved.

Are you setting DISPLAY yourself somewhere in a script?  If so, don't do
that--it doesn't work properly on Leopard.  Although I got a slightly
different error message:

$ export DISPLAY=:0
$ xterm
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xterm Xt error: Can't open display: :0

-- 
Alexander Hansen
Fink User Liaison


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to