Metadata-Version: 2.5
Name: rdp-kit-server
Version: 20261129.1
Summary: One command to install, check and remove the rdp-release-kit FreeRDP shadow server on Windows, Linux and macOS
Project-URL: Homepage, https://github.com/congzhangzh/rdp-kit-server
Project-URL: Issues, https://github.com/congzhangzh/rdp-kit-server/issues
Project-URL: Kit, https://github.com/congzhangzh/rdp-release-kit
Author-email: Cong Zhang <13283869+congzhangzh@users.noreply.github.com>
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: freerdp,installer,rdp,remote desktop,shadow server
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: System :: Networking
Requires-Python: >=3.10
Description-Content-Type: text/markdown

## 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

1. Install uv (once): https://docs.astral.sh/uv/getting-started/installation/
2. Install the server:

   ```
   uvx rdp-kit-server install
   ```

   It asks for administrator rights once, and says what it will add and why.
3. Check it:

   ```
   uvx rdp-kit-server doctor
   ```

   One 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`.

## 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-sessions` to end them too.
- **macOS:** one line stays in launchd's own list, saying the FreeRDP Shadow service was allowed; 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|headless` chooses it yourself.
- **macOS:** allow FreeRDP Shadow in System Settings > Privacy & Security > Screen & System Audio Recording and
  Accessibility; `doctor` says when it is still missing. This build is not signed with a Developer ID yet, so each update asks again.
- **Camera:** clients can share their camera into this desktop: Windows 11 and Windows Server 2025, and Linux with
  v4l2loopback. On macOS it needs the signed build (coming).
- **Another port:** `--port <n>`.

---

## 中文

# rdp-kit-server

一条命令，把这台电脑的桌面共享给远程桌面客户端，支持 Windows、Linux 和 macOS。它按各系统的方式安装 FreeRDP 服务器（AV1 视频、声音、摄像头），检查它，并干净地卸载。

## 快速开始

1. 安装 uv（一次）：https://docs.astral.sh/uv/getting-started/installation/
2. 安装服务器：

   ```
   uvx rdp-kit-server install
   ```

   它只请求一次管理员权限，并说明要添加什么、为什么。
3. 检查：

   ```
   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`。

## 卸载

```
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 签名，所以每次更新都会再次询问。
- **摄像头：** 客户端可以把摄像头共享到这个桌面：Windows 11 和 Windows Server 2025，以及装有 v4l2loopback 的 Linux。macOS 需要签名版本（即将推出）。
- **其他端口：** `--port <n>`。

---

## 日本語

# rdp-kit-server

コマンド一つで、このコンピューターのデスクトップをリモートデスクトップクライアントと共有します。Windows、Linux、macOS に対応。FreeRDP のサーバー（AV1 映像、音声、カメラ）を各システムのやり方でインストールし、チェックし、きれいに削除します。

## クイックスタート

1. uv をインストール（一度だけ）：https://docs.astral.sh/uv/getting-started/installation/
2. サーバーをインストール：

   ```
   uvx rdp-kit-server install
   ```

   管理者権限を一度だけ求め、何を追加するか、なぜかを表示します。
3. チェック：

   ```
   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`）。

## 削除

```
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 で署名されていないため、更新のたびに再度確認されます。
- **カメラ：** クライアントのカメラをこのデスクトップで使えます：Windows 11 と Windows Server 2025、v4l2loopback を入れた Linux。macOS は署名版が必要です（予定）。
- **別のポート：** `--port <n>`。

---

## 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

1. Installez uv (une fois) : https://docs.astral.sh/uv/getting-started/installation/
2. Installez le serveur :

   ```
   uvx rdp-kit-server install
   ```

   Il demande les droits d’administrateur une seule fois et dit ce qu’il va ajouter, et pourquoi.
3. Vérifiez-le :

   ```
   uvx rdp-kit-server doctor
   ```

   Une 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`.

## 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-sessions` pour les fermer aussi.
- **macOS :** une ligne reste dans la liste de launchd, indiquant que le service FreeRDP Shadow a été autorisé ; 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|headless` le 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é ; `doctor` signale ce qui manque. Cette version n’est pas encore signée
  avec un Developer ID, donc chaque mise à jour redemande l’autorisation.
- **Caméra :** les clients peuvent partager leur caméra dans ce bureau : Windows 11 et Windows Server 2025, et Linux
  avec v4l2loopback. Sous macOS, il faut la version signée (à venir).
- **Un autre port :** `--port <n>`.
