image
image

|


Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old October 26th, 2004, 09:04 PM
Registered User
 
Join Date: Oct 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
rokstar is on a distinguished road
iTerm, bookmarks, and X11 forwarding...

OK, so I've recently discovered iTerm and I like it thus far. However, when I try to do the following I run into problems:

I want to set up a bookmark to ssh into a remote machine and use X forwarding so I can run Linux apps on my mac. I try this by setting the bookmark as "ssh -X username@address". However, when I try using this bookmark, the DISPLAY env variable (which gets set in my .profile) for some reason doesn't get set, so the remote machine complains about not knowing the DISPLAY. Any ideas? thanks,

Rok
Reply With Quote
  #2  
Old December 31st, 2005, 08:52 AM
Registered User
 
Join Date: Dec 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
patb2 is on a distinguished road
Rok,
Empirical evidence seems to show that ssh will honor a request to do X11 forwarding only if it finds $DISPLAY is set in the calling process (iTerm in your case, or the shell when you use the command line).

To set DISPLAY in iTerm you need to use PropertyListEditor.app to add an entry in .MacOSX/environment.plist, then log out and back in. See
http://developer.apple.com/qa/qa2001/qa1067.html

The value I gave DISPLAY was ":0.0" which works for me.

PatB2
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 08:00 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.