Putty and X11 Forwarding... (One more time...)
Posted on 2009-02-16
Have a copy of the Debian Putty client on Windows and while logged into a Redhat Enterprise Linux AS4 session trying to run "xclock &" and have it display the clock on my laptop. When I do I get the error: Error: Can't open display: localhost:0.0
What am I doing wrong?
My setup is:
1. In putty session enable X11 forwarding and set "display location" to "localhost:0.0"
2. once logged into the Linux server issue the command: "DISPLAY=localhost:0.0"
3. In /etc/ssh/sshd_config set "X11Forwarding yes"
4. issue command "xclock &" and get the error....
I have also tried substituting "localhost" for map laptop's IP address and still nothing. I can also ping my laptop from the server successfully and disabled the client firewall on my laptop.