[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OpenSSH display error



 Hi,

SB>   --> ssh -f alice xterm
SB>   sb@alice.dcs.qmw.ac.uk's password: 
SB>   <sb@alice> [~] 
SB>   --> xterm Xt error: Can't open display: 

 The -v option reports what follows:

>--> ssh -v -f alice xterm
>SSH Version OpenSSH-1.2.3, protocol version 1.5.
>Compiled with SSL.
>debug: Reading configuration data /home/sb/.ssh/config
>debug: Reading configuration data /etc/ssh/ssh_config
>debug: Applying options for *
>debug: ssh_connect: getuid 1000 geteuid 1000 anon 1
>debug: Connecting to alice.dcs.qmw.ac.uk [138.37.88.135] port 22.
>debug: Connection established.
>debug: Remote protocol version 1.5, remote software version OpenSSH-1.2.3
>debug: Waiting for server public key.
>debug: Received server public key (768 bits) and host key (1024 bits).
>debug: Host 'alice.dcs.qmw.ac.uk' is known and matches the host key.
>debug: Encryption type: 3des
>debug: Sent encrypted session key.
>debug: Installing crc compensation attack detector.
>debug: Received encrypted confirmation.
>debug: RSA authentication using agent refused.
>debug: Trying RSA authentication with key 'sb@alice'
>debug: Server refused our key.
>debug: Doing password authentication.
>sb@alice.dcs.qmw.ac.uk's password: 
>debug: Sending command: xterm
>debug: Entering interactive session.
>--> debug: Sending eof.
>xterm Xt error: Can't open display: 
>debug: Transferred: stdin 0, stdout 37, stderr 0 bytes in 0.1 seconds
>debug: Bytes per second: stdin 0.0, stdout 387.3, stderr 0.0
>debug: Exit status 1
>
>-->

 Ben, if I enable the X forwarding from the command line, it all works
 fine. 

>> I don't really get /etc/ssh_config it seems to be completely
>> commented out by default. 

 I have it as /etc/ssh/ssh_config, but it does not work. I also 
 tried ~/.ssh/config that does not work as well.

 Sergio



Reply to: