Xpra Explained

Xpra
Author:Nathaniel Smith
Developer:Nathaniel Smith, Antoine Martin
Latest Release Version:4.4.6[1]
Programming Language:Python
Operating System:Unix-like, MS Windows, Mac OS X
Language:English
License:GPL-2.0-or-later

xpra, abbreviated from X Persistent Remote Applications, is a set of software utilities that run X clients, typically on a remote host, and direct their display to the local machine without the X clients closing or losing any state in case the network connection between the local machine and the remote host is lost.[2]

Xpra differs from standard X forwarding primarily in allowing disconnection and reconnection without disrupting the forwarded application.[3] It also differs from VNC and similar remote display technologies in being rootless, so applications forwarded by Xpra appear on the local desktop as normal windows managed by the local 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 original inspiration for making Xpra came from the original author's experience of attempting to use various setups based on NX technology.[4]

Operation

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 directs the window images into a network connection to the Xpra client, where they are displayed on the remote screen. The Xpra server also supports direct attachment, which makes it behave as a persistent application server, for example in the case where there is only an X server available at the remote end.

Xpra also acts as a window manager for the X server it is running against, but it does not 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, which 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. In addition to the normal Xpra client, it also supports using an HTML 5 capable web browser as a client.[5]

See also

External links

Notes and References

  1. [winswitch] [ANNOUNCE] Xpra 4.4.6: a few minor client-side issues ]. 20 June 2023 . 28 July 2023 . shifter-users@lists.devloop.org.uk . Martin . Antoine.
  2. Web site: XPRA: Persistent Remote Applications On X. Michael Larabel. Phoronix. 2013-08-19.
  3. Web site: Xpra - ArchWiki. wiki.archlinux.org.
  4. Web site: Comment #343389. Google releases Neatx NX server. LWN. 2009-07-25. Nathaniel. Smith. 2009-07-25. ... I was so frustrated that I wrote a competitor, 'xpra'..
  5. Web site: Linux-Fu: Applications on the web. Williams. Al. 31 March 2017. Hackaday. 28 September 2018.