I am a beginner with the Tk set of modules, and I am realizing that I cannot get the Tk MainWindow to display in a browser (probably because the code is not parsed for http protocol). I am getting this message in my error file when I try to call the script with my browser:
couldn't connect to display ":0" at /usr/lib/perl5/site_perl/5.6.0/i38
+6-linux/Tk/MainWindow.pm line 5 . MainWindow->new() at newTk.cgi line
+ 6
Is this :0 the UNIX device name? I've heard that it can append an IP address of a remote host like 123.56.257.2:0. Is that also incorrect. I'm lost and any guidance is much appreciated.
Thanks,
@ncientgoose