需先阅读 sanzu/README.md 手动配置客户端与服务端;视频压缩依赖 FFmpeg 及对应编码器(如 h264_qsv);Unix 版功能比 Windows 版更完善
README 未给出安装命令,仅指向 sanzu/README.md 说明手动运行客户端/服务端README 未说明具体显存要求;压缩由 FFmpeg 完成,可用显卡或 CPU,示例使用 Intel 的 h264_qsv 硬件编码。
用 h264/h265 视频编码传输 X11 或 Windows 图形界面的远程桌面方案,客户端和服务端都跨平台
用 Rust 写的图形化远程桌面工具,自带 ffmpeg 音视频传输,能远程连到另一台机器并同步画面和声音。
核心能力
- 用 h264/h265 编码视频流,降低带宽占用
- 通过 FFmpeg 调用显卡或 CPU 做低延迟压缩
- 支持 yuv420 与 yuv444 两种色彩格式
- 客户端支持无缝模式,窗口与本地桌面融合
- 服务端可流式传输 X11 或 Windows GUI 环境
容易踩的坑
- sanzu-0.1.42023-06-01 · 2023-06-01 11:04 UTC
查看更新说明
Changed
- extern-img-source short version is '-k' for all binaries
- remove duplicate '-c' option for client/proxy/server
- rename '--config_path' to '--args-config' for arguments config file
Fixed
- Remove default listen port for sanzu_proxy (resulting in vsock err)
Removed
- '-i' short version for "--export-video-pci" for sanzu_server
- sanzu-v0.1.4最新正式版2023-06-01 · 2023-06-01 10:27 UTC
[0.1.4] - 2023-05-31
Changed
- extern-img-source short version is '-k' for all binaries
- remove duplicate '-c' option for client/proxy/server
- rename '--config_path' to '--args-config' for arguments config file
Fixed
- Remove default listen port for sanzu_proxy (resulting in vsock err)
Removed
- '-i' short version for "--export-video-pci" for sanzu_server
- sanzu-0.1.32023-05-16 · 2023-05-16 17:20 UTC
查看更新说明
Changed
- loop argument renamed to keep-listen
- clipboard_config argument renamed to clipboard
- printdir argument renamed to allow-print
- import_video_shm argument renamed to extern_img_source
- shm_is_xwd argument renamed to source_is_xwd
- update to ffmpeg 6.0
Added
- Arguments can be taken from file (--config-path) or environment variables
- Add --proto to the command line
- Add --version to the command line
- Add --title to customize client window name
- Support 32 bit rgba cursors for x11 sanzu client
Fixed
- Multiple x11 misuse
- Dependencies listings for alpine/CentOS
- sanzu-0.1.22023-03-02 · 2023-03-02 17:19 UTC
查看更新说明
Added/Changed
- CI: Generating binary release for alma8/alma9/alpine/debian bullseye/windows
Fixed
- Fix windows sanzu client bad error code handling
- Fix windows memory leak
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
Sanzu
Sanzu is a graphical remote desktop solution. It is composed of:
- a server running on Unix or Windows which can stream a X11 or a Windows GUI environment (for now the Unix version is more advanced)
- a client running on Unix or Windows which can read this stream and interact with the GUI environment
It uses modern video codecs like h264/h265 to offer a good image quality and limit its bandwidth consumption. Video compression is done through FFmpeg which allows the use of graphic cards or full featured CPU to achieve fast video compression at low latency. It also allows the use of yuv420 or yuv44 for better graphical details.
This repository contains:
- sanzu: client / server code
- sanzu-broker: a broker for sanzu
- sanzu-common: common code
- demo: demo code to quickly build and run sanzu
- build: docker scripts to build sanzu packages for several distributions
Here is the README which explains how to run the client/server manually: Sanzu Readme
Here are some examples: In this case, the remote sanzu server runs under a linux system. Example configuration:
- compression: h264_qsv (intel)
- ffmpeg target bandwidth: 2000000 bits/s
- format: nv12 (yuv420)
- preset: veryfast
Screenshots are in PNG to show original compression details.
Sanzu client running in seamless mode under windows (both windows are from the remote server)

Sanzu client running in seamless mode under linux (both windows are from the remote server)
