Yeah, you need to enable it in /etc/ssh/sshd_config Then, use ssh -X host.domain -l username (note: it has to be enabled on both sides, and you actually have to have X on both sides.)
On 1/23/06, Edward Shornock <[EMAIL PROTECTED]> wrote: > On Mon, Jan 23, 2006 at 01:49:52AM +0100, Juraj Fedel wrote: > > While using ssh on local network (actualy qemu virtual machine) > > I have hard time starting X application on virtual machine and > > let it show window on host X window. Starting > > > > ssh -X > > > > does not help, nor does following content of ~/.ssh/config on local > > computer make any difference: > > > > Host * > > ForwardX11 yes > > > > In both cases I can see this message when passing -v option > > debug1: Requesting X11 forwarding with authentication spoofing. > > and when I try to start xclock I get error: > > > > Error: Can't open display: > > > > So how do I enable X port forwarding? > > Have you added > X11Forwarding yes > to /etc/ssh/sshd_config, then restart the ssh service? That works for > me... > >