On Monday 24 January 2005 10:52 am, todd hewett wrote:
> So I am still trying to get X over SSH working.
>
> When I run command:
> [root@ns1 root]# xeyes
> Error: Can't open display:
>
> I wonder if this is because where I have the X display location set up in
> putty. Localhost:0
First, make sure that you have an X server running on whatever machine you are
physically on. The fact that you mention "putty" implies you are logging in
from a Windows machine. In that case, make sure that you have cygwin X (or
something similar) running. That's absolute KEY to this working. You *must*
have an X server running locally.
Second, make sure your sshd on the 'ns1' box allows X forwarding. I'm not
sure where it would be on your system, but on my Gentoo box, the file
is /etc/ssh/sshd_config. You want to see the line:
X11Forwarding yes
Third, make sure your ssh client knows to forward along the X display and
offset info. If you are using a Linux ssh client, then either 'ssh -X' would
work or setting it permanently in /etc/ssh/ssh_config. I've never done it on
putty.
Hope this helps.
Kurt
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss