Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setenv ?




On Nov 1, 2006, at 1:17 PM, Nathan wrote:

On 11/1/06, Mark J. Reed <email@hidden> wrote:
Correct, but DISPLAY is not something you should normally have to set yourself.

I had to put:

export DISPLAY=":0.0"

in my .bash_profile since I got a Mac back when we were still on
Panther.  Otherwise X applications wouldn't connect when run from
Terminal.app.  I don't use X apps over SSH, though...

It's a good thing, because they would not work if you have the above in your profile. :-)
A safer thing might be:
export DISPLAY=${DISPLAY:-":0.0"}





--
The primary task of most software projects is to discover and resolve these unknowns rather than to build a system. -- Philip G. Armour
--
Richard Cook
✇ Lawrence Livermore National Laboratory
Bldg-453 Rm-4037, Mail Stop L-557
7000 East Avenue, Livermore, CA, 94550, USA
☎ (925) 423-9605
 (925) 423-6961
---
Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)


_______________________________________________
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

This email sent to email@hidden
References: 
 >setenv ? (From: "Dee Ayy" <email@hidden>)
 >Re: setenv ? (From: "Brad Cavanagh" <email@hidden>)
 >Re: setenv ? (From: "Mark J. Reed" <email@hidden>)
 >Re: setenv ? (From: Nathan <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.