Eric S. Johansson | 1 Sep 2004 05:32

ssh reliability problems

tunneling X traffic over ssh seems to fail at the four to six hour mark. 
  all the connections shutdown with little reported information.  Normal 
ssh sessions stay running fine.

yes, I am using the -Y option is recommended in the FAQ.  I am using a 
reasonably current (as of last week) copy of openssh via cygwin.

ideas?
---eric

Andrew Schulman | 1 Sep 2004 07:04

Re: ssh reliability problems

> tunneling X traffic over ssh seems to fail at the four to six hour mark.
>   all the connections shutdown with little reported information.  Normal
> ssh sessions stay running fine.

autossh might help.  It starts ssh sessions and periodically checks them to
make sure that they're still passing data-- if they're not, it terminates
them and starts a new one.  This is often helpful, but maybe not in your
case, since you say that other tunnels are still good after the X tunnels
fail.  I don't know what would cause that.

Good luck,
Andrew.

Johan Parin | 1 Sep 2004 11:41
Picon
Favicon

Re: Can't get XDMP to work


Alexander Gottwald writes:

  Alexander> On Tue, 31 Aug 2004, Johan Parin wrote:

  >> The strange thing is the reference to display 192.168.0.1:0 in
  >> both /tmp/XWin.log and xdm.log. The Windows box has IP
  >> 192.168.1.2 and the Linux box 192.168.1.1.

  Alexander> There must be a second network interface configured in
  Alexander> windows.  Add the following parameter to the XWin
  Alexander> commandline:

  Alexander> -from 192.168.1.2 

Thanks a lot, now it's working.

Is the -from switch documented somewhere? I couldn't find it either in
the manpage or in the example bat script.

Johan

Ariel Burbaickij | 1 Sep 2004 12:54
Picon

xmove compilation for cygwin

 Dear all, 
I am going to compile xmove programm out of tarball. Any general
compilation guidlines for cygwin? Any pecularities of cygwin I should
be aware of?

With Best Regards
Ariel Burbaickij

Alexander Gottwald | 1 Sep 2004 13:01
Picon

Re: Can't get XDMP to work

On Wed, 1 Sep 2004, Johan Parin wrote:

> Is the -from switch documented somewhere? I couldn't find it either in
> the manpage or in the example bat script.

man Xserver

bye
	ago
--

-- 
 Alexander.Gottwald <at> s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723

Alexander Gottwald | 1 Sep 2004 13:04
Picon

Re: xmove compilation for cygwin

On Wed, 1 Sep 2004, Ariel Burbaickij wrote:

>  Dear all, 
> I am going to compile xmove programm out of tarball. Any general
> compilation guidlines for cygwin? Any pecularities of cygwin I should
> be aware of?

Just try. There may always be small problems but a lot of program work
out of the box now.

bye
	ago
--

-- 
 Alexander.Gottwald <at> s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723

Jeremy Wilkins | 1 Sep 2004 14:43
Picon
Picon

Re: Re: xmove compilation for cygwin

It  worked out of the box when I tried a couple of years ago. Use xmkmf to generate a make file (from the imake
file) then just run make.

jeremy

> Message date : Sep 01 2004, 12:05 PM
> From : "Alexander Gottwald" <alexander.gottwald <at> s1999.tu-chemnitz.de>
> To : cygwin-xfree <at> cygwin.com, "Ariel Burbaickij" <ariel.burbaickij <at> gmail.com>
> Copy to : 
> Subject : Re: xmove compilation for cygwin
> 
> On Wed, 1 Sep 2004, Ariel Burbaickij wrote:
> 
> >  Dear all, 
> > I am going to compile xmove programm out of tarball. Any general
> > compilation guidlines for cygwin? Any pecularities of cygwin I should
> > be aware of?
> 
> Just try. There may always be small problems but a lot of program work
> out of the box now.
> 
> bye
> 	ago
> -- 
>  Alexander.Gottwald <at> s1999.tu-chemnitz.de 
>  http://www.gotti.org           ICQ: 126018723
> 

--

-- 

(Continue reading)

Ariel Burbaickij | 1 Sep 2004 14:55
Picon

Re: Re: xmove compilation for cygwin

Cool, I have got first obstacle in the process -- there is no
Imake.tmpl, or as xmkmf reports it:
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
Imakefile.c:9: Imake.tmpl: No such file or directory
imake: Exit code 1.
  Stop.
and ,indeed, it is neither present in the /usr/X11R6/lib/X11/config
nor in any other directory. Where can I download Imake.tmpl
specific to Cygwin? I  remember that I have posted the e-mail
with almost the same question (about Imake.tmpl) but I did not
get any responses or I do not remember getting them ;-)

With Best Regards
On Wed,  1 Sep 2004 14:43:24 +0200 (CEST), Jeremy Wilkins
<jeb <at> jeremywilkins.freeserve.co.uk> wrote:
> It  worked out of the box when I tried a couple of years ago. Use xmkmf to generate a make file (from the imake
file) then just run make.
> 
> jeremy
> 
> > Message date : Sep 01 2004, 12:05 PM
> > From : "Alexander Gottwald" <alexander.gottwald <at> s1999.tu-chemnitz.de>
> > To : cygwin-xfree <at> cygwin.com, "Ariel Burbaickij" <ariel.burbaickij <at> gmail.com>
> > Copy to :
> > Subject : Re: xmove compilation for cygwin
> 
> 
> >
> > On Wed, 1 Sep 2004, Ariel Burbaickij wrote:
> >
(Continue reading)

Alexander Gottwald | 1 Sep 2004 14:57
Picon

Re: Re: xmove compilation for cygwin

On Wed, 1 Sep 2004, Ariel Burbaickij wrote:

> Cool, I have got first obstacle in the process -- there is no
> Imake.tmpl, or as xmkmf reports it:
> imake -DUseInstalled -I/usr/X11R6/lib/X11/config
> Imakefile.c:9: Imake.tmpl: No such file or directory
> imake: Exit code 1.
>   Stop.
> and ,indeed, it is neither present in the /usr/X11R6/lib/X11/config
> nor in any other directory. Where can I download Imake.tmpl
> specific to Cygwin? I  remember that I have posted the e-mail
> with almost the same question (about Imake.tmpl) but I did not
> get any responses or I do not remember getting them ;-)

Install the xorg-x11-devel package

bye
	ago
--

-- 
 Alexander.Gottwald <at> s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723

Eric S. Johansson | 1 Sep 2004 15:45

Re: ssh reliability problems

Andrew Schulman wrote:

>>tunneling X traffic over ssh seems to fail at the four to six hour mark.
>>  all the connections shutdown with little reported information.  Normal
>>ssh sessions stay running fine.
> 
> 
> autossh might help.  It starts ssh sessions and periodically checks them to
> make sure that they're still passing data-- if they're not, it terminates
> them and starts a new one.  This is often helpful, but maybe not in your
> case, since you say that other tunnels are still good after the X tunnels
> fail.  I don't know what would cause that.

thanks.  I may try that.  Another data point.  Tunneling sessions using 
putty don't die.  It seems to be only OpenSSH tunnels that have problems.

---eric


Gmane