Re: X11 forwarding from third machine
From: Darren Tucker (dtucker@dodgy.net.au)Date: 10/01/02
- Next message: Darren Tucker: "Re: SSH Programmers API.."
- Previous message: ls0f: "Re: Wont authenticate anyone"
- In reply to: Jonathan Edwards: "X11 forwarding from third machine"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: dtucker@dodgy.net.au (Darren Tucker) Date: Tue, 01 Oct 2002 03:45:55 GMT
In article <ry6m9.469886$kp.1327313@rwcrnsc52.ops.asp.att.net>,
Jonathan Edwards <edwards@metaprogramming.org> wrote:
[snip]
>When I ssh in i get DISPLAY=host:10.0 and X tunnels fine.
>I telnet to another box and set the same DISPLAY, run an X app, and I get:
>
>> Xlib: connection to "beyond.intranet.com:10.0" refused by server
>> Xlib: Authentication failed at PuTTY X11 proxy
>> Error: Can't open display: beyond.intranet.com:10.0
The telnet session doesn't have the correct xauth credentials to connect
to the Xserver. In your ssh session, type "xauth list" to find out the
key matching your $DISPLAY, then in the telnet session, use "xauth add"
to add the credentials.
Typically you'd use the "extract" and "merge" options in a pipeline,
something like:
"xauth nextract - $DISPLAY | ssh somehost xauth nmerge -"
Check the xauth man page for details.
Is it possible to ssh into the second box as well? That would save you
some trouble as ssh will do all of the $DISPLAY setting for you.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- Next message: Darren Tucker: "Re: SSH Programmers API.."
- Previous message: ls0f: "Re: Wont authenticate anyone"
- In reply to: Jonathan Edwards: "X11 forwarding from third machine"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|