x forwarding?

gene heskett gheskett at wdtv.com
Wed Mar 14 14:58:54 PDT 2012


On Wednesday, March 14, 2012 05:54:56 PM Johannes Truschnigg did opine:

> On Wed, Mar 14, 2012 at 11:43:01AM -0400, gene heskett wrote:
> > On Wednesday, March 14, 2012 11:41:22 AM walter harms did opine:
> > [...]
> > Which gets noisy, but the last 2 lines are:
> > debug1: Requesting X11 forwarding with authentication spoofing.
> > X11 forwarding request failed on channel 0
> 
> Check if you have the xauth(1) program installed on the remote host
> you're connecting to, and install it if it's not there yet. It missing
> has been the reason for X11 forwarding not to work for me (with similar
> symptoms as you are experiencing) in the past. ssh(1) tries to execute
> xauth on the remote side of the connection if X11 forwardinf is
> requested by the client, and will not explicitly state it has failed
> doing so.

It was installed, I reinstalled it, and executed an xhost + using sudo

No observable change.  The complete "ssh -Y -v lathe" session is:

[gene at coyote ~]$ ssh -Y -v lathe
OpenSSH_5.9p2, OpenSSL 1.0.0e 6 Sep 2011
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 49: Applying options for *
debug1: Connecting to lathe [192.168.71.5] port 22.
debug1: Connection established.
debug1: identity file /home/gene/.ssh/identity type -1
debug1: identity file /home/gene/.ssh/identity-cert type -1
debug1: identity file /home/gene/.ssh/id_rsa type -1
debug1: identity file /home/gene/.ssh/id_rsa-cert type -1
debug1: identity file /home/gene/.ssh/id_dsa type -1
debug1: identity file /home/gene/.ssh/id_dsa-cert type -1
debug1: identity file /home/gene/.ssh/id_ecdsa type -1
debug1: identity file /home/gene/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3p1 
Debian-3ubuntu7
debug1: match: OpenSSH_5.3p1 Debian-3ubuntu7 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.9
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) 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: Server host key: RSA 
67:fc:f6:d4:95:8c:46:6d:81:fe:dc:d2:85:a4:f5:76
debug1: Host 'lathe' is known and matches the RSA host key.
debug1: Found key in /home/gene/.ssh/known_hosts:10
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/gene/.ssh/identity
debug1: Trying private key: /home/gene/.ssh/id_rsa
debug1: Trying private key: /home/gene/.ssh/id_dsa
debug1: Trying private key: /home/gene/.ssh/id_ecdsa
debug1: Next authentication method: password
gene at lathe's password:
debug1: Authentications that can continue: publickey,password
Permission denied, please try again.
gene at lathe's password:
debug1: Authentication succeeded (password).
Authenticated to lathe ([192.168.71.5]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions at openssh.com
debug1: Entering interactive session.
debug1: Requesting X11 forwarding with authentication spoofing.
X11 forwarding request failed on channel 0
Linux lathe 2.6.32-122-rtai #rtai SMP Tue Jul 27 12:44:07 CDT 2010 i686 
GNU/Linux
Ubuntu 10.04.4 LTS

Welcome to Ubuntu!
 * Documentation:  https://help.ubuntu.com/

Last login: Wed Mar 14 11:40:43 2012 from coyote.coyote.den
gene at lathe:~$ xhost
xhost:  unable to open display ""
gene at lathe:~$ xauth list
xauth:  creating new authority file /home/gene/.Xauthority
gene at lathe:~$ xauth list
xauth:  creating new authority file /home/gene/.Xauthority
gene at lathe:~$

For someone experienced, there might be a clue above.

Thanks.

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene>
A man with 3 wings and a dictionary is cousin to the turkey.



More information about the xorg mailing list