public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* ssh -X user@host konsole opens a tunneled konsole, but then the tunnel lapses
@ 2011-03-04 18:29 Phlip
  2011-03-19  2:21 ` Phlip
  2011-03-19  8:09 ` Csaba Raduly
  0 siblings, 2 replies; 6+ messages in thread
From: Phlip @ 2011-03-04 18:29 UTC (permalink / raw)
  To: cygwin-xfree

CygWinners:

For years I have enjoyed one desktop with everything I need on it.

Then ssh -X stopped working. Sometimes, if I start a remote konsole,
and immediately start some new X window app, it runs thru the tunnel.

But now it trivially bombs, as if there were no remote X to attach to:

  kate: cannot connect to X server localhost:10.0

Is there a timeout setting, somewhere, for the X tunnel? or some
similar setting to look at?

The host is any Win32 or Win64, and the client is Ubuntu...

I also tried manually setting the DISPLAY environmental variable...

-- 
  Phlip
  http://c2.com/cgi/wiki?ZeekLand

--
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] 6+ messages in thread

* Re: ssh -X user@host konsole opens a tunneled konsole, but then the tunnel lapses
  2011-03-04 18:29 ssh -X user@host konsole opens a tunneled konsole, but then the tunnel lapses Phlip
@ 2011-03-19  2:21 ` Phlip
  2011-03-19  8:09 ` Csaba Raduly
  1 sibling, 0 replies; 6+ messages in thread
From: Phlip @ 2011-03-19  2:21 UTC (permalink / raw)
  To: cygwin-xfree

Bump?

Should I try a noisier forum, or one for a different layer of the system?

On Fri, Mar 4, 2011 at 10:29 AM, Phlip <phlip2005@gmail.com> wrote:
> CygWinners:
>
> For years I have enjoyed one desktop with everything I need on it.
>
> Then ssh -X stopped working. Sometimes, if I start a remote konsole,
> and immediately start some new X window app, it runs thru the tunnel.
>
> But now it trivially bombs, as if there were no remote X to attach to:
>
>  kate: cannot connect to X server localhost:10.0
>
> Is there a timeout setting, somewhere, for the X tunnel? or some
> similar setting to look at?
>
> The host is any Win32 or Win64, and the client is Ubuntu...
>
> I also tried manually setting the DISPLAY environmental variable...
>
> --
>   Phlip
>   http://c2.com/cgi/wiki?ZeekLand
>



-- 
  Phlip
  http://c2.com/cgi/wiki?ZeekLand

--
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] 6+ messages in thread

* Re: ssh -X user@host konsole opens a tunneled konsole, but then the tunnel lapses
  2011-03-04 18:29 ssh -X user@host konsole opens a tunneled konsole, but then the tunnel lapses Phlip
  2011-03-19  2:21 ` Phlip
@ 2011-03-19  8:09 ` Csaba Raduly
  2011-03-19 15:31   ` Phlip
  1 sibling, 1 reply; 6+ messages in thread
From: Csaba Raduly @ 2011-03-19  8:09 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: Phlip

Hi Philip,

On Fri, Mar 4, 2011 at 7:29 PM, Phlip  wrote:
> CygWinners:
>
> For years I have enjoyed one desktop with everything I need on it.
>
> Then ssh -X stopped working. Sometimes, if I start a remote konsole,
> and immediately start some new X window app, it runs thru the tunnel.
>
> But now it trivially bombs, as if there were no remote X to attach to:
>
>  kate: cannot connect to X server localhost:10.0
>

Have you tried ssh -Y instead of -X ?

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

--
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] 6+ messages in thread

* Re: ssh -X user@host konsole opens a tunneled konsole, but then the tunnel lapses
  2011-03-19  8:09 ` Csaba Raduly
@ 2011-03-19 15:31   ` Phlip
  2011-03-21 21:43     ` Jon TURNEY
  0 siblings, 1 reply; 6+ messages in thread
From: Phlip @ 2011-03-19 15:31 UTC (permalink / raw)
  To: Csaba Raduly; +Cc: cygwin-xfree

>>  kate: cannot connect to X server localhost:10.0

> Have you tried ssh -Y instead of -X ?

Nope; just tried it, and it didn't work, with the same symptom.

The source is always a CygWin xterm with a little bash inside.

Got a log file I can look at?

-- 
  Phlip
  http://c2.com/cgi/wiki?ZeekLand

--
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] 6+ messages in thread

* Re: ssh -X user@host konsole opens a tunneled konsole, but then the tunnel lapses
  2011-03-19 15:31   ` Phlip
@ 2011-03-21 21:43     ` Jon TURNEY
  2011-03-23 23:27       ` Phlip
  0 siblings, 1 reply; 6+ messages in thread
From: Jon TURNEY @ 2011-03-21 21:43 UTC (permalink / raw)
  To: cygwin-xfree, phlip2005

On 04/03/2011 18:29, Phlip wrote:
> For years I have enjoyed one desktop with everything I need on it.
>
> Then ssh -X stopped working. Sometimes, if I start a remote konsole,

You don't mention if things 'stopped working' spontaneously, or if anything
was changed on either your ssh client or ssh server machine.

> and immediately start some new X window app, it runs thru the tunnel.
>
> But now it trivially bombs, as if there were no remote X to attach to:
>
>   kate: cannot connect to X server localhost:10.0
>
> Is there a timeout setting, somewhere, for the X tunnel? or some
> similar setting to look at?

There is the ForwardX11Timeout setting (see 'man ssh_config'), but that can't
be the explanation for what you are seeing, as that doesn't apply with 'ssh -Y'

> The host is any Win32 or Win64, and the client is Ubuntu...

If you are saying that it doesn't work from any cygwin machine, connecting to
one particular ubuntu server, that should be a pointer that something has
changed on the ubuntu server.

> I also tried manually setting the DISPLAY environmental variable...

If you are setting DISPLAY to point directly at your Cygwin/X server, you will
need to permit access from the remote host, as described in the 'insecure
telnet' section of [1].  Protip: don't do this, it's insecure :-)

On 19/03/2011 15:31, Phlip wrote:
>>>  kate: cannot connect to X server localhost:10.0
> 
>> Have you tried ssh -Y instead of -X ?
> 
> Nope; just tried it, and it didn't work, with the same symptom.

You might find adding '-v' to your ssh command for extra verbosity sheds some
light on what's going on.

> The source is always a CygWin xterm with a little bash inside.
> 
> Got a log file I can look at?

I think you have that backwards.

> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html

^^^^ See this URL.

You didn't attach cygcheck output, so no one knows what version of anything
you are running, so all this advice is purely speculative.

> Documentation:         http://x.cygwin.com/docs/
> FAQ:                   http://x.cygwin.com/docs/faq/

[1] http://x.cygwin.com/docs/ug/using-remote-apps.html

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
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] 6+ messages in thread

* Re: ssh -X user@host konsole opens a tunneled konsole, but then the tunnel lapses
  2011-03-21 21:43     ` Jon TURNEY
@ 2011-03-23 23:27       ` Phlip
  0 siblings, 0 replies; 6+ messages in thread
From: Phlip @ 2011-03-23 23:27 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: Jon TURNEY

> You might find adding '-v' to your ssh command for extra verbosity sheds some
> light on what's going on.

Tx guys - either the -v or the -Y did it.

(Yes yes I know -v is just the debugging trace. Maybe it changes the timing!)

--
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] 6+ messages in thread

end of thread, other threads:[~2011-03-23 23:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-04 18:29 ssh -X user@host konsole opens a tunneled konsole, but then the tunnel lapses Phlip
2011-03-19  2:21 ` Phlip
2011-03-19  8:09 ` Csaba Raduly
2011-03-19 15:31   ` Phlip
2011-03-21 21:43     ` Jon TURNEY
2011-03-23 23:27       ` Phlip

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).