I used the following patch to cause it to work for me:

In apps/ssh/sshchx11.c, around line 491:

REPLACE THIS:
  if (stat(XAUTH_PATH, &st) < 0)
    {
      SSH_DEBUG(1, ("request_x11: no X11 installed"));
      return FALSE;
    }


WITH THIS:
#ifdef XAUTH_PATH
  if (stat(XAUTH_PATH, &st) < 0)
    {
      SSH_DEBUG(1, ("request_x11: no X11 installed"));
      return FALSE;
    }
#else
      return FALSE;
#endif



I'm no C programmer, so there may be a better way to do this. This works
for me, though. I've reported this to ssh2-bugs and haven't gotten a reply
yet.


--
Gregor Mosheh
[EMAIL PROTECTED]
Systems Admin, Humboldt Internet
707.825.4638


On Tue, 11 Apr 2000, Pierre MONDIE : CTI wrote:

>       Please forgive my poor English :
> 
> Here's my bug report :
> 
> I got the brand new 2.1.0 tar.gz on a basic redhat linux box and used :
> 
> ./configure --without-x && make;
> 
> It apparently tries to build the X client related code and fails, since it
> cannot find required headers/macros (XAUTH_*). even with this option, on
> the very same machine,. 2.0.13 does show expose such behavior.
> 
> I did not check why/what for now. 
> 
> Best cheers !
> -- 
> Pierre MONDIE : ECP : CTI 
> - Don't allow any executable content including applets in your email. 
> - Don't use any email program that supports such atrocities. 
> 
> 
> 

Reply via email to