Re: $DISPLAY settings in terminal
Re: $DISPLAY settings in terminal
- Subject: Re: $DISPLAY settings in terminal
- From: Daniel Price <email@hidden>
- Date: Wed, 2 Jul 2008 15:29:39 +0100
I have just installed the latest Xquartz update (v2.2.3) on my
laptop (intel macbook pro running 10.5.3). At work I use my macbook
pro in "lid-down" mode whilst plugged into an external monitor. In
the new version I am no longer able to launch X applications from
the apple terminal (e.g. typing nedit &) unless I explictly set the
DISPLAY to :1.0 (by default I have DISPLAY=:0.0 from somewhere,
though I don't set it in my .profile so I assume this is set by the
system somehow).
You shouldn't be setting DISPLAY anywhere in Leopard, it gets set
automatically. You need to find where it sets the DISPLAY variable
in your .bashrc/.profile etc and remove that.
but this is exactly the point - I *don't* set DISPLAY anywhere but it
is wrong in the apple terminal (set to :0.0) and this prevents the
launch of X applications, though right if I open an xterm (there it is
set to :1.0). (Also both xterm and terminal source my .profile/.bashrc
so it can't be something I have set).
Thanks,
Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden