Jaime Mantel writes:
> From: Jaime Mantel <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Ssh 1.2.27 and X11R6.4 build??
> Date: Mon, 19 Jul 1999 12:07:31 -0700
>
> I am building X11R6.4 on solaris 2.6. I seems to build fine.
> The problem I am having is with tunneling back an x client
> using ssh. I am using ssh-1.2.27 and it was built with --x-includes a
> nd x-libraries pointing to the newly build X11R6.4 installation.
> So after I build the X11 distribution and install
> it, I ssh over to the system with the newly built X11R6.4.
> I then try to run an x client like xterm. I get the following
> error.
>
> boris:> ./xterm
> Error: Can't open display: boris:12.0
>
Try applying the following patch to X11R6.4. I'm not sure whether this
will fix your problem. We needed the patch since ssh wants to use
DISPLAY=orion.pppl.gov:5 and NOT DISPLAY=:5, but the unpatched X11R6.4 was
making DISPLAY=:5.
Patch 2 (to stop orion.pppl.gov:5 being converted to :5)
/usr/local/bin/patch -p0 -b <<'EOF'
--- lib/X11/ConnDis.c.orig Fri Feb 6 17:12:07 1998
+++ lib/X11/ConnDis.c Tue May 19 13:28:52 1998
@@ -177,7 +177,7 @@
p = lastc;
-#ifdef LOCALCONN
+#if 0 /* Used to be #ifdef LOCALCONN */
/* check if phostname == localnodename */
if (phostname && uname(&sys) >= 0 &&
!strncmp(phostname, sys.nodename, strlen(sys.nodename)))
EOF