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

Home » Public Forums » archive » Remote X server
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
Remote X server [message #87839] Thu, 27 February 2014 13:44 Go to next message
Jordan Guerra is currently offline  Jordan Guerra
Messages: 5
Registered: August 2012
Junior Member
Hi everyone. I hope some of you can help me with this.

I'm working on IDL in a machine in a remotely way. I normally connect to it using:

ssh -XY user@machine

once I'm in I want to run an IDL save file in this way

nohup idl -vm=/path_to_file/program.sav &> /path_to_file/logfile.log &

and it works perfectly. I can see progress in the log file. The problem comes when I logout. My process gets killed and always gives me this message;

XIO: fatal IO error 11 (Resource temporarily unavailable) on X server "localhost:10.0"^M
210 after 298 requests (298 known processed) with 0 events remaining.^M

or something similar. I have an idea that the problem is related to the X server. I've tried setting the DISPLAY variable to remote_server:0.0 or localhost:10.0 but it does not work. For what I understand, I'm opening the X server in my end of and that's why it dies when I log out. However, I don't know how to get around this problem.

Any suggestion? Please...

Thanks in advance.
Re: Remote X server [message #87840 is a reply to message #87839] Thu, 27 February 2014 13:56 Go to previous messageGo to next message
Matthew Argall is currently offline  Matthew Argall
Messages: 286
Registered: October 2011
Senior Member
> The problem comes when I logout. My process gets killed and always gives me this message;
> XIO: fatal IO error 11 (Resource temporarily unavailable) on X server "localhost:10.0"^M
>
> 210 after 298 requests (298 known processed) with 0 events remaining.^M

I have tried the same thing. It seems as though IDL requires an X11 connection even if no windows are being opened.

Would love to hear if anyone has a solution!
Re: Remote X server [message #87841 is a reply to message #87839] Thu, 27 February 2014 14:03 Go to previous messageGo to next message
Lajos Foldy is currently offline  Lajos Foldy
Messages: 176
Registered: December 2011
Senior Member
On Thursday, February 27, 2014 10:44:50 PM UTC+1, Jordan Guerra wrote:

> Any suggestion? Please...

Xvfb: https://groups.google.com/forum/#!topic/comp.lang.idl-pvwave /unlPXXvFnGo

regards,
Lajos
Re: Remote X server [message #87843 is a reply to message #87839] Thu, 27 February 2014 14:50 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Thursday, February 27, 2014 4:44:50 PM UTC-5, Jordan Guerra wrote:
> Hi everyone. I hope some of you can help me with this.
>
>
>
> I'm working on IDL in a machine in a remotely way. I normally connect to it using:
>
>
>
> ssh -XY user@machine
>
>
>
> once I'm in I want to run an IDL save file in this way
>
>
>
> nohup idl -vm=/path_to_file/program.sav &> /path_to_file/logfile.log &
>
>
>
> and it works perfectly. I can see progress in the log file. The problem comes when I logout. My process gets killed and always gives me this message;
>
>
>
> XIO: fatal IO error 11 (Resource temporarily unavailable) on X server "localhost:10.0"^M
>
> 210 after 298 requests (298 known processed) with 0 events remaining.^M
>
>
>
> or something similar. I have an idea that the problem is related to the X server. I've tried setting the DISPLAY variable to remote_server:0.0 or localhost:10.0 but it does not work. For what I understand, I'm opening the X server in my end of and that's why it dies when I log out. However, I don't know how to get around this problem.
>
>
>
> Any suggestion? Please...

Before you run IDL, be sure to unset the DISPLAY variable.
unsetenv DISPLAY # in csh or tcsh
export unset DISPLAY # in sh or bash

This should prevent IDL from trying to initialize an X connection at startup.

Also, wouldn't you want to use the "-x" option (lower case) to disable X forwarding?

Craig
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Guide: how to call Fortran from IDL in a portable and stardard F 2003 way
Next Topic: Trouble using Coyote Graphics library to write PostScript file - keywords from cgps_config aren't accepted by cgps_open

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

Current Time: Wed Oct 08 15:33:42 PDT 2025

Total time taken to generate the page: 0.00496 seconds