Re: [Hampshire] X forwarding over ssh not working

Top Page

Reply to this message
Author: Adrian Bridgett
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] X forwarding over ssh not working
On Sat, Jun 19, 2010 at 13:03:52 +0100 (+0100), Tim Retout wrote:
> On 17 June 2010 16:15, Victor Churchill <victorchurchill@???> wrote:
> > Client running Ubuntu 8.10 (yeah, yeah)
> > Server running Ubuntu 10.04
> >
> > Server has "ForwardX11 yes" in /etc/ssh/ssh_config .
>
> I presume also "X11Forwarding yes" in /etc/ssh/sshd_config ? The above
> is the client option.
>
> > Client says ssh -X server
> > gets a conection to the server but if I then say 'xclock' I see nothing.
> > (I also see nothing on the desktop of the server).
> >
> > If I connect with 'ssh -v' I see some trace info at the client:


Sure it's -X and not -x? (not on a box to double check ATM).

Check that xauth is installed on the server you are ssh-ing to. Once
logged in, "echo $DISPLAY" should say ":10.0" or somesuch.

Adrian
--
bitcube.co.uk - Expert Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS