I'm currently trying to run clamtk on a ssh connection. From reading up on this I need to enable Xforwarding so I tried the following.
On an apple Mac I downloaded XQuartz. There I ssh into my server doing
ssh -Y user@server. I'm able to login. On the command line I run:clamtk
and I get this error:
Gtk-WARNING **: cannot open display: at /usr/lib64/perl5/vendor_perl/Gtk2.pm line 168.
I also tried:
ssh -X user@server from XQuartz. I get the same error.
EDIT: I went to the link on the comments and tried this from that answer:
1. Went to /etc/ssh/sshd_config and set X11Forwarding yes
2. I set export DISPLAY="127.0.0.1:10.0"
Neither of these worked for me.