July 8th, 2024

Xpra: Persistent Remote Applications for X11

Xpra is a versatile tool for running X11 programs on a remote host, supporting various network protocols. It offers stable downloads for Windows, MacOS, and Linux, with documentation and support available.

Read original articleLink Icon
Xpra: Persistent Remote Applications for X11

Xpra is a versatile tool designed as "screen for X" enabling users to run X11 programs on a remote host, display them locally, and maintain state across disconnections. It supports various network protocols and seamlessly integrates remote applications into the client's desktop environment. Official stable downloads are offered for Windows, MacOS, and Linux, with the option to build from source. Usage involves installing Xpra on both client and host machines, offering features like seamless mode for remote application interaction and shadow mode for viewing remote desktop sessions. The Xpra servers support multiple connection types and can be secured with encryption and authentication. Extensive documentation is available in the repository's `docs` folder, along with version-agnostic information on the wiki. Users can find answers in the FAQ, seek help on GitHub discussions, IRC channel `#xpra` on `libera.chat`, or Discord, and submit bug reports following provided guidelines. For further details or assistance, users are encouraged to inquire directly.

Related

X debut 40 years ago (1984)

X debut 40 years ago (1984)

Robert W. Scheifler introduced the X window system in June 1984 for the VS100 Unix server, offering improved performance over W. The system was stable, with the Laboratory for Computer Science already transitioning to X and developing applications. Scheifler encouraged experimentation and welcomed volunteers for documentation contributions.

40 years later, X Window System is far more relevant than anyone could guess

40 years later, X Window System is far more relevant than anyone could guess

The X Window System, developed by Scheifler and Gettys at MIT, remains relevant after 40 years. Its evolution from X10r4 to X11 brought graphical capabilities, cross-platform compatibility, and enduring value in academia and beyond.

I found an 8 years old bug in Xorg

I found an 8 years old bug in Xorg

An 8-year-old Xorg bug related to epoll misuse was found by a picom developer. The bug caused windows to disappear during server lock, traced to CloseDownClient events. Despite limited impact, the developer seeks alternative window tree updates, emphasizing testing and debugging tools.

Show HN: Xcapture-BPF – like Linux top, but with Xray vision

Show HN: Xcapture-BPF – like Linux top, but with Xray vision

0x.tools simplifies Linux application performance analysis without requiring upgrades or heavy frameworks. It offers thread monitoring, CPU usage tracking, system call analysis, and kernel wait location identification. The xcapture-bpf tool enhances performance data visualization through eBPF. Installation guides are available for RHEL 8.1 and Ubuntu 24.04.

X Window System at 40

X Window System at 40

The X Window System, originating in 1984, celebrated its 40th anniversary. Key points include its evolution, open-source nature, and debates on successors like Wayland. Its lasting impact on computing environments is acknowledged.

Link Icon 16 comments
By @darau1 - 6 months
The description makes me think this can reproduce a cool workflow demonstration I saw a few years ago on reddit[1].

[1]: https://www.reddit.com/r/unixporn/comments/k1eu0n/durden_wor...

By @BLKNSLVR - 6 months
I tried Xpra for remote applications some four to five years ago when I migrated from Windows to Linux and needed a Remote Desktop (type) alternative.

I stuck with it for a while in advance of numerous other options, until I found NoMachine - which doesn't do remote applications but does do full remote desktop and has the closest 'feel' to being local-machine than anything other than Windows Remote Desktop.

I (ironically?) dislike Microsoft just that little bit extra for making Remote Desktop so damn good whilst progressively destroying the Windows experience.

I would like to try Xpra again, but I've got a growing list of "I'd like to try that's" that even the top priorities only get small bites taken out of them per week / month - and my current workflow is pretty good.

By @alchemist1e9 - 6 months
Once you have GPU server side encoding and client GPU decoding all working correctly with NVENC end to end there is nothing like it in terms of speed and performance for remote work. With a reasonable ping latency like 20-30ms and quality link a user on a cheap gaming laptop connected to a decent beefy server with the GPU encoding working can perceive the remote browser window as faster than their local browser.
By @JeremyNT - 6 months
If you're only working on Linux, you almost surely want waypipe [0] instead of xpra. If you need support for other platforms, though, xpra is still a pretty good solution.

[0] https://gitlab.freedesktop.org/mstoeckl/waypipe

By @beardog - 6 months
I use xpra to run apps in VMS but seamlessly render them on my desktop. Allows me to have a qubes type workflow without using qubes. Probably not quite as secure, but you can disable features for untrusted servers.
By @jrm4 - 6 months
This might be a good place to ask this:

So, the idea of Firefox Sync is almost cool, but what I'd like is literally everything EXACTLY "synced," down to the current state of every tab.

Something like this feels like it should do it, but I've tried this and other things, and it just didn't work all that seamlessly.

Has anyone accomplished anything like this for browsers and use it regularly?

By @jesprenj - 6 months
Ohhh, that's what it's for! I use it for scaling x11 apps with the run_scaled script that's shipped with xpra (:
By @gdevenyi - 6 months
The SSH support in the GUI application isnt very good which precludes me recommending it to my users sadly.
By @llmblockchain - 6 months
I am running linux machines and I have one headless machine. I need to keep a browser running in that machine and occasionally check on it (see what it's doing, and possibly fix things in the browser). Would Xpra let me do that from a remote machine?
By @paulirish - 6 months
I use this instead of Chrome Remote Desktop and really appreciate the seamless window integration. It does, however, take some work to get it working smoothly.
By @coretx - 6 months
The first one to dump this into flutter will probably be onto something
By @amelius - 6 months
I use it to run software that is too new for my Linux distro inside a headless VM.

Package management sucks, and this is my way to deal with it.

By @nemoniac - 6 months
Are there any security implications of running this over ssh?
By @caohongyuan - 6 months
oh my god
By @4ad - 6 months
Last I checked this didn't support HiDPI, a technology invented over 10 years ago.
By @Filligree - 6 months
Okay, but X11 is deprecated. Is there a modern version?