English
rdp-kit-server
Share this computer's desktop with a remote desktop client in one command, on Windows, Linux and macOS. It installs FreeRDP's server (AV1 video, sound, camera) the way each system expects, checks it, and removes it cleanly.
Quick start
-
Install uv (once): https://docs.astral.sh/uv/getting-started/installation/
-
Install the server:
uvx rdp-kit-server installIt asks for administrator rights once, and says what it will add and why.
-
Check it:
uvx rdp-kit-server doctorOne line per check; a problem comes with the fix.
Connect from another computer
The server listens on this computer only (127.0.0.1, port 3388); clients come in over SSH:
ssh -L 13388:127.0.0.1:3388 <user>@<this computer>
then open 127.0.0.1:13388 in a client, for example uvx rdp-kit-client.
Linux, session manager: a socket instead of a port. uvx rdp-kit-server install --socket makes the server listen on
a file, /run/freerdp-sesman/sesman.socket, instead of port 3388. Only members of the group freerdp-sesman can open
it; install adds you (log in again, or run newgrp freerdp-sesman, to use it in a terminal that was already open).
Clients come in over SSH the same way, to the socket:
ssh -L 13388:/run/freerdp-sesman/sesman.socket <user>@<this computer>
then open 127.0.0.1:13388 in a client. <user> must be in the group; add another user with sudo usermod -aG freerdp-sesman <user>.
Remove it
uvx rdp-kit-server uninstall
It removes exactly what install added (it kept a record), nothing else.
- Linux, session manager: headless GNOME sessions it started keep running (they may hold someone's work), and
uninstall says so; add
--end-sessionsto end them too. - macOS: a line stays in launchd's own list, saying the FreeRDP Shadow service was allowed (two, if you updated from an older, unsigned version); it starts nothing (macOS has no command to remove it).
Notes
- Linux: install picks the mode itself: on GNOME the session manager (sessions also before anyone logs in);
on another desktop, your own desktop.
--mode sesman|user-unit|headlesschooses it yourself. - macOS: allow FreeRDP Shadow in System Settings > Privacy & Security > Screen & System Audio Recording and
Accessibility;
doctorsays when it is still missing. Signed with a Developer ID: later updates should keep the permissions. The first update from an older, unsigned version asks once more: remove the old FreeRDP Shadow entry (−), then allow the new one. - Camera: clients can share their camera into this desktop: Windows 11 and Windows Server 2025, and Linux with v4l2loopback. On macOS: not yet (it needs two Apple profiles and a test on a real Mac).
- Another address or port:
--bind <address> --port <n>(by default 127.0.0.1 and 3388). An address other than 127.0.0.1 or ::1 lets other computers reach the login screen directly, without SSH;doctorwarns about it.
中文
rdp-kit-server
一条命令,把这台电脑的桌面共享给远程桌面客户端,支持 Windows、Linux 和 macOS。它按各系统的方式安装 FreeRDP 服务器(AV1 视频、声音、摄像头),检查它,并干净地卸载。
快速开始
-
安装 uv(一次):https://docs.astral.sh/uv/getting-started/installation/
-
安装服务器:
uvx rdp-kit-server install它只请求一次管理员权限,并说明要添加什么、为什么。
-
检查:
uvx rdp-kit-server doctor每项检查一行;有问题时附带修复方法。
从另一台电脑连接
服务器只在本机监听(127.0.0.1,端口 3388);客户端通过 SSH 连接:
ssh -L 13388:127.0.0.1:3388 <用户>@<这台电脑>
然后在客户端中打开 127.0.0.1:13388,例如 uvx rdp-kit-client。
Linux 会话管理器:用套接字代替端口。 uvx rdp-kit-server install --socket 让服务器在一个文件 /run/freerdp-sesman/sesman.socket 上监听,而不是端口 3388。只有 freerdp-sesman 组的成员能打开它;安装时会把你加入这个组(重新登录,或运行 newgrp freerdp-sesman,才能在已经打开的终端里使用)。客户端同样通过 SSH 连接,只是连到这个套接字:
ssh -L 13388:/run/freerdp-sesman/sesman.socket <用户>@<这台电脑>
然后在客户端中打开 127.0.0.1:13388。<用户> 必须在这个组里;用 sudo usermod -aG freerdp-sesman <用户> 加入其他用户。
卸载
uvx rdp-kit-server uninstall
它只移除安装时添加的内容(安装时留有记录),不动其他东西。
- Linux,会话管理器: 它启动的无头 GNOME 会话会继续运行(里面可能有别人的工作),卸载时会提示;加上
--end-sessions可一并结束。 - macOS: launchd 自己的列表里会留下一行,记录 FreeRDP Shadow 服务曾被允许(如果你是从较早的未签名版本更新的,会有两行);它不会启动任何东西(macOS 没有删除它的命令)。
说明
- Linux: 安装时自动选择模式:GNOME 上用会话管理器(登录前也能连接);其他桌面用你自己的桌面。用
--mode sesman|user-unit|headless可自行指定。 - macOS: 在"系统设置 > 隐私与安全性 > 录屏与系统录音"和"辅助功能"中允许 FreeRDP Shadow;尚未允许时
doctor会提示。已使用 Developer ID 签名:之后的更新应当会保留权限。从较早的未签名版本第一次更新时会再询问一次:先删除旧的 FreeRDP Shadow 条目(−),再允许新的。 - 摄像头: 客户端可以把摄像头共享到这个桌面:Windows 11 和 Windows Server 2025,以及装有 v4l2loopback 的 Linux。macOS:暂不支持(需要两个 Apple 描述文件,并在真实的 Mac 上测试)。
- 其他地址或端口:
--bind <地址> --port <端口>(默认 127.0.0.1 和 3388)。如果地址不是 127.0.0.1 或 ::1,其他电脑就能不经过 SSH 直接看到登录界面;doctor会对此发出警告。
日本語
rdp-kit-server
コマンド一つで、このコンピューターのデスクトップをリモートデスクトップクライアントと共有します。Windows、Linux、macOS に対応。FreeRDP のサーバー(AV1 映像、音声、カメラ)を各システムのやり方でインストールし、チェックし、きれいに削除します。
クイックスタート
-
uv をインストール(一度だけ):https://docs.astral.sh/uv/getting-started/installation/
-
サーバーをインストール:
uvx rdp-kit-server install管理者権限を一度だけ求め、何を追加するか、なぜかを表示します。
-
チェック:
uvx rdp-kit-server doctorチェックごとに一行。問題があれば直し方も表示します。
別のコンピューターから接続
サーバーはこのコンピューター上だけで待ち受けます(127.0.0.1、ポート 3388)。クライアントは SSH 経由で接続します:
ssh -L 13388:127.0.0.1:3388 <ユーザー>@<このコンピューター>
その後、クライアントで 127.0.0.1:13388 を開きます(例:uvx rdp-kit-client)。
Linux のセッションマネージャー:ポートの代わりにソケット。 uvx rdp-kit-server install --socket で、サーバーはポート 3388 ではなく、ファイル /run/freerdp-sesman/sesman.socket で待ち受けます。開けるのは freerdp-sesman グループのメンバーだけです。インストール時にあなたが追加されます(すでに開いているターミナルで使うには、ログインし直すか newgrp freerdp-sesman を実行します)。クライアントは同じように SSH 経由で、このソケットに接続します:
ssh -L 13388:/run/freerdp-sesman/sesman.socket <ユーザー>@<このコンピューター>
その後、クライアントで 127.0.0.1:13388 を開きます。<ユーザー> はこのグループに入っている必要があります。ほかのユーザーは sudo usermod -aG freerdp-sesman <ユーザー> で追加します。
削除
uvx rdp-kit-server uninstall
インストール時に追加したもの(記録してあります)だけを削除し、それ以外には触れません。
- Linux、セッションマネージャー: 起動したヘッドレス GNOME セッションは動き続けます(誰かの作業が残っているかもしれません)。アンインストール時にそう表示します。
--end-sessionsを付けると、それらも終了します。 - macOS: launchd 自身の一覧に、FreeRDP Shadow サービスが許可されたという一行が残ります(署名のない以前の版から更新した場合は二行)。何も起動しません(macOS にはそれを消すコマンドがありません)。
注意
- Linux: モードは自動で選びます。GNOME ではセッションマネージャー(ログイン前でも接続可能)、ほかのデスクトップでは自分のデスクトップ。
--mode sesman|user-unit|headlessで自分で選べます。 - macOS: システム設定 > プライバシーとセキュリティ > 画面収録とシステムオーディオ録音、およびアクセシビリティで FreeRDP Shadow を許可してください。未許可なら
doctorが知らせます。Developer ID で署名済み:以降の更新では許可が保持されるはずです。署名のない以前の版からの最初の更新では、もう一度確認されます。古い FreeRDP Shadow の項目を削除し(−)、新しいものを許可してください。 - カメラ: クライアントのカメラをこのデスクトップで使えます:Windows 11 と Windows Server 2025、v4l2loopback を入れた Linux。macOS:まだ未対応です(Apple のプロファイル2つと、実機の Mac でのテストが必要です)。
- 別のアドレスやポート:
--bind <アドレス> --port <番号>(既定は 127.0.0.1 と 3388)。127.0.0.1 や ::1 以外のアドレスにすると、ほかのコンピューターが SSH を通さずにログイン画面へ直接届きます。doctorが警告します。
Français
rdp-kit-server
Partagez le bureau de cet ordinateur avec un client de bureau à distance en une commande, sous Windows, Linux et macOS. Il installe le serveur de FreeRDP (vidéo AV1, son, caméra) comme chaque système l’attend, le vérifie et le retire proprement.
Démarrage rapide
-
Installez uv (une fois) : https://docs.astral.sh/uv/getting-started/installation/
-
Installez le serveur :
uvx rdp-kit-server installIl demande les droits d’administrateur une seule fois et dit ce qu’il va ajouter, et pourquoi.
-
Vérifiez-le :
uvx rdp-kit-server doctorUne ligne par vérification ; un problème vient avec sa solution.
Se connecter depuis un autre ordinateur
Le serveur n’écoute que sur cet ordinateur (127.0.0.1, port 3388) ; les clients passent par SSH :
ssh -L 13388:127.0.0.1:3388 <utilisateur>@<cet ordinateur>
puis ouvrez 127.0.0.1:13388 dans un client, par exemple uvx rdp-kit-client.
Linux, gestionnaire de sessions : un socket au lieu d’un port. uvx rdp-kit-server install --socket fait écouter le
serveur sur un fichier, /run/freerdp-sesman/sesman.socket, au lieu du port 3388. Seuls les membres du groupe
freerdp-sesman peuvent l’ouvrir ; l’installation vous y ajoute (reconnectez-vous, ou lancez newgrp freerdp-sesman,
pour l’utiliser dans un terminal déjà ouvert). Les clients passent par SSH de la même façon, vers le socket :
ssh -L 13388:/run/freerdp-sesman/sesman.socket <utilisateur>@<cet ordinateur>
puis ouvrez 127.0.0.1:13388 dans un client. <utilisateur> doit être dans le groupe ; ajoutez un autre utilisateur
avec sudo usermod -aG freerdp-sesman <utilisateur>.
Le retirer
uvx rdp-kit-server uninstall
Il retire exactement ce que l’installation a ajouté (il en garde la liste), rien d’autre.
- Linux, gestionnaire de sessions : les sessions GNOME sans écran qu’il a lancées continuent (elles peuvent
contenir le travail de quelqu’un), et la désinstallation le signale ; ajoutez
--end-sessionspour les fermer aussi. - macOS : une ligne reste dans la liste de launchd, indiquant que le service FreeRDP Shadow a été autorisé (deux, si vous avez mis à jour depuis une ancienne version non signée) ; elle ne lance rien (macOS n’a pas de commande pour la retirer).
Remarques
- Linux : l’installation choisit le mode elle-même : sous GNOME, le gestionnaire de sessions (sessions possibles
avant toute connexion) ; sur un autre bureau, votre propre bureau.
--mode sesman|user-unit|headlessle choisit à votre place. - macOS : autorisez FreeRDP Shadow dans Réglages Système > Confidentialité et sécurité > Enregistrement de l’écran
et de l’audio système, et Accessibilité ;
doctorsignale ce qui manque. Signée avec un Developer ID : les mises à jour suivantes devraient conserver les autorisations. La première mise à jour depuis une ancienne version non signée les redemande une fois : retirez l’ancienne entrée FreeRDP Shadow (−), puis autorisez la nouvelle. - Caméra : les clients peuvent partager leur caméra dans ce bureau : Windows 11 et Windows Server 2025, et Linux avec v4l2loopback. Sous macOS : pas encore (il faut deux profils Apple et un test sur un vrai Mac).
- Une autre adresse ou un autre port :
--bind <adresse> --port <n>(par défaut 127.0.0.1 et 3388). Une adresse autre que 127.0.0.1 ou ::1 permet aux autres ordinateurs d’atteindre l’écran de connexion directement, sans SSH ;doctorle signale.
Metadata
Release files for rdp-kit-server 20261130.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rdp_kit_server-20261130.1.tar.gz | 70.4 kB | With provenance | Details for rdp_kit_server-20261130.1.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| rdp_kit_server-20261130.1-py3-none-win_arm64.whl | Python 3 | none | Windows ARM64 | Details for rdp_kit_server-20261130.1-py3-none-win_arm64.whl |
| rdp_kit_server-20261130.1-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for rdp_kit_server-20261130.1-py3-none-win_amd64.whl |
| rdp_kit_server-20261130.1-py3-none-manylinux_2_34_x86_64.whl | Python 3 | none | Linux glibc 2.34+ x86-64 | Details for rdp_kit_server-20261130.1-py3-none-manylinux_2_34_x86_64.whl |
| rdp_kit_server-20261130.1-py3-none-manylinux_2_34_aarch64.whl | Python 3 | none | Linux glibc 2.34+ ARM64 | Details for rdp_kit_server-20261130.1-py3-none-manylinux_2_34_aarch64.whl |
| rdp_kit_server-20261130.1-py3-none-macosx_13_0_arm64.whl | Python 3 | none | macOS 13.0+ ARM64 | Details for rdp_kit_server-20261130.1-py3-none-macosx_13_0_arm64.whl |
| rdp_kit_server-20261130.1-py3-none-any.whl | Python 3 | none | any | Details for rdp_kit_server-20261130.1-py3-none-any.whl |
Total release size: 61.8 MB
Release files / rdp_kit_server-20261130.1.tar.gz
| Download URL | rdp_kit_server-20261130.1.tar.gz |
|---|---|
| Size | 70.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a181e4305177343cfa5860035d6498af9a7236d678d8660f87f3424f5f6362e
|
|
BLAKE2b-256 checksum How to use checksums |
873f6d2d031e1f0c01e0ffafbe308197a6f7a23b6c86a47262c0eb7d34482347
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / rdp_kit_server-20261130.1-py3-none-win_arm64.whl
| Download URL | rdp_kit_server-20261130.1-py3-none-win_arm64.whl |
|---|---|
| Size | 9.8 MB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
36a67c87ddae22e41aac169c5c0d3c28a036a2969c0cd7a8b9ce7dab7e65df87
|
|
BLAKE2b-256 checksum How to use checksums |
7fd39a5650dac45ae76a14fc68813b8e27d65f1961c9752d9e1711d5b871f06c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / rdp_kit_server-20261130.1-py3-none-win_amd64.whl
| Download URL | rdp_kit_server-20261130.1-py3-none-win_amd64.whl |
|---|---|
| Size | 11.3 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
02808ee9758734049f8a81cd4f614b09cd0d0a05b1e6c411d4ffe37821e26434
|
|
BLAKE2b-256 checksum How to use checksums |
0a03465ab5f6a62569f66cea4e386a12a8498d2ac0d34202dd5dc5668a494b66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / rdp_kit_server-20261130.1-py3-none-manylinux_2_34_x86_64.whl
| Download URL | rdp_kit_server-20261130.1-py3-none-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 15.2 MB |
| Tags | Linux glibc 2.34+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
1296d416a1a9d6ec7205040b222608c802c0371d02f1c56219e142591a2c30bf
|
|
BLAKE2b-256 checksum How to use checksums |
1484b00d5a872a0b687446f231a0e7b1d798b125c467123ac314ce78fcad65c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / rdp_kit_server-20261130.1-py3-none-manylinux_2_34_aarch64.whl
| Download URL | rdp_kit_server-20261130.1-py3-none-manylinux_2_34_aarch64.whl |
|---|---|
| Size | 14.9 MB |
| Tags | Linux glibc 2.34+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
211113e06039c37f60951160b1689213c4e4e3b55474c7d787b574a0290d7acd
|
|
BLAKE2b-256 checksum How to use checksums |
8aa97f7b6b7cf7fd7ec8168cd7ab6dc7600fa627ff54776a64e5bb57617b5d19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / rdp_kit_server-20261130.1-py3-none-macosx_13_0_arm64.whl
| Download URL | rdp_kit_server-20261130.1-py3-none-macosx_13_0_arm64.whl |
|---|---|
| Size | 10.5 MB |
| Tags | Python 3 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
92e289b207e74953d8b926d4caa6db088d9f1cfdd1c0c83eeef2f9f2b1814498
|
|
BLAKE2b-256 checksum How to use checksums |
7a297a9565a441420ed6240932b75b8f8b0eaf5d2d649cc7510b4f1f5ec9dac4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / rdp_kit_server-20261130.1-py3-none-any.whl
| Download URL | rdp_kit_server-20261130.1-py3-none-any.whl |
|---|---|
| Size | 43.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
999efd6a5ab62dede1385d0439670ac26674ba5051f82211e21a6469c55edd22
|
|
BLAKE2b-256 checksum How to use checksums |
5e8155a6e6edca6369f2fd8e1589040856dc386477f80f656f1000149836cd57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logSecurity for rdp-kit-server 20261130.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 7 files in this release have been uploaded with provenance metadata.
Attestation for rdp_kit_server-20261130.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.