When you launch an application via terminal, (whether in ssh or not)
the program will execute on the machine that contains the terminal
session. Therefore, launching text edit using the open command via
terminal will launch text edit on the remote host you're logged in
through. Since the gui part of the osx does not use the same input/
output methods as terminal does, there is no way to pipe that output
to the remote machine using standard tools.
Using ssh as a go-between, it is possible to execute programs on
remote machines and have the output show up on your local terminal,
but this takes a bit of trickory with both ssh and i/o redirection.
This of course doesn't work with gui apps though (more the pity)
since it would be an excellent way to handle remote administrations.
I don't know why apple doesn't build something like XServer/Xterm,
and provide a way for aqua to send it's graphical info across the
network to another machine, but until they do, any solutions we come
up with are just going to be (as you say) clunky work-arounds.
There's no technical reason why this couldn't be done, they already
allow apple script functions to be run cross machines, so building
something to interpret and control gui apps shouldn't really be all
that big of a stretch, and I know it's something that has been
frequently requested, and not just by us, lots of system admins would
like the ability too.
Something like this can be done using the xgrid technology, but that
treats the machines as a single one, just with multiple processors,
but still, no reason it can't be done, guess apple just doesn't
consider it a priority at the moment.
<--- Mac Access At Mac Access Dot Net --->
To reply to this post, please address your message to [email protected]
You can find an archive of all messages posted to the Mac-Access forum at
either the list's own dedicated web archive:
<http://mail.tft-bbs.co.uk/pipermail/mac-access/index.html>
or at the public Mail Archive:
<http://www.mail-archive.com/[email protected]/>.
Subscribe to the list's RSS feed from:
<http://www.mail-archive.com/[email protected]/maillist.xml>
The Mac-Access mailing list is guaranteed malware, spyware, Trojan, virus and
worm-free!
Please remember to update your membership options periodically by visiting the
list website at:
<http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/>