Failed to enable x11 forwarding

freebsdputtyunixx11-forwardingxorg

I am trying to enable X11 forwarding on my server which is running on FreeBSD 7.1.

I have a putty installed in my windows in which i have enabled X11 forwarding by

checking on Enable X11 forwarding

and specifying following parameter

X display location localhost:0

after that i run putty and checked whether X11 is enabled or not by typing following command

echo "$DISPLAY" or echo $DISPLAY

but i am getting following error

DISPLAY: Undefined variable.

Even i have installed XManager but in that also i am getting following error

The X11 forwarding request was
rejected ! To solve this problem,
please turn on the X11 forwarding
features of the remote SSH server

can anyone suggest me how to get rid off this ?

Best Answer

Putty is not enough to enable X11 forwarding on Windows, you must have a X Server installed too.

You can for example install Cygwin X : http://x.cygwin.com/

Related Question