I have set up a Debian linux box to do X11 forwarding over SSH using putty. I am able to successfully forward windows when I am logged in as my user account. When I su to root I can forward the windows then as well. However, when I run sudo, I get the following error:
Gtk-WARNING **: cannot open display:
Any suggestions would be appreciated.