Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
x11 setup problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

x11 setup problems



Knowing pretty much nothing about X-Windows, I have ported gtk-based app to OSX utilizing the capability of gtk to target X11 under OSX.

I originally built the gtk2 libraries via DarwinPorts.

Then I installed X11 under 10.3 by downloading it from the apple site. My understanding is that the installer was supposed to set things up so that X11 apps would run transparently by double-clicking, including launching the X11 app.

But when I double-click my app, the system launches the standard Terminal.app instead of X11. I could probably set up the DISPLAY environment variable so that this has a chance of working but I'd rather know how to get X11 to be launched by the double-click.

When I built gtk2 via DarwinPorts, this caused XDarwin to be installed in my applications directory. I wondering if the presence of XDarwin is causing any confusion, or if in fact DarwinPorts was confused because I had not installed X11 prior to building the gtk2 library. Incidentally, when XDarwin is launched it quits almost immediately. But this seems to be independent of the problem I am having with X11.

My app functions normally when I start it explicitly from the X11 terminal.

There is no .xinitrc file in my home directory. I have not tried creating one since I am trying to understand the most normal default situation which will be representative of what end users of this app (who are not X11-savvy) will run into.

Thanks in advance for any info that may help clarify these issues. This situation appears to be obscure (though I'm not sure why) and not quite covered by any of the FAQ's I have found.

-Kurt Bigler
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.