lethargic_man: (computer geekery)
[personal profile] lethargic_man
Here's a little problem I have at work. My normal operating environment there is Cygwin running X-Window. From time to time I open a terminal on another machine using (an menu option bound to) xterm -e 'ssh -X <hostname>'. For several minutes X forwarding works nicely, but then any attempt to open a new window from the remote machine results in "Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable." Existing windows opened from the remote machine are unaffected, and new windows can still be opened from a new SSH session, so the problem is workable round, but it's annoying.

Has anyone here come across anything like this before?

Date: 2013-06-05 10:38 am (UTC)
simont: A picture of me in 2016 (Default)
From: [personal profile] simont
[Dropping in via my network page; hello, we both know [personal profile] liv]

I heard recently that up-to-date versions of the OpenSSH client default to timing out X forwarding after twenty minutes, so that no further X connections made to the forwarded port are propagated back to the real X server. You might try ssh -o "ForwardX11Timeout 24h" or something like that, and see if it makes a difference.

Profile

lethargic_man: (Default)
Lethargic Man (anag.)

March 2026

S M T W T F S
1234567
89 10111213 14
15161718192021
22232425262728
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Friday, March 20th, 2026 03:25 pm
Powered by Dreamwidth Studios