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: Finding my $DISPLAY programatically.



On Fri, May 2, 2008 at 10:38 AM, Robert Tillyard <email@hidden> wrote:
>  I use rexec to get the remote applications to run which works pretty well,
> however, I'm currently having to hard code the DISPLAY to <my IP>:0.0
> because the remote systems don't understand the launchd style DISPLAY.

I don't understand.  How do the remote systems deal with even a
non-launchd-style *local* DISPLAY value, e.g. just plain :0 without a
hostname?  Something must already be translating that somewhere.

Why not use ssh instead of rexec, with its X11 tunnelling that
automatically sets the remote DISPLAY appropriately?

-- 
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

This email sent to email@hidden

References: 
 >Finding my $DISPLAY programatically. (From: Robert Tillyard <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.