• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: setenv ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: setenv ?
      • From: Nathan <email@hidden>
References: 
 >setenv ? (From: "Dee Ayy" <email@hidden>)
 >Re: setenv ? (From: "Brad Cavanagh" <email@hidden>)

  • Prev by Date: Re: setenv ?
  • Next by Date: Re: setenv ?
  • Previous by thread: Re: setenv ?
  • Next by thread: Re: setenv ?
  • Index(es):
    • Date
    • Thread