Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Remote Aqua sessions System
[Editor's Note: See the comments for a discussion on the possibilities of remote control of Aqua sessions]

Hi!

I would like to know if anyone has successfully run Aqua-Applications on a remote machine (like one can do under X-Sessions if x-forwarding is allowed).

Thanks for any info on this.

ralf
    •    
  • Currently 1.60 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (5 votes cast)
 
[4,487 views]  

Remote Aqua sessions | 7 comments | Create New Account
Click here to return to the 'Remote Aqua sessions' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Unlikely...
Authored by: Anonymous on Feb 13, '01 10:53:12PM

Probably won't be possible.
NeXT had something called NXhost which was like xhost but it sent thepostscript windowing commands across a network just like x forwarding sends X11 windowing commands.
(Yes, NeXT ran postscript as its display... no wonder Quartz uses PDF.)

Anyhow, I recently found out that while quartz uses PDF, there is no internal "PDF stream" that the windowing clients (Apps) and server ("Aqua") use to communicate with eachother -- instead, there is just a shared memory space. (Much simplified, plus I can't remember total details.)

Anyhow, no PDF stream means implementing PDFHost becomes a lot harder than NXhost.

I'm just waiting for a OS X native VNC server... while not as cool, or fast, it is a lot more cross-platform and easy to use.

Zach



[ Reply to This | # ]
Unlikely...
Authored by: sven on Feb 14, '01 03:16:19AM

There are already several VNC clients available for OS X. Searching at VersionTracker you get the following hits:

VNCDimension 0.7.0
VNCThing 2.2
VNCViewer 2.01
xvnc 3.3.3r2

Have fun,
Sven



[ Reply to This | # ]
um...
Authored by: Anonymous on Feb 14, '01 04:07:04AM

vnc client != vnc server.
vnc server for X11 != vnc server for x.

we need an OS X native vnc server.

btw, I recently heard that there are hooks for remote windowing in quartz... just not at the PDF stream level, and probably not going to be implemented by apple.

zach



[ Reply to This | # ]
um...
Authored by: sven on Feb 14, '01 08:05:26AM

O, yes, sloppy reading... And what sense would it make to run a client when you want to capture a remote Aqua screen... Just scratch this previous post...

Cheers,
Sven



[ Reply to This | # ]
Unlikely...
Authored by: _merlin on Feb 14, '01 06:39:27PM

Two problems with this post:

  1. The Quartz engine, as far as I know, runs on top of the NeXT PostScript renderer, converting from PDF to PostScript. So you could still intercept the stream at the PostScript level.
  2. The Quartz engine is based on Distributed Objects messaging (as is the NeXT PostScript renderer). This is implemented via Mach ports, which use shared memory areas. There is still a "stream" in the form of the messages passed through the port. The application doesn't just write to shared memory. You could theoretically intercept these messages and send them to another machine. I'm not saying this is easy, or it's likely that there will be an application that does this in the forseeable future.

Vasantha Crabb
Professional Audio Services

Ashes to ashes, clay to clay; If your enemies don't get you, your own folk may.



[ Reply to This | # ]
Great!
Authored by: Anonymous on Feb 15, '01 06:28:38AM

As far as I knew, there was no native PS support in quartz. But if there is, all the better.

I do hope that someone is working on remote windowing -- I'm glad to hear about the Mach ports.
Also, I read a mention somewhere of the CGremoteoperation (or similar... CGremote something) classes which seemed to be hooks for just this sort of thing. However, I couldn't find any documentation over at Apple's site. (Or anything about core graphics at all...)

So thanks merlin -- corrections greatly appreciated.

Zach



[ Reply to This | # ]
Apple says...
Authored by: Anonymous on Mar 14, '01 07:33:04PM
From recent Developer Documentation from Apple:

"Quartz is comprised of a high-performance, lightweight window server and a graphics rendering library for two-dimensional (2D) shapes. The window server features such advanced capabilities as device-independent color and pixel depth, REMOTE DISPLAY, layered compositing, and buffered windows for the automatic repair of window damage."

Let's keep our fingers crossed!

[ Reply to This | # ]