Remote X over ssh

A. Khattri ajai
Wed Jan 5 14:11:55 PST 2005


On Wed, 5 Jan 2005, Bill Campbell wrote:

> >> NOTE:  Current versions of openssh require setting
> >> ``ForwardX11Trusted yes'' in the ssh_config file.
> >>
> >
> >Yes
> >
> >I tried xeyes.  I get the "Can't open display :0.0" error.  What value
> >should I set $DISPLAY to on the remote machine?
>
> If you're seeing a DISPLAY=:0.0, it's not being set by the sshd process on
> the remote machine.  The sshd DISPLAY will be either something like
> localhost:10.0 or $FQDN.10.0 depending on the setting of the sshd_config
> ``X11UseLocalhost'' line (Linux seems happy with localhost:xx.0 while some
> OS's require a real host name).

Maybe you need to restart sshd (scary) or send it a HUP to re-read the
sshd_config file?


-- 
Aj.


More information about the Linux-users mailing list