From: Axel S. <Axe...@en...> - 2008-12-03 14:38:45
|
On Wed, 2008-12-03 at 14:34 +0000, Colin Paul Adams wrote: > >>>>> "Axel" == Axel Simon <Axe...@en...> writes: > > >> I compiled the demo/hello program, but when I run it, after a > >> long while it displays the message: > >> > >> helloworld: Cannot initialize GUI. > >> > >> I can't see anything about this in the FAQ. Hopefully someone > >> here has alreadt encountered the problem though. > > Axel> Yes: You have compiled Gtk2Hs against the X11 versions of > Axel> Gtk+. Thus, in order to run any application, you have to > Axel> start them from within the X11 server (which you can get > Axel> from your install CD). > > I don't know that I can do that, as a MacBook Air doesn't have a CD > drive. Can I do it by SSHing to my linux box? And where are the > instructions for it? > > Also, why isn't an X11 terminal sufficient? Yes, that's what I meant. I'm just guessing but it seems that you started the Hello World program in a Terminal, not in an X11 Terminal. Axel. |