Re: X-Terminal over SSH Woes

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
To: Main PLUG discussion list
Subject: Re: X-Terminal over SSH Woes
That is a 'feature' of gmail (to 'hide' your own postings). I think you
can change your settings if that 'feature' worries you.

Craig

On Fri, 2006-08-25 at 15:20 -0700, Dazed_75 wrote:
> OT for this thread, but I wanted to say to Mark that I always find my
> own posts to the discussion list never seem to appear to me untill
> someone replaies to them. I have frequently questioned whether I was
> doing something wrong or what. Perhaps it is something about the
> email client or perhaps it is some dubious "feature" of the list.
> Wish I knew, because it is troubling when you are not sure if your
> post was ever received.
>
> On 8/25/06, Mark Phillips <> wrote:
>         Thanks to everyone for their advice. I solved the problem by
>         editing the  /etc/ssh/sshd_conf file to enable X11Forwading. I
>         had only
>         edited /etc/ssh/ssh_config.

>
>         It now works!

>
>         Thanks again!

>
>         Mark

>
>         P.S. I posted a thank-you last night, but for some reason it
>         did not appear on
>         the list this morning, so I am posting again. (8/23)

>
>         P.P.S I went back to my SSH book, and it did say ssh*D*_conf
>         was the file to 
>         edit. I guess I need to get some new glasses or read a little
>         slower!;-)

>
>         P.P.P.S My postings seem to be dying before they get to the
>         list, so I will
>         try one more time. (8/25)

>
>         Cheers!

>
>         Mark

>
>         On Thursday 24 August 2006 04:53 am, der.hans wrote:
>         > Am 23. Aug, 2006 schwätzte Mark Phillips so:
>         >
>         > > I cannot figure out what is wrong. Everything I have read
>         on the net and
>         in
>         > > O'Rreilly's SSH book say I am doing it right, but it
>         doesn't work! 

>         > >
>         > > Machine - monkey
>         > > Debian stable
>         > > /etc/ssh/ssh_config has
>         > >   ForwardX11 yes
>         > >   ForwardX11Trusted no

>         >
>         > debian defaults to ForwardX11Trusted set to yes. 

>         >
>         > > Machine - stingray
>         > > Debian stable
>         > > kde desktop is running
>         > > /etc/ssh/ssh_config has
>         > >   ForwardX11 yes
>         > >   ForwardX11Trusted no

>         > >
>         > > I can ssh from monkey to stingray (and vice versa)

>         > >
>         > > When I try ssh -X stingray from monkey, I get Error: Can't
>         open display.

>         > >
>         > > In debug mode, I see the following: 
>         > > debug1: Authentication succeeded (keyboard-interactive).
>         > > debug1: channel 0: new [client-session]
>         > > debug1: Entering interactive session.
>         > > debug1: Requesting X11 forwarding with authentication
>         spoofing. 
>         > > Linux stingray 2.6.8-2-386 #1 Tue Aug 16 12:46:35 UTC 2005
>         i686 GNU/Linux

>         > >
>         > > mark@stingray:~$ echo $DISPLAY

>         >
>         > stingray is the remote host in this situation, correct?

>         > 
>         > What do you have for DISPLAY on the localhost?

>         >
>         > Let us see the following scenerio:

>         >
>         > local:$ echo $DISPLAY
>         > :0.0
>         > local:$ ssh -X remote
>         > you@remote's password:
>         > .
>         > .
>         > remote:$ echo $DISPLAY
>         > localhost:10.0

>         >
>         > > mark@stingray:~$ xeyes
>         > > Error: Can't open display:

>         >
>         > Yup, not having DISPLAY set will do that to you :). 

>         >
>         > ciao,

>         >
>         > der.hans

>         >
>         > > mark@stingray:~$ exit
>         > > debug1: client_input_channel_req: channel 0 rtype
>         exit-status reply 0
>         > > logout
>         > > debug1: channel 0: free: client-session, nchannels 1 
>         > > Connection to stingray closed.
>         > > debug1: Transferred: stdin 0, stdout 0, stderr 32 bytes in
>         87.1 seconds
>         > > debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr
>         0.4
>         > > debug1: Exit status 1 

>         > >
>         > > FWIW, I can do "X -query stingray" from monkey and get the
>         gdm login
>         > > and my kde desktop from stingray to monkey.

>         > >
>         > > What am I doing wrong?

>         > > 
>         > > Thanks!

>         > >

>         >
>         > --

>         >
>         #  https://www.LuftHans.com/        http://www.CiscoLearning.org/
>         > #  Join the League of Professional System Administrators!
>         https://LOPSA.org/
>         > #  Take a razor to your throat
>         > #  and a noose to your neck,
>         > #  then follow that up with a cup of poison.
>         > #  Not a good way to start the day. - der.hans

>
>         --
>         Mark Phillips
>         Phillips Marketing, Inc
>         
>         602 524-0376
>         480 945-9197 fax
>         --------------------------------------------------- 
>         PLUG-discuss mailing list -
>         
>         To subscribe, unsubscribe, or to change  you mail settings:
>         http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

>
>
>
> --
> Be who you are and say what you feel, because those who mind don't
> matter and those who matter don't mind. - Dr. Seuss
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss