xpra or X Persistent Remote Applications is a tool which allows you to run X clients usually on a remote host and then direct their display to your local machine without losing any state.
It differs from standard X forwarding in that it allows disconnection and reconnection without disrupting the forwarded application. It differs from VNC and similar remote display technologies in that xpra is rootless: i.e., applications forwarded by xpra appear on the local desktop as normal windows managed by your window manager, rather than being all "trapped in a box together". Xpra also uses a custom protocol that is self-tuning and relatively latency-insensitive, and thus is usable over worse links than standard X.
The idea for Xpra was inspired after the original author's experience of attempting to use various NX technology based setups.
The display server manages the INPUT and the OUTPUT for all of its clients. Xpra acts like an compositing window manager
Xpra connects as a compositing window manager to an Xvfb display server. However, instead of combining the window images to present on the screen, it takes the window images and stuffs them into a network connection to the xpra client, which then displays them onto the remote screen. Mind, the server also supports direct attachment, then it will behave only as persistent application server, for example if there is only X server available at the remote end. It also acts as a window manager for the X server it is running against, but it doesn't actually have any window manager policy built into it. Instead, it takes all the window management requests from the applications, sends them over the wire to the client, who then issues those same requests on the real display, waits for further answer the real window manager gives, and then forwards that answer back to the xpra server.