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:43:23 +0100
gotcha!
the offending DISPLAY setting was in my ~/.MacOSX/environment.plist.
Presumably this is used by terminal.app but not by xterm, explaining
the differences. As a minor aside this file seems to only be read on
login, so I had to log out and log in again for changes to take effect.
everything seems to work now - including the autostart.
Thanks a lot everyone.
Daniel
On 2 Jul 2008, at 15:33, Tom Scogland wrote:
It must be set, because the system sets it to something like the
following.
┌
─
(njustn
@lazarus:s000)───────────────────────────────────────────────────(~)─┐
└─(09:31:%)── echo $DISPLAY
──(Wed,Jul02)─┘
/tmp/launch-PlUOcL/:0
Not :0. In both terminal.app and xterm and any other terminal you may
wish to try, it has to be either something you set or something set by
an application you installed.
-Tom
On Wed, Jul 2, 2008 at 9:29 AM, Daniel Price <email@hidden>
wrote:
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)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
-N
AKA:Tom Scogland
I am enough of an artist to draw freely upon my imagination.
Imagination is more important than knowledge. Knowledge is limited.
Imagination encircles the world.
-Albert Einstein
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden