Thanks a lot Brandon, that is really helpful. I would have needed that
soon. This is so much simpler and does not need any modification of the
XAuthorization file. That seems to be working! Thanks!

On Wed, May 18, 2016 at 8:29 PM, Brandon Allbery <[email protected]>
wrote:

> 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?
>>
>
> http://b.kl3in.com/2012/01/x11-display-forwarding-fails-after-some-time/
>
> tl;dr: bump ForwardX11Timeout (note that it has an upper limit of just
> under 600 hours, after which it wraps around a signed 32-bit value and ssh
> will crash on startup).
>
> --
> brandon s allbery kf8nh                               sine nomine
> associates
> [email protected]
> [email protected]
> unix, openafs, kerberos, infrastructure, xmonad
> http://sinenomine.net
>
>  _______________________________________________
> 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