I thank everybody for their replies.

  Following Atro's advice, I send an attached file
with the output of:

1) "echo $DISPLAY" on local machine (sun)

2) "ssh -v username_HP@remote_HP"

  Compilation on HP has been done --with-X and I
have disactivated login scripts that set the
DISPLAY on HP.

  Compilation on Sun has been done with
./configure (the default, which contains
X forwarding).

  As you can see in the attached file, ssh with -v
option complains that:

"Failed to get local xauth data"...

  I would appreciate any help!

  Yannis.


On Thu, 2 Dec 1999, Atro Tossavainen wrote:

>Dear Yannis,
>
>Can you please do this:
>
>(on the Sun, before connecting)
>
>echo $DISPLAY
>
>This should return something sensible, like ":0.0" or "machine/unix:0.0"
>
>Then, connect with the debug flag on:
>
>ssh -v othermachine
>
>and send the output of the two commands to the list.
>
>While it is possible that your ssh on either end has been compiled with
>--without-x, it is not the default setting. It is also possible that the
>login scripts on the computer you are connecting to are messing up the
>DISPLAY set by ssh. However, this would be much more likely if you were
>connecting TO the Sun - the Sun csh login scripts ask all sorts of funny
>questions that can mess up a pre-set DISPLAY, the HP has (to my knowledge
>anyway) no such weird behaviour.
>
>Regards,
>
>-- 
>Atro Tossavainen - email available at URL below - +358-9-850-111-86
>http : / / www . iki . fi / atro . tossavainen /
>

  Yannis ALIFERIS
  PhD Student in Electromagnetic Inverse Scattering - Microwave Imaging
-------------------------------------------------------------------------
Laboratoire d'Electronique: Universite de Nice - Sophia Antipolis, France
tel: +33 4 92 94 28 43, fax: +33 4 92 94 28 12

ECE Department:           National Technical University of Athens, Greece
Office: 6.22, Electroscience Division
tel: +30 1 77 2 36 94,  fax: +30 1 77 2 22 81

Valid PGP Public Key IDs:  DH/DDS: 0x41FB9DEB, RSA: 0x7781EFB1
--------------------------------------------------------------------------

username_Sun@local_Sun: > echo $DISPLAY
local_Sun:0.0

username_Sun@local_Sun: > ssh -v username_HP@remote_HP

Development-time debugging not compiled in.
To enable, configure with --enable-debug and recompile.
debug: hostname is 'remote_HP'.
Development-time debugging not compiled in.
To enable, configure with --enable-debug and recompile.
debug: connecting to remote_HP...
debug: entering event loop
debug: ssh_client_wrap: creating transport protocol
debug: ssh_client_wrap: creating userauth protocol
debug: Host key found from the database.
debug: Ssh2AuthPubKeyClient/authc-pubkey.c:368/ssh_client_auth_pubkey_send_signature: 
ssh_client_auth_pubkey_send_signature
debug: Ssh2AuthPubKeyClient/authc-pubkey.c:448/ssh_client_auth_pubkey_send_signature: 
ssh_client_auth_pubkey_send_signature: reading 
/home/users/grads/username_Sun/.ssh2/id_dsa_1024_a_local_Sun
Passphrase for key "/home/users/grads/username_Sun/.ssh2/id_dsa_1024_a_local_Sun" with 
comment "1024-bit dsa, username_Sun@local_Sun, Wed Nov 10 1999 17:50:17":
debug: Ssh2/ssh2.c:304/client_authenticated: client_authenticated
debug: Requesting X11 forwarding with authentication spoofing.
debug: Failed to get local xauth data.

Reply via email to