Re: [gentoo-user] Double remote X forwarding?

2006-04-08 Thread Mark Knecht
On 4/8/06, YoYo siska <[EMAIL PROTECTED]> wrote:
> On Sat, Apr 08, 2006 at 07:16:44PM -0700, Mark Knecht wrote:
> > Hi all,,
> >This is about doing ssh through a firewall to one machine and then
> > going on from that first machine to a second machine on the remote
> > network.  Is there any way to allow me to ssh into this whole string
> > of machines and still be able to pass the output of an X app running
> > on the second machine back to my machine here? The typical error
> > message I get is about being unable to open the display.
> >
> >
> > [EMAIL PROTECTED] ~ $ ssh -X -Y -C -c blowfish -l gandalf
> > Password:
> > Last login: Sat Apr  8 18:47:38 2006 from lightning
> > gandalf ~ # ssh -X -Y -C -c blowfish -l root myth13
> > Password:
> > Last login: Sat Apr  8 18:50:03 2006 from gandalf
> > myth13 ~ # xclock
> > Error: Can't open display:
> > myth13 ~ #
> >
> >When sshed into the second machine (myth13) I get no value for
> > $display, while for the first machine (gandalf) I ssh into I do:
> >
> > myth13 ~ # echo $DISPLAY
> >
> > myth13 ~ # exit
> > logout
> > Connection to myth13 closed.
> > gandalf ~ # echo $DISPLAY
> > localhost:10.0
> > gandalf ~ # xclock
> >
> > 
> >
> > gandalf ~ #exit
> > logout
> > Connection to gandalf closed.
> > [EMAIL PROTECTED] ~ $
> >
> >I am able to run X apps on gandalf and display them here, but not
> > myth13. Can I make it work?
> >
> is x11forwarding enabled on the second machine (myth13) in
> /etc/ssh/sshd_conf ?
>
> yoyo

Thank you. It was not. I enabled it, restarted sshd, logged out of
myth13 and back into it again and  now xclock displays properly here.

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Double remote X forwarding?

2006-04-08 Thread YoYo siska
On Sat, Apr 08, 2006 at 07:16:44PM -0700, Mark Knecht wrote:
> Hi all,,
>This is about doing ssh through a firewall to one machine and then
> going on from that first machine to a second machine on the remote
> network.  Is there any way to allow me to ssh into this whole string
> of machines and still be able to pass the output of an X app running
> on the second machine back to my machine here? The typical error
> message I get is about being unable to open the display.
> 
> 
> [EMAIL PROTECTED] ~ $ ssh -X -Y -C -c blowfish -l gandalf
> Password:
> Last login: Sat Apr  8 18:47:38 2006 from lightning
> gandalf ~ # ssh -X -Y -C -c blowfish -l root myth13
> Password:
> Last login: Sat Apr  8 18:50:03 2006 from gandalf
> myth13 ~ # xclock
> Error: Can't open display:
> myth13 ~ #
> 
>When sshed into the second machine (myth13) I get no value for
> $display, while for the first machine (gandalf) I ssh into I do:
> 
> myth13 ~ # echo $DISPLAY
> 
> myth13 ~ # exit
> logout
> Connection to myth13 closed.
> gandalf ~ # echo $DISPLAY
> localhost:10.0
> gandalf ~ # xclock
> 
> 
> 
> gandalf ~ #exit
> logout
> Connection to gandalf closed.
> [EMAIL PROTECTED] ~ $
> 
>I am able to run X apps on gandalf and display them here, but not
> myth13. Can I make it work?
> 
is x11forwarding enabled on the second machine (myth13) in
/etc/ssh/sshd_conf ?

yoyo

-- 
  _
  |
YoYo () Siska  

http://www.ksp.sk/

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Double remote X forwarding?

2006-04-08 Thread Mark Knecht
Hi all,,
   This is about doing ssh through a firewall to one machine and then
going on from that first machine to a second machine on the remote
network.  Is there any way to allow me to ssh into this whole string
of machines and still be able to pass the output of an X app running
on the second machine back to my machine here? The typical error
message I get is about being unable to open the display.


[EMAIL PROTECTED] ~ $ ssh -X -Y -C -c blowfish -l gandalf
Password:
Last login: Sat Apr  8 18:47:38 2006 from lightning
gandalf ~ # ssh -X -Y -C -c blowfish -l root myth13
Password:
Last login: Sat Apr  8 18:50:03 2006 from gandalf
myth13 ~ # xclock
Error: Can't open display:
myth13 ~ #

   When sshed into the second machine (myth13) I get no value for
$display, while for the first machine (gandalf) I ssh into I do:

myth13 ~ # echo $DISPLAY

myth13 ~ # exit
logout
Connection to myth13 closed.
gandalf ~ # echo $DISPLAY
localhost:10.0
gandalf ~ # xclock



gandalf ~ #exit
logout
Connection to gandalf closed.
[EMAIL PROTECTED] ~ $

   I am able to run X apps on gandalf and display them here, but not
myth13. Can I make it work?

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list