After trying a number of things to get rid of the message
saying X11 was not on the system. I place a send output to client 
command in sshd.c right before the 'stat' check of 
options.xauth_path.  Well it worked, (I mean everything
operated properly).

I then recompiled sshd from the distribution on the same
system. This time I removed all ssh-2.x files from my paths.

Now everything works. I can display D windows and X session
applications on machine A.


I'm guessing it ssh 1.2.26 was picking up an ssh-2.x library
or executable.  (I did not verify this)




----- Begin     Included Message -----
        
        From [EMAIL PROTECTED] Sat Jan 30 15:39:10 1999
        X-Authentication-Warning: lohi.clinet.fi: majordom set sender to 
[EMAIL PROTECTED] using -f
        Date: Sat, 30 Jan 1999 13:44:35 -0500 (EST)
        From: "Al Piszcz 'peesh'" <[EMAIL PROTECTED]>
        Reply-To: Alan Piszcz <[EMAIL PROTECTED]>
        To: [EMAIL PROTECTED]
        Subject: X Forwarding Multi-Hop Problem/Question
        X-UIDL: 10db4954cbe2a19e6255e48ff317a2a4
        

Thanks in advance for any help.



I'm having a slight problem with X forwarding.
The following is the current configuration.

Machines are all Sparcs running Solaris and SSH 1.2.26

A is the home machine for which I desire the X display
to be viewed on. The connection A - B - C works correctly I can 
display C X windows on A properly.

   SSHD     SSHD
A - B - ISP - C - D

I can also ssh all the way to D however upon login it produces
the following messages.


ERROR CONDITION: FROM MACHINE C to D
----
ssh -l loginName D
loginName@D password:             
Warning: Remote host denied X11 forwarding, perhaps xauth program could not be r
un on the server side.

once logged in, xauth is in the path:

 D% which xauth
 /usr/openwin/bin/xview/xauth

 FYI: Permissions on the .Xauthority file are 600


****

As a work around this did get system D windows to display on A

1] get the xauth cookie from C
2] set it in the .Xauthority file on machine D

[1]
C% xauth list $DISPLAY
C:15  MIT-MAGIC-COOKIE-1  95eed0eafa8f8ae2de9d5b323e98f2b5

[2]
D% xauth add C:15  MIT-MAGIC-COOKIE-1  95eed0eafa8f8ae2de9d5b323e98f2b5
xauth:  creating new authority file /export/home/apiszcz/.Xauthority
D% setenv DISPLAY C:15
D% xload


WORKS
                      ___________._______________________
                     < Al Piszcz | [EMAIL PROTECTED] > 



----- End Included Message -----

                      ___________._______________________
                     < Al Piszcz | [EMAIL PROTECTED] > 

Reply via email to