Re: setenv ?
Re: setenv ?
- Subject: Re: setenv ?
- From: "Mark J. Reed" <email@hidden>
- Date: Wed, 1 Nov 2006 15:55:59 -0500
On 11/1/06, Brad Cavanagh <email@hidden> wrote:
On 11/1/06, Dee Ayy <email@hidden> wrote:
> How do I set environment variables?
If you're using the bash shell, you need to use export:
export DISPLAY=localhost:0.0
Correct, but DISPLAY is not something you should normally have to set yourself.
If you're ssh'ing to a remote host and trying to display X
applications back, you need to use "ssh -X" or "ssh -Y"' (the latter
is required if you're connecting to a Mac running 10.4) in the first
place. That should set DISPLAY for you on the remote end
automatically. And the correct value won't be "localhost:0", but
"localhost:10" or whatever the next display number sshd gets happens
to be.
--
Mark J. Reed <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
References: | |
| >setenv ? (From: "Dee Ayy" <email@hidden>) |
| >Re: setenv ? (From: "Brad Cavanagh" <email@hidden>) |