Sorry, I meant the same thing that you had just tried. From the error message, I think the gtk initialisation was done. It being a warning rather than error message because gtk had some components that do not required a screen (headless).
I googled this page http://web3null.blogspot.com/2007/10/running-gtk-applications-in-mac-os-x.html which said something about X11.app 5. run application To run your application, you could try it in the Terminal, but if it is a x11 app, the output will be "Gtk-WARNING **: cannot open display:". What you have to do is starting the X11.app, which is the same as the Terminal but provides the X-Server. It is also possible to start an X11 application by "open-x11 <application-name>" (see Apple's x11 site) Срд, 08 Дек 2010, Brian Schott писал(а): > What do you mean when you say try jgtk? > > When I leave Gimp running and then try starting J with the blue icon, > I get a slightly different error. > > % /Users/brian/j701/bin/jgtk.command; exit > > (<unknown>:823): Gtk-WARNING **: cannot open display: > logout > [Process completed] > > > On Tue, Dec 7, 2010 at 9:55 PM, bill lam <[email protected]> wrote: > > Втр, 07 Дек 2010, Brian Schott писал(а): > >> I launched from the blue icon after making this change and am back > >> to a slightly different error message. > >> > >> % /Users/brian/j701/bin/jgtk.command; exit > >> > >> (<unknown>:29834): Gtk-WARNING **: cannot open display: > > > > I can get the same error if running in linux console without x server. I > > guess mac by default does not launch X but I cannot find any libX11 inside > > the gtklist that you sent. If you are running Gimp there should a running X > > server. You could try jgtk to see if it can re-use this X server. Other > > than that I'm clueless. > > > > -- > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
