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)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden