[Csci3353] Re: Using GLUT from home
John Howland
jhowland at ariel.cs.trinity.edu
Wed Sep 20 11:12:21 CDT 2006
On Tue, 19 Sep 2006, Koszewski, Ivan wrote:
> I figured out how to use putty to ssh to one of the xena machines. I am working on Lab 1 at home but it won't let me display the image I have so far. I get an error that says (lab1 is the name of the image file):
>
> freeglut (lab1): failed to open display ''
>
> Do I need to install GLUT on my machine here? How can I get it to display the image? Let me know, thanks.
Ivan,
Glut provides an interface (when run on a Unix machine) between X11/Unix and
OpenGL. There are two ways to proceed.
a) You can install an X11 server in your win environment
b) Install win version of glut so you can develop and test
GL programs in win (you will also need GL libs and include files, but
most XP systems now have these as a part of the various win development
environments.
The easy way to do a) is to install cygwin from:
http://www.cygwin.com/
This GNU license software contains an X11 subsystem which is
not installed automatically (you must select X11 components to
install).
cygwin (when you start it up) also provides ssh connections which
should be used in place of putty. When you make an ssh connection
to one of our machines you must select the option for X11 forwarding
so that the X11 server on your machine will be used for output of
the graphics program running on one of our lab machines. This is done by:
ssh -X user at host
Since this is a question others in the class are likely to have,
I am copying this message to our class discussion list.
John
>
_______________________________________________________________
John E. Howland url: http://www.cs.trinity.edu/~jhowland/
Computer Science email: jhowland at ariel.cs.trinity.edu
Trinity University voice: (210) 999-7364
One Trinity Place fax: (210) 999-7477
San Antonio, Texas 78212-7200
More information about the CSCI3353
mailing list