And one more thing to add to Shahar's, does your ".Xauthority" has the correct permissions for your user ? If user (leonid in your case) cannot read and write the file, then you will get permission denied error.
Oleg. ----- Original Message ----- From: "Shachar Shemesh" <[EMAIL PROTECTED]> To: "Leonid Podolny" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, November 18, 2003 1:12 AM Subject: Re: X Forwarding via SSH > Leonid Podolny wrote: > > > > >On Mon, 17 Nov 2003, Arik Baratz wrote: > > > > > > > >>Can you plese post the result of: > >> > >>ssh -v -n -X [EMAIL PROTECTED] xlogo > >> > >>Type the password if necessary. If the window opens, close it. Cut and paste the results and post here. > >> > >>-- Arik > >> > >> > >kk > > > >-- Attached file included as plaintext by Listar -- > >-- File: out.log > > > >OpenSSH_3.7.1p2, SSH protocols 1.5/2.0, OpenSSL 0.9.6k 30 Sep 2003 > >debug1: Reading configuration data /etc/ssh/ssh_config > > > >debug1: Connecting to xxxxxxxxxxxxxxxxx port 22. > > > >debug1: Connection established. > > > >debug1: identity file /home/leonid/.ssh/identity type -1 > > > >debug1: identity file /home/leonid/.ssh/id_rsa type -1 > > > >debug1: identity file /home/leonid/.ssh/id_dsa type -1 > > > >debug1: Remote protocol version 1.99, remote software version OpenSSH_3.7.1p2 > > > >debug1: match: OpenSSH_3.7.1p2 pat OpenSSH* > > > >debug1: Enabling compatibility mode for protocol 2.0 > > > >debug1: Local version string SSH-2.0-OpenSSH_3.7.1p2 > > > >debug1: SSH2_MSG_KEXINIT sent > > > >debug1: SSH2_MSG_KEXINIT received > > > >debug1: kex: server->client aes128-cbc hmac-md5 none > > > >debug1: kex: client->server aes128-cbc hmac-md5 none > > > >debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent > > > >debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP > > > >debug1: SSH2_MSG_KEX_DH_GEX_INIT sent > > > >debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY > > > >debug1: Host 'localhost' is known and matches the RSA host key. > > > >debug1: Found key in /home/leonid/.ssh/known_hosts:2 > > > >debug1: ssh_rsa_verify: signature correct > > > >debug1: SSH2_MSG_NEWKEYS sent > > > >debug1: expecting SSH2_MSG_NEWKEYS > > > >debug1: SSH2_MSG_NEWKEYS received > > > >debug1: SSH2_MSG_SERVICE_REQUEST sent > > > >debug1: SSH2_MSG_SERVICE_ACCEPT received > > > >debug1: Authentications that can continue: publickey,password,keyboard-interactive > > > >debug1: Next authentication method: publickey > > > >debug1: Trying private key: /home/leonid/.ssh/identity > > > >debug1: Trying private key: /home/leonid/.ssh/id_rsa > > > >debug1: Trying private key: /home/leonid/.ssh/id_dsa > > > >debug1: Next authentication method: keyboard-interactive > > > >debug1: Authentications that can continue: publickey,password,keyboard-interactive > > > >debug1: Next authentication method: password > > > >debug1: Authentication succeeded (password). > > > >debug1: channel 0: new [client-session] > > > >debug1: Entering interactive session. > > > >debug1: Requesting X11 forwarding with authentication spoofing. > > > >debug1: Sending command: /usr/X11R6/bin/xlogo > > > >_X11TransSocketOpen: socket() failed for tcp > >debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 > > > >_X11TransSocketOpenCOTSClient: Unable to open socket for tcp > >_X11TransOpen: transport open failed for tcp/localhost:10 > >Error: Can't open display: localhost:10.0 > >debug1: channel 0: free: client-session, nchannels 1 > > > >debug1: fd 1 clearing O_NONBLOCK > > > >debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.1 seconds > > > >debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0 > > > >debug1: Exit status 1 > > > > > Is "xauth" installed on the remote machine? > What does "echo $XAUTHORITY" give? > Is there a ~/.Xauthority file? > try running "xauth list" - what is the output? > > If you wish to obfuscate your IPs, at least indicate which is the server > and which is the client IP you are using. > > -- > Shachar Shemesh > Open Source integration consultant > Home page & resume - http://www.shemesh.biz/ > > > > ================================================================= > To unsubscribe, send mail to [EMAIL PROTECTED] with > the word "unsubscribe" in the message body, e.g., run the command > echo unsubscribe | mail [EMAIL PROTECTED] > > > ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
