Hi Robert,

I am not a programmer or coder or anything like that. I am just an MD doing
neuroimaging-based research so I really hope that I got your question
right. So from my understanding your session basically times out. I was
wondering why don't you use the screen command? I mean why don't you start
your "ssh -X" session as you normally do and when you log into your server
type screen -S "any name you want to give to your task so that you can
remember it". This will initiate the screen session that you can detach and
then you can re-attach to that particular session whenever you want without
any issues. If your forwarding is set up correctly I think screen command
will save you. You can detach soon after you initiate your task and then
re-attach that screen whenever you want. This way you can keep this running
without timing out.
https://www.rackaid.com/blog/linux-screen-tutorial-and-how-to/

I am not sure if this is helpful. Please let me know. Thanks a lot.

Best regards,
Magda.

On Wed, May 18, 2016 at 8:05 PM, Robert Brewer <[email protected]
> wrote:

> I'm experiencing a weird problem with X11 forwarded via ssh from a CentOS
> 7 system to XQuartz 2.7.8 running on OS X 10.11.4.
>
> I can forward X using either "ssh -X" or "ForwardX11 yes" and it works
> fine. However, after some number of minutes (10? 15?) in that ssh session I
> can no longer start new clients, they get messages like "Could not connect
> to display localhost:10.0". If I log out of my ssh session and reconnect, I
> can start clients again with no problems. Needless to say, I spent a lot of
> time being confused because forwarding would work and then stop working for
> no reason (leading to lots of configuration tweaking) until I realized it
> was time-based.
>
> Any ideas on what could be causing this, or where I should look? I wonder
> if some socket or temp file is getting cleaned up?
>
> Thanks in advance for any help on this.
>
> --
> Robert Brewer
> http://robertsbrewer.wordpress.com/
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> X11-users mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/x11-users/magda.tsintou%40gmail.com
>
> This email sent to [email protected]
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to