Check the /etc/sshd_config file on machine D. If it has an entry for
XauthLocation that could be what is wrong. Else, it's possible that
the compile for sshd on D didn't find xauth or has it at an incorrect
location.
Usually xauth is in both /usr/openwin/bin and /usr/openwin/bin/xview.
If you have access to the config file, add or modify the XAuthLocation
entry to point to the correct location of xauth. Or you could link the
xauth in /usr/openwin/bin/xview/xauth to /usr/openwin/bin and that might
fix it.
If you don't have access to do the above, you need to talk to your admin
for the machine D and see if they will make the change.
satch
"Al Piszcz 'peesh'" writes:
>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] >
>