X-Terminal over SSH Woes

Mike Garfias mike at garfias.org
Wed Aug 23 19:42:18 MST 2006


I've had better luck using ssh -Y
try that.

On Aug 23, 2006, at 7:27 PM, Mark Phillips wrote:

> 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
>
> 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 at stingray:~$ echo $DISPLAY
>
> mark at stingray:~$ xeyes
> Error: Can't open display:
> mark at 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!
> -- 
> Mark Phillips
> Phillips Marketing, Inc
> mark at phillipsmarketing.biz
> 602 524-0376
> 480 945-9197 fax
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>



More information about the PLUG-discuss mailing list