File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Mac OS and the fly likes getting Java Graphics from MacOSX via ssh on a LinuxBox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "getting Java Graphics from MacOSX via ssh on a LinuxBox" Watch "getting Java Graphics from MacOSX via ssh on a LinuxBox" New topic
Author

getting Java Graphics from MacOSX via ssh on a LinuxBox

Ravi Sathish
Ranch Hand

Joined: Feb 26, 2002
Posts: 131
Ranchers,

I have MacOSX on one of the m/c's.

I login to this m/c from my linux box using ssh. When I run a Java program from this terminal, for some reason I'm not able to get the Java graphics on to my linux terminal. I mean the Java app opens up on the MacOS normally.

Does anybody happen to know the terminal display settings that I need to make?

I tried following display settings on MacOS without any results
DISPLAY=localhost:10.0
DISPLAY=p125244:0.0 where p125244 being my linuxbox i/p

TIA
Ravi
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61764
    
  67

Aqua is not X Windows. You will only be able to do what you are attempting with X Windows applications.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
As far as I know, you will need to have a X server running on the Linux box and an X client on the Mac box. (Or is does the client run on the Linux box and the server on the Max box. For some reason, I think this terminology with X is backwards from what you expect.) Either way, you need to use X Windows, as Bear said above.

Layne
[ July 30, 2005: Message edited by: Layne Lund ]

Java API Documentation
The Java Tutorial
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
    
    6
... and the X windows client is on the OS X developer CD, I think.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getting Java Graphics from MacOSX via ssh on a LinuxBox