(Untitled)

Sep 29, 2004 12:57

I'm feeling a little bad about the guy in my writing seminar who I said was full of crap, because I think he's caught on to the fact that I don't like him too well and now he seems kind of... aloof/mean. Since I don't really like him, it shouldn't matter to me that he thinks I dislike him and now dislikes me, right? Well, I'm silly, and now I ( Read more... )

Leave a comment

Comments 3

mrpopogod September 29 2004, 13:24:25 UTC
The reason you're getting errors is that you're using Java. C++ is the real language of programming.

Reply


jorin September 29 2004, 19:58:29 UTC
The problem is an XWindows problem and actually has nothing to do with your program outside of the fact that your program is graphical. You're going to need to use a computer that's running an X server (i.e. any Linux/Solaris desktop should do), and from that machine ssh with the -X option to arizona. (i.e. ssh -X mwalsh@arizona). Then X forwarding will be enabled, and if you run the command it should open a window on your local machine.

Reply


anonymous October 2 2004, 12:50:10 UTC
Oh, thats not a bug in your program :-).

"Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable." - means that there is no GUI running on "yuma." You need a GUI to display windows drawn by AWT.

(i) If you are sitting behind a *NIX machine with a GUI, run "ssh -X myusername@yuma.princeton.edu" instead of "ssh myusername@yuma.princeton.edu."

(ii) If you are sitting behind a Mac OS X box, open up an XTerm (Thats that X11 icon down there on the dock), and do the same thing as in (i)

(iii) If you are sitting behind a Windows box, you will need to install an X server on your box (or start one, if your lab computers have it - Hummingbird eXceed or MI/X). Then tell puTTY to forward X.

-andyw

Reply


Leave a comment

Up