public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* odd case of "Can't connect to display"
@ 2010-09-09 23:45 Jack Ostroff
0 siblings, 0 replies; only message in thread
From: Jack Ostroff @ 2010-09-09 23:45 UTC (permalink / raw)
To: cygwin-xfree
I'm doing "ssh user@host -X" to get to my linux desktop machine from my
laptop running Cygwin under Windows Vista. I've been doing this for
several months, and I know the basic setup is fine, because I can run
any X program without problems. However, just today, after being
logged in for a while, even if I have another X program running (in
background - so I'm using the same xterm I used to launch to other X
program) I get "Error: Can't open display: localhost:10.0" (Yes,
DISPLAY is correctly set to localhost:10.0.)
If I log out of the ssh session and start a new one, X programs work
again, but after a few minutes, it goes back to the error. I am
assuming that if the network (wireless from laptop to router, wired
from router to switch to desktop) were flaky, the ssh connection would
probably be affected, and the other running X program (sometimes emacs,
sometimes balsa email client) would also get dropped, but they both
continue running with no apparent problems.
I'd appreciate any ideas of how to troubleshoot what might be causing
this, since it is certainly annoying.
I've done a fair amount of searching, but everything I've found so far
is a problem with getting either X running at all, or getting ssh to
handle X, neither of which is my problem.
Thanks for any hints or suggestions.
Jack
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-09-09 23:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-09 23:45 odd case of "Can't connect to display" Jack Ostroff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).