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

Home » Public Forums » archive » Re: IDL without X11?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL without X11? [message #69599 is a reply to message #69596] Fri, 05 February 2010 08:50 Go to previous message
cgguido is currently offline  cgguido
Messages: 195
Registered: August 2005
Senior Member
On Feb 5, 10:37 am, nata <bernat.puigdomen...@gmail.com> wrote:

> So my question is if there is a way to run IDL without X ?

No idea. But if there is then the following is useless :-|

> Or, if you are good using Linux, how can I activate the X before the
> command
> idl -rt=program_script.sav -args A B C
> and how can i deactivate after ?

Well, you say you're working on a remote machine. This implies you
need to connect with X11-tunneling turned on. this is done with

ssh -X user@machine

Next, you should test x11 by, say, starting an xterm. If xterm won't
show up on the machine you are sitting at, then you need to debug your
X11. Probably soething to do with your DISPLAY variable in your shell.

If all works ok, then run your program and follow it with (assuming
BASH is your shell, find out with: echo $SHELL)
OLDDISPLAY=$DISPLAY
export DISPLAY=blahblahblah

this will "break" X11 on your local machine untill you set:
export DIAPLAY=$OLDDISPLAY


This prevents things from showing up n your local machine, but doesn't
actually break the X11 tunnel. Not sure how to do that. If it's
possible it should be a man or google away :-)

Let us know if this helps,
Gianguido
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: fingerprint
Next Topic: IDL processed mosaic image of the Moon, 8000x8800 pixels

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

Current Time: Thu Oct 09 21:11:23 PDT 2025

Total time taken to generate the page: 1.59983 seconds