Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java and X11



On Tuesday, Jun 17, 2003, at 22:44 America/Chicago, Butch Steinert wrote:
Anyone out there trying to run Java as an X11 app on Mac OSX?

I don't think anyone has written a Java implementation for Mac OS X that has X11 bindings. Apple certainly would have no interest in doing that, as they have their hands full enough getting it working with the native windowing environment.


I can't seem to get the Java app to startup in X11 mode. It always wants to start as a Mac app.

It can't use X11 for its display, it has no code or libraries that support that, any more than any other native Macintosh application. Perhaps someday Apple will come up with a way of doing network display forwarding for Quartz, but I've not heard any news about that yet (and it wouldn't really address your need anyway).


I want to be able to ssh to my Mac from another Unix box, fire up my Java app and have it display back to the X server running on my Unix box.

I'm afraid you're not going to be able to do that. You could perhaps use VNC, but it's not the same thing, I know.


First off. If I ssh to the Mac with X11 forwarding turned on the DISPLAY variable doesn't get set on the Mac. So, I can set the DISPLAY variable explicitly to my Unix box display but this bypasses the ssh X11 tunneling that I want to use.

That sounds like your Mac's ssh daemon is not configured to support X forwarding. Not surprising, I guess, since the OS doesn't (yet) ship with X support. Perhaps it will change someday? I'm sure someone else on the list will know the details of how to fix this configuration issue.


	-Jim
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.

References: 
 >Java and X11 (From: Butch Steinert <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.