Re: [Lazarus] Remote application

2012-10-31 Thread Michael Schnell
I understand that there are (at least) two ways to do the remote display. A) Read the pixels from the graphics driver. This is what VNC does. The problem here is, that you don't know when an update is necessary (and thus you need to do polling) and that reading the pixels needs a lot of

Re: [Lazarus] Remote application

2012-10-31 Thread Santiago A.
El 31/10/2012 10:13, Michael Schnell escribió: I understand that there are (at least) two ways to do the remote display. A) Read the pixels from the graphics driver. This is what VNC does. The problem here is, that you don't know when an update is necessary (and thus you need to do polling)

Re: [Lazarus] Remote application

2012-10-31 Thread Lukasz Sokol
On 31/10/2012 09:13, Michael Schnell wrote: I understand that there are (at least) two ways to do the remote display. A) Read the pixels from the graphics driver. This is what VNC does. The problem here is, that you don't know when an update is necessary (and thus you need to do polling)

Re: [Lazarus] Remote application

2012-10-31 Thread Michael Schnell
On 10/31/2012 01:47 PM, Lukasz Sokol wrote: Some /free software/ VNC implementations (e.g. UltraVNC) install their own display driver [under Windows] to exactly know /when/ update is needed and where. Good to know ! Thanks, -Michael -- ___ Lazarus

Re: [Lazarus] Remote application

2012-10-30 Thread Michael Schnell
On 10/29/2012 06:43 PM, Bernd wrote: NX also has the advantage you can just forward one application only, not the entire desktop. This sounds great for another purpose, that I supposedly will be facing next year: Doing a headless embedded device with ARM/Linux and allow for a remote user (via

Re: [Lazarus] Remote application

2012-10-30 Thread Bernd
2012/10/29 Santiago A. s...@ciberpiula.net: Thank you very much, that is exactly what I wanted. What about performance and latency? There still is a noticeable delay but it is orders of magnitude faster than VNC or conventional X11 tunneling. It is comparable to the performance of RDP. You

Re: [Lazarus] Remote application

2012-10-30 Thread Bernd
2012/10/30 Michael Schnell mschn...@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

Re: [Lazarus] Remote application

2012-10-30 Thread Michael Schnell
On 10/30/2012 12:48 PM, Bernd wrote: * 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 I don't see why this should be that way, but I would need to do further investigations to find out if/how this can

Re: [Lazarus] Remote application

2012-10-30 Thread Bernd
2012/10/30 Michael Schnell mschn...@lumino.de: On 10/30/2012 12:48 PM, Bernd wrote: * 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 I don't see why this should be that way, but I would need to do

[Lazarus] Remote application

2012-10-29 Thread Santiago A.
Hello: I have an old delphi application (a small ERP) running on a customer. People connect using Windows Remote Desktop. There are plans to increase the number of remote connections a lot (due crisis, many employers will work only partial time from their homes). I think that the remote desktop

Re: [Lazarus] Remote application

2012-10-29 Thread Michael Fuchs
Am 29.10.2012 11:54, schrieb Santiago A.: Due people who connect remotely don't need the full application, just a small subset, I was thinking about programing a reduced version in Lazarus as frontend of the data, and show only the GUI remotely. I have a couple of ideas: Using a remote

Re: [Lazarus] Remote application

2012-10-29 Thread Santiago A.
El 29/10/2012 12:07, Michael Fuchs escribió: I would split the application in a client and a server part. The client contains the GUI part and communicates via SOAP/XML-RPC/JSON-RPC/BINARY protocol with the server part. The server part includes business logic and data storing. Michael

Re: [Lazarus] Remote application

2012-10-29 Thread Mark Morgan Lloyd
Santiago A. wrote: Using a remote Xwindows server (Are there good Xwindows server for win32?) Making a web application using ExtJs Doctrine has it that the X protocol isn't very good over long-distance comms, i.e. anything other than an in-memory or LAN connection; it might be improved if

Re: [Lazarus] Remote application

2012-10-29 Thread Ludo Brands
Using a remote Xwindows server (Are there good Xwindows server for win32?) Making a web application using ExtJs Any hint? New ideas? Experiences? Xming is one of the better Xservers for windows. I'm running 6.9.0.31 since a while on XP sp2 but from time to time it crashes which is quite

Re: [Lazarus] Remote application

2012-10-29 Thread Mark Morgan Lloyd
Ludo Brands wrote: Using a remote Xwindows server (Are there good Xwindows server for win32?) Making a web application using ExtJs Any hint? New ideas? Experiences? Xming is one of the better Xservers for windows. I'm running 6.9.0.31 since a while on XP sp2 but from time to time it crashes

Re: [Lazarus] Remote application

2012-10-29 Thread Michael Schnell
On 10/29/2012 11:54 AM, Santiago A. wrote: Any hint? New ideas? Experiences? You could generate a web application, providing a browser-interface to the users via Apache or IIS. Unfortunately Lazarus does not offer very much support for this. But some support indeed recently has been

Re: [Lazarus] Remote application

2012-10-29 Thread Michael Schnell
On 10/29/2012 11:54 AM, Santiago A. wrote: Using a remote Xwindows server (Are there good Xwindows server for win32?) I once used XMing. It did work, but I think NX Free seems more advanced. -Michael -- ___ Lazarus mailing list

Re: [Lazarus] Remote application

2012-10-29 Thread Antonio Fortuny
Le 29/10/2012 12:52, Michael Schnell a écrit : On 10/29/2012 11:54 AM, Santiago A. wrote: Using a remote Xwindows server (Are there good Xwindows server for win32?) I once used XMing. It did work, but I think NX Free seems more advanced. -Michael Right. I'm using it with OpenSuse 11.2 as

Re: [Lazarus] Remote application

2012-10-29 Thread Michael Fuchs
Am 29.10.2012 12:19, schrieb Santiago A.: Well, that would be the ideal solution, but I don't want to implement a full protocol all calls and answers. Isn't there already a protocol defined to communicate in lazaris? With the Webservice-Toolkit [1] you can easily implement this

Re: [Lazarus] Remote application

2012-10-29 Thread Michael Fuchs
Am 29.10.2012 13:01, schrieb Michael Fuchs: With the Webservice-Toolkit [1] you can easily implement this communication way. Sorry, forgot the link: http://wiki.freepascal.org/Web_Service_Toolkit Michael -- ___ Lazarus mailing list

Re: [Lazarus] Remote application

2012-10-29 Thread Antonio Fortuny
Le 29/10/2012 12:52, Michael Schnell a écrit : On 10/29/2012 11:54 AM, Santiago A. wrote: Using a remote Xwindows server (Are there good Xwindows server for win32?) I once used XMing. It did work, but I think NX Free seems more advanced. Look at http://www.nomachine.com/ -Michael --

Re: [Lazarus] Remote application

2012-10-29 Thread Michael Schnell
On 10/29/2012 11:54 AM, Santiago A. wrote: Hello: I have an old delphi application Any hint? New ideas? Experiences? You could make it a client/server application. I have no experience on this using Lazarus, but on Delphi my colleagues very successfully use the commercial RemObjects kit,

Re: [Lazarus] Remote application

2012-10-29 Thread Leonardo M . Ramé
On 2012-10-29 11:54:16 +0100, Santiago A. wrote: Hello: I have an old delphi application (a small ERP) running on a customer. People connect using Windows Remote Desktop. There are plans to increase the number of remote connections a lot (due crisis, many employers will work only partial

Re: [Lazarus] Remote application

2012-10-29 Thread Reinier Olislagers
On 29-10-2012 13:57, Leonardo M. Ramé wrote: Hi Santiago, did you try to run the application from a remote location?, by just publishing the database (assuming you are using a TCP database, such as Firebird, Postgresql, SQL Server, ) port on your router, you could connect the client to

Re: [Lazarus] Remote application

2012-10-29 Thread Santiago A.
El 29/10/12 14:38, Reinier Olislagers escribió: On 29-10-2012 13:57, Leonardo M. Ramé wrote: Hi Santiago, did you try to run the application from a remote location?, by just publishing the database (assuming you are using a TCP database, such as Firebird, Postgresql, SQL Server, ) port on

Re: [Lazarus] Remote application

2012-10-29 Thread Michael Schnell
On 10/29/2012 03:21 PM, Santiago A. wrote: I don't know why, but standard dataware controls generate a lot of traffic. This is because they mostly use SOAP which produces a huge overhead. That is why we like RemObjects. which is appropriately scalable. -Michael --

Re: [Lazarus] Remote application

2012-10-29 Thread Santiago A.
El 29/10/12 14:38, Reinier Olislagers escribió: On 29-10-2012 13:57, Leonardo M. Ramé wrote: Hi Santiago, did you try to run the application from a remote location?, by just publishing the database (assuming you are using a TCP database, such as Firebird, Postgresql, SQL Server, ) port on

Re: [Lazarus] Remote application

2012-10-29 Thread Ludo Brands
I don't know why, but standard dataware controls generate a lot of traffic. Perhaps it is a problem of bad application design, but things that work properly in a LAN are almost unusable in a WAN. That is also my experience. If a client server app is not developped from the beginning for

Re: [Lazarus] Remote application

2012-10-29 Thread Leonardo M . Ramé
On 2012-10-29 15:54:45 +0100, Santiago A. wrote: El 29/10/12 14:38, Reinier Olislagers escribió: On 29-10-2012 13:57, Leonardo M. Ramé wrote: Hi Santiago, did you try to run the application from a remote location?, by just publishing the database (assuming you are using a TCP database,

Re: [Lazarus] Remote application

2012-10-29 Thread Santiago A.
El 29/10/2012 16:55, Leonardo M. Ramé escribió: On 2012-10-29 15:54:45 +0100, Santiago A. wrote: No matter which protocol I'll use, I will do through a SSH tunnel or VPN. Now, even remote desktop connections are done by an SSH tunnel with client private keys. The problem is not security, but

Re: [Lazarus] Remote application

2012-10-29 Thread duilio foschi
give a look to this product: http://thinstuff.com/ DF -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Remote application

2012-10-29 Thread duilio foschi
also: http://www.terminalserviceplus.com/ DF -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Remote application

2012-10-29 Thread Bernd
2012/10/29 Antonio Fortuny a.fort...@sitasoftware.lu: Using a remote Xwindows server (Are there good Xwindows server for win32?) I once used XMing. It did work, but I think NX Free seems more advanced. -Michael Right. I'm using it with OpenSuse 11.2 as server and a Windows client on

Re: [Lazarus] Remote application

2012-10-29 Thread Santiago A.
El 29/10/2012 18:10, duilio foschi escribió: give a look to this product: http://thinstuff.com/ DF -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus Thinstuff is a