Remote X server [message #87839] |
Thu, 27 February 2014 13:44  |
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 #87843 is a reply to message #87839] |
Thu, 27 February 2014 14:50  |
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
|
|
|