Re: running remote programs under X11
Re: running remote programs under X11
- Subject: Re: running remote programs under X11
- From: Don MacQueen <email@hidden>
- Date: Thu, 3 Feb 2005 07:45:49 -0800
Sorry, I'm having trouble figuring out which machine is which, in the
way you're naming them and describing what you're doing.
I'm going to assume that Mathematica is executing on a remote machine
(the machine whose cpu cycles it is using is physically remote). And
that you're sitting in front of another machine (called the local
machine because it's right in front of you), and you want to see
Mathematica's graphics in a window on local machine.
Your Mathematica error, "No graphics output medium specified.", sure
looks like you haven't told Mathematica where you want graphics
output to go. That's a Mathematica issue, not an X11 issue. If
Mathematica has graphics device that is X-windows-aware, it might
work.
Similarly, TextEdit is an Aqua application, not an X windows-based
application. You can't use X windows to display Aqua apps on a
machine other than the one they are running on. You need Apple Remote
Desktop, or Timbuktu, or VNC to do that sort of thing. (You can't
use X windows to display Aqua apps on a local machine either.)
If you want to run an editor on a remote machine, and display the
editor's windows on a local machine, using X Windows for the
displaying, you need something like emacs (and not the emacs that
comes with OS X, unfortunately, but one that was built with X windows
support; fink has one such), or any other unix-based X-windows-aware
editor.
-Don
At 6:22 PM -0600 2/2/05, Ed Birchfield wrote:
The new article from apple-developer connection for running X11
applications on MacOSX is great up to a point.
I am using a G3 laptop as server to a client G5.
In an xterm window on my server I login to my client with:
ssh -C -X -c blowfish paleo@my client machine
After login, from the client I can open an xterm window on my server with:
xterm -j -ls -C -s -sb -sl 4096 -bg green &
This works beautifully.
What I want to do is edit and run Mathematica and fortran programs
on the client from EITHER this tunnelled xterm window or the
original xterm window residing on my laptop server. There is
graphical output.
Mathematica code runs fine for numerical output; but if I want to
get graphical output it fails.. Suppose I want to plot Sin[x]; the
mathematica code gives me the following error:
In[2]:= Plot[Sin[x], {x,0,2.}]
Show::gmed: No graphics output medium specified.
Out[2]= -Graphics-
In[3]:=
Suppose I want to edit Mathematica or fortran code residing on my
client with TextEdit. {I have no problem doing this from an xterm
window on my server if the file is on the server.) From the xterm
window in which I logged into my client I get the following results:
$ te new
[1] 18223
$ kCGErrorRangeCheck : Window Server communications from outside of
session allowed for root and console user only
INIT_Processeses(), could not establish the default connection to
the WindowServer.
$
If I try the same thing in the tunnelled xterm window, I get:
$ te new
[1] 18126
$ kCGErrorRangeCheck : Window Server communications from outside of
session allowed for root and console user only
INIT_Processeses(), could not establish the default connection to
the WindowServer.
[1]+ Abort trap /Applications/TextEdit.app/Contents/MacOS/TextEdit $1
I have explored the web links in the article, which were also
helpful but I am stuck at this point. I hope this description is
clear and not too long.
Ed Birchfield
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA
--------------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden