[Lazarus] Remote application
Bernd
prof7bit at gmail.com
Tue Oct 30 12:48:16 CET 2012
2012/10/30 Michael Schnell <mschnell at lumino.de>:
> 1) the "Server" is an ARM device
> 2) the application is already running (supposedly showing it's GUI on some
> virtual Desktop provided by the NX infrastructure) when NX attaches to it.
* It is possible to attach to a local running desktop (only to the
entire Desktop as far as I know) but then the performance degrades
heavily and becomes a bad as VNC because it seems then it cannot do
the efficient X11 compression and caching and needs to fall back to
VNC protocol, I'm not sure if there are any advantages over VNC in
this case.
* You can start a virtual session through nx and detach from it and
later re-attach, then there won't be performance problems but then you
need to start the application inside an NX session (I'm not sure how
easy it is to initiate this locally (on boot) to create a detached
session with the application running in it without the client actually
connecting and creating it (maybe a scripted local nx client
connecting to localhost, starting the application and then immediately
detaching from it, might be possible with some advanced scripting
trickery).
Alternatively split your application into a service that is started at
boot an running always and a GUI that can be started and stopped at
any time without interfering with the ongoing operations of the
service. This seems to look like a much cleaner solution to your
scenario.
More information about the Lazarus
mailing list