comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Remotely running IDL on a Mac using X11
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Remotely running IDL on a Mac using X11 [message #64271] Wed, 17 December 2008 19:33 Go to next message
Patrick V. Ford is currently offline  Patrick V. Ford
Messages: 14
Registered: February 1997
Junior Member
On Dec 17, 7:30 am, Jeremy Bailin <astroco...@gmail.com> wrote:
> On Dec 16, 9:57 pm, "pfo...@bcm.tmc.edu" <pf...@bcm.tmc.edu> wrote:
>
>
>
>> Greetings,
>
>> I am (occasionally) using IDL on a MacOS X 10.5.6, and I want to set
>> it up so a person I am collaborating with can access my Mac, which is
>> considerably more powerful than his PC laptop. I believe I have solved
>> the issues with port forwarding through my firewall/vpn box and
>> getting the Mac configured to accept the ssh –X logins.
>
>> Not being a unix person, I am now at a point where I can open a remote
>> (severe) X11 shell and enter CLI commands, but I don’t know how to
>> open/run IDL from the X11 shell and see the GUI. Some of this may be
>> due to paths being needed to be set.
>
>> I would greatly appreciate advice on how to get this functioning. It
>> is probably simple once I know.
>
>> Thanks
>
>> Patrick Ford, M.D.
>> Pfo...@bcm.tmc.edu
>
> If IDL is installed in /Applications/itt/idl, then make sure that /
> Applications/itt/idl/bin is in your path, and type:
>
> idlde
>
> (you can do "echo $PATH" to see what the path looks like... if it's
> not there, then add it with "export PATH=$PATH:/Applications/itt/idl/
> bin" if you're using a Bourne-style shell like sh or bash or "setenv
> PATH $PATH:/Applications/itt/idl/bin" if you're using a C-shell style
> shell like csh or tcsh)
>
> -Jeremy.

The path made it work on the local machine. Over my LAN, when I logged
in using ssh -X or ssh -Y, I got the following error message when I
typed in idlde:

_RegisterApplication(), FAILED TO establish the default connection to
the Window Server, _CGSDeaultConnection() is NULL.

Below is what my ssh_config file looks like. Do I need to change it?

# $OpenBSD: ssh_config,v 1.22 2006/05/29 12:56:33 dtucker Exp $

# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.

# Configuration data is parsed as follows:
# 1. command line options
# 2. user-specific file
# 3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.

# Site-wide defaults for some commonly used options. For a
comprehensive
# list of available options, their meanings and defaults, please see
the
# ssh_config(5) man page.

# Host *
# ForwardAgent no
ForwardX11 yes
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
# GSSAPIKeyExchange no
# GSSAPITrustDNS no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# Port 22
# Protocol 2,1
# Cipher 3des
# Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-
cbc,arcfour,aes192-cbc,aes256-cbc
# EscapeChar ~
# Tunnel no
# TunnelDevice any:any
# PermitLocalCommand no


Thanks

pf
Re: Remotely running IDL on a Mac using X11 [message #64280 is a reply to message #64271] Wed, 17 December 2008 06:57 Go to previous messageGo to next message
T.H. is currently offline  T.H.
Messages: 13
Registered: December 2008
Junior Member
On Dec 16, 9:57 pm, "pfo...@bcm.tmc.edu" <pf...@bcm.tmc.edu> wrote:
> Greetings,
>
> I am (occasionally) using IDL on a MacOS X 10.5.6, and I want to set
> it up so a person I am collaborating with can access my Mac, which is
> considerably more powerful than his PC laptop. I believe I have solved
> the issues with port forwarding through my firewall/vpn box and
> getting the Mac configured to accept the ssh –X logins.
>
> Not being a unix person, I am now at a point where I can open a remote
> (severe) X11 shell and enter CLI commands, but I don’t know how to
> open/run IDL from the X11 shell and see the GUI. Some of this may be
> due to paths being needed to be set.
>
> I would greatly appreciate advice on how to get this functioning. It
> is probably simple once I know.
>
> Thanks
>
> Patrick Ford, M.D.
> Pfo...@bcm.tmc.edu




I've never set anything like this up with a Mac but have done it many
times under Linux. My guess is that all you need to do is enable X11
tunneling on the SSH client (running on the remote PC). This is easy
to find and do if you are using Putty. Also you need to make sure
something like Xming is installed on the remote PC. Let us know if
this does the trick.
Re: Remotely running IDL on a Mac using X11 [message #64282 is a reply to message #64280] Wed, 17 December 2008 05:30 Go to previous messageGo to next message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
On Dec 16, 9:57 pm, "pfo...@bcm.tmc.edu" <pf...@bcm.tmc.edu> wrote:
> Greetings,
>
> I am (occasionally) using IDL on a MacOS X 10.5.6, and I want to set
> it up so a person I am collaborating with can access my Mac, which is
> considerably more powerful than his PC laptop. I believe I have solved
> the issues with port forwarding through my firewall/vpn box and
> getting the Mac configured to accept the ssh –X logins.
>
> Not being a unix person, I am now at a point where I can open a remote
> (severe) X11 shell and enter CLI commands, but I don’t know how to
> open/run IDL from the X11 shell and see the GUI. Some of this may be
> due to paths being needed to be set.
>
> I would greatly appreciate advice on how to get this functioning. It
> is probably simple once I know.
>
> Thanks
>
> Patrick Ford, M.D.
> Pfo...@bcm.tmc.edu

If IDL is installed in /Applications/itt/idl, then make sure that /
Applications/itt/idl/bin is in your path, and type:

idlde

(you can do "echo $PATH" to see what the path looks like... if it's
not there, then add it with "export PATH=$PATH:/Applications/itt/idl/
bin" if you're using a Bourne-style shell like sh or bash or "setenv
PATH $PATH:/Applications/itt/idl/bin" if you're using a C-shell style
shell like csh or tcsh)

-Jeremy.
Re: Remotely running IDL on a Mac using X11 [message #64362 is a reply to message #64271] Thu, 18 December 2008 05:41 Go to previous message
T.H. is currently offline  T.H.
Messages: 13
Registered: December 2008
Junior Member
On Dec 17, 10:33 pm, "pfo...@bcm.tmc.edu" <pf...@bcm.tmc.edu> wrote:
> On Dec 17, 7:30 am, Jeremy Bailin <astroco...@gmail.com> wrote:
>
>
>
>> On Dec 16, 9:57 pm, "pfo...@bcm.tmc.edu" <pf...@bcm.tmc.edu> wrote:
>
>>> Greetings,
>
>>> I am (occasionally) using IDL on a MacOS X 10.5.6, and I want to set
>>> it up so a person I am collaborating with can access my Mac, which is
>>> considerably more powerful than his PC laptop. I believe I have solved
>>> the issues with port forwarding through my firewall/vpn box and
>>> getting the Mac configured to accept the ssh –X logins.
>
>>> Not being a unix person, I am now at a point where I can open a remote
>>> (severe) X11 shell and enter CLI commands, but I don’t know how to
>>> open/run IDL from the X11 shell and see the GUI. Some of this may be
>>> due to paths being needed to be set.
>
>>> I would greatly appreciate advice on how to get this functioning. It
>>> is probably simple once I know.
>
>>> Thanks
>
>>> Patrick Ford, M.D.
>>> Pfo...@bcm.tmc.edu
>
>> If IDL is installed in /Applications/itt/idl, then make sure that /
>> Applications/itt/idl/bin is in your path, and type:
>
>> idlde
>
>> (you can do "echo $PATH" to see what the path looks like... if it's
>> not there, then add it with "export PATH=$PATH:/Applications/itt/idl/
>> bin" if you're using a Bourne-style shell like sh or bash or "setenv
>> PATH $PATH:/Applications/itt/idl/bin" if you're using a C-shell style
>> shell like csh or tcsh)
>
>> -Jeremy.
>
> The path made it work on the local machine. Over my LAN, when I logged
> in using ssh -X or ssh -Y, I got the following error message when I
> typed in idlde:
>
> _RegisterApplication(), FAILED TO establish the default connection to
> the Window Server, _CGSDeaultConnection() is NULL.
>
> Below is what my ssh_config file looks like. Do I need to change it?
>
> # $OpenBSD: ssh_config,v 1.22 2006/05/29 12:56:33 dtucker Exp $
>
> # This is the ssh client system-wide configuration file. See
> # ssh_config(5) for more information. This file provides defaults for
> # users, and the values can be changed in per-user configuration files
> # or on the command line.
>
> # Configuration data is parsed as follows:
> # 1. command line options
> # 2. user-specific file
> # 3. system-wide file
> # Any configuration value is only changed the first time it is set.
> # Thus, host-specific definitions should be at the beginning of the
> # configuration file, and defaults at the end.
>
> # Site-wide defaults for some commonly used options. For a
> comprehensive
> # list of available options, their meanings and defaults, please see
> the
> # ssh_config(5) man page.
>
> # Host *
> # ForwardAgent no
> ForwardX11 yes
> # RhostsRSAAuthentication no
> # RSAAuthentication yes
> # PasswordAuthentication yes
> # HostbasedAuthentication no
> # GSSAPIAuthentication no
> # GSSAPIDelegateCredentials no
> # GSSAPIKeyExchange no
> # GSSAPITrustDNS no
> # BatchMode no
> # CheckHostIP yes
> # AddressFamily any
> # ConnectTimeout 0
> # StrictHostKeyChecking ask
> # IdentityFile ~/.ssh/identity
> # IdentityFile ~/.ssh/id_rsa
> # IdentityFile ~/.ssh/id_dsa
> # Port 22
> # Protocol 2,1
> # Cipher 3des
> # Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-
> cbc,arcfour,aes192-cbc,aes256-cbc
> # EscapeChar ~
> # Tunnel no
> # TunnelDevice any:any
> # PermitLocalCommand no
>
> Thanks
>
> pf

It looks like X11 is turned on on the server side but it also needs to
be turned on on the client side. Does the Windows PC you are trying
to connect from have an X-server application installed and running?
For example, I always use Xming. Start it before connecting to the
remote machine.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: compiling errors in different computers with CW_BGROUP and GET_SCRREEN_SIZE
Next Topic: Re: Generating a widget 'event' from an external program...

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 20:01:58 PDT 2025

Total time taken to generate the page: 0.03303 seconds