xpra

Xpra-orgGPL-2.0活跃维护

把 X11 应用变成可断线重连的远程应用,支持屏幕共享和远程桌面,兼容 macOS 与 Windows 客户端。

Persistent remote applications for X11; screen sharing for X11, MacOS and MSWindows.

v5.1.7发布于 2026-11-08 17:45 UTC3,058star +9 / 7 天246fork同步于 2026-11-10 17:43 UTC

怎么上手

由 README 提炼,执行前请确认
git clone https://github.com/Xpra-org/xpra; cd xpra
python3 ./setup.py install
硬件要求按 README 说明

README 未说明具体硬件或显存要求;客户端支持 Windows、MacOS(x86_64/arm64)与 Linux,服务端需运行在 X11 主机上。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

把远程 X11 图形程序无缝转发到本地,断线重连不丢状态的屏幕共享工具

把 X11 应用变成可断线重连的远程应用,支持屏幕共享和远程桌面,兼容 macOS 与 Windows 客户端。

核心能力

  • 以 seamless 模式单独转发远程 X11 应用窗口
  • 断开后可从本机或另一台机器重连并保留会话状态
  • 同步音频、剪贴板、打印机、托盘、通知、摄像头等桌面特性
  • 服务端内置 HTML5 客户端,单 TCP 端口支持 SSL/SSH/WebSocket 等多种连接
  • 支持 shadow 模式查看已有桌面会话,也可启动远程桌面会话

容易踩的坑

客户端和主机两端都要安装 xpra,只有用 HTML5 客户端时才只需在主机端安装;seamless 模式启动的程序(如 xterm)必须已安装在远程主机上;从源码构建前需自行准备依赖,README 未列出具体依赖版本。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v5.1.7
  1. v5.1.7最新正式版2026-11-08 · 2026-11-08 17:45 UTC
  2. v6.5.62026-11-06 · 2026-11-06 16:37 UTC
    查看更新说明
  3. v6.5.52026-10-12 · 2026-10-12 16:05 UTC
    查看更新说明
  4. v6.5.42026-09-27 · 2026-09-27 15:30 UTC
    查看更新说明
  5. v6.5.32026-08-18 · 2026-08-18 15:14 UTC
    查看更新说明

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译
    1. About
    2. Installation
    3. Usage
    4. Documentation
    5. Help

    About

    Xpra is known as "screen for X" : its seamless mode allows you to run X11 programs, usually on a remote host, direct their display to your local machine, and then to disconnect from these programs and reconnect from the same or another machine(s), without losing any state. Effectively giving you remote access to individual graphical applications. It can also be used to access existing desktop sessions and start remote desktop sessions.

    Xpra is open-source (GPLv2+) with clients available for many supported platforms, and the server includes a built-in HTML5 client. Xpra is usable over a wide variety of network protocols and does its best to adapt to any network conditions.

    Xpra forwards and synchronizes many extra desktop features, which allows remote applications to integrate transparently into the client's desktop environment: audio input and output, printers, clipboard, system trays, notifications, webcams, etc.

    It can also open documents and URLs remotely, display high bit depth content, and it will try to honor the display's DPI.

    Here's what a seamless session with two windows (an xterm and glxspheres) looks like when attached from an MS Windows 11 desktop client: Windows11-client (the windows may look like native windows, but they are running on a remote Linux server)


    Installation

    Official stable downloads

    All the packages are signed. There are also LTS and beta builds available.
    For more information and more build architecture options, see xpra downloads.

    Build from source

    git clone https://github.com/Xpra-org/xpra; cd xpra
    python3 ./setup.py install
    

    For more details, see building from source. To contribute to the project, please try to use pull-requests and follow our code of conduct. Unit test status: xpra


    Usage

    Initial requirements

    xpra must be installed on the client and the host.

    You can use the html5 client in which case xpra is only required on the host.

    Seamless Mode

    Run xterm on a remote host, display and interact with it locally (from the client machine):

    xpra seamless ssh://USER@HOST/ --start=xterm
    # hint: xterm must be installed on the HOST.
    

    For more examples, see usage.

    Shadow

    View an existing desktop session running on a remote host:

    xpra shadow ssh://USER@HOST/
    

    Network Access

    Xpra servers can support many different types of connections using a single TCP port: SSL, SSH, (secure) http / websockets, RFB, etc..
    Connections can be secured using encryption and many authentication modules.
    Sessions can be automatically announced on LANs using multicast DNS so that clients can connect more easily using a GUI (ie: xpra mdns-gui).
    Its flexible proxy server can be used as a relay or front end for multiple server sessions.


    Documentation

    There is extensive documentation right here for the current development version. This documentation is also included with each release.

    For more generic version-agnostic information, checkout the wiki.


    Help

    Make sure to check the FAQ, your question may already be answered there. You can ask your questions on the GitHub discussions, or on the IRC channel #xpra on libera.chat or using discord. If you have hit a bug (sorry about that!), please see reporting bugs.