On Sun, 28 Jan 2007 16:54:52 +1100
Sam Lawrance <[EMAIL PROTECTED]> wrote:

> 
> On 28/01/2007, at 4:44 PM, Alan L Tyree wrote:
> 
> > I have been trying to install x11vnc and then use ssh tunnels to
> > connect. There are two different machines that I am trying to
> > connect to, one Ubuntu and one is an Apple iBook running Xubuntu.
> >
> > 1 I have no problem with either machine NOT using ssh
> >
> > 2 using ssh: ssh -L 5900:localhost:5900 remote_name 'x11vnc
> > -localhost -display :0'
> >
> >     Works great with the Ubuntu machine
> >
> >     Does not work with the Xubuntu machine (vncviewer
> > localhost:0 appears to connect, but there is no display)
> >
> > I presume it must be some setting in ssh, but I can't see any
> > difference.
> >
> > Can anyone help?
> 
> Try using the verbose flag to ssh and/or x11vnc, and compare the two  
> machines.

Hmm. I can't do a simple X forwarding to the Xubuntu machine.

[EMAIL PROTECTED]:~$ ssh -v -X misty emacs
OpenSSH_4.3p2 Debian-8, OpenSSL 0.9.8c 05 Sep 2006
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to misty [192.168.1.101] port 22.
debug1: Connection established.
debug1: identity file /home/alant/.ssh/identity type -1
debug1: identity file /home/alant/.ssh/id_rsa type -1
debug1: identity file /home/alant/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version
OpenSSH_4.3p2 Debian-5ubuntu1 debug1: match: OpenSSH_4.3p2
Debian-5ubuntu1 pat OpenSSH* debug1: Enabling compatibility mode for
protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_4.3p2 Debian-8
debug1: Miscellaneous failure
No credentials cache found

debug1: Miscellaneous failure
No credentials cache found

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(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: Host 'misty' is known and matches the RSA host key.
debug1: Found key in /home/alant/.ssh/known_hosts:5
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
debug1: Next authentication method: publickey
debug1: Trying private key: /home/alant/.ssh/identity
debug1: Trying private key: /home/alant/.ssh/id_rsa
debug1: Offering public key: /home/alant/.ssh/id_dsa
debug1: Server accepts key: pkalg ssh-dss blen 818
debug1: read PEM private key done: type DSA
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: Sending environment.
debug1: Sending env LANG = en_AU.UTF-8
debug1: Sending command: emacs
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
emacs: standard input is not a tty
debug1: channel 0: free: client-session, nchannels 1
debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.2 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status 1


> 
> 


-- 
Alan L Tyree                    http://www2.austlii.edu.au/~alan
Tel: +61 2 4782 2670            Mobile: +61 427 486 206
Fax: +61 2 4782 7092            FWD: 615662
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to