[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to enable X port forwarding with ssh



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...

Attachment: signature.asc
Description: Digital signature


Reply to: