running remote programs under X11
running remote programs under X11
- Subject: running remote programs under X11
- From: Ed Birchfield <email@hidden>
- Date: Wed, 2 Feb 2005 18:22:35 -0600 (CST)
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)
This email sent to email@hidden