Re: ssh -X user@host konsole opens a tunneled konsole, but then the tunnel lapses
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/
Re: ssh -X user@host konsole opens a tunneled konsole, but then the tunnel lapses
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/
Re: ssh -X user@host konsole opens a tunneled konsole, but then the tunnel lapses
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/
Re: ssh -X user@host konsole opens a tunneled konsole, but then the tunnel lapses
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 phlip2...@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/