I get the same error when I run my program, but the window still opens and the opengl renders properly. If you're still using the code you posted earlier, then you won't get a window since you never create a window. Throw some other stuff in there and see if it creates it. I'm connecting to :1, btw(since it's so slow coming from off campus). I assume :2 and :3 are the same as far as opengl is concerned; they're just different resolutions, afaik.
John-Paul On Wed, 2006-01-25 at 15:35 -0600, Keith Bertelsen wrote: > Indeed I wasn't :) It now compiles correctly, and runs, however, it > doesn't actually display, with the error: > Xlib: connection to ":0.0" refused by server > Xlib: no protocol specified > > My guess is that there's something a little weird in my VNC connection, > but a google search isn't drudging up anything useful. What am I doing > wrong *this* time? > > -Keith > > Ross Day wrote: > > I bet he didn't expect three simultaneous responses with the answer to > > his problem. :-) > > > > Keith Bertelsen wrote: > > > >> For the Computer Graphics course, we're to be using OpenGL for a good > >> amount of our graphics programming. As I would rather avoid having to > >> install any Microsoft C++ editor on my machine, I'm trying to get it > >> done on Ice. However, I seem to be having difficulties getting even a > >> basic program to compile. > > ----------------------------------------------------------------- > To get off this list, send email to [EMAIL PROTECTED] > with Subject: unsubscribe > ----------------------------------------------------------------- > ----------------------------------------------------------------- To get off this list, send email to [EMAIL PROTECTED] with Subject: unsubscribe -----------------------------------------------------------------
