Skip to main content

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.

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

Linux: UDP on your own network. RDP can also carry the session over UDP, which can be smoother on a long or lossy link. UDP can't go through an SSH tunnel, so the client must reach this computer directly: on the same network, or over your own mesh. Install the server on this computer's address in that network, with UDP:

uvx rdp-kit-server install --bind <this computer's address on that network> --udp

On GNOME that's the session manager, and every user's session gets UDP, headless sessions too. Then tick Use UDP when the server offers it in RDP Kit Client (Advanced tab). A client that doesn't tick it uses TCP as before. If UDP drops during a session, the client reconnects over TCP by itself, and your desktop stays as it was. A firewall on this computer must let in both TCP and UDP on that port. Bind only an address that can't be reached from the internet. A session that was already running gets UDP once its server starts again (after you sign out, or after an update). uvx rdp-kit-server install --no-udp turns UDP off again. With --socket there's no UDP: a socket has no network address.

Moving from xrdp

Our server can run beside xrdp, so you can try it and keep xrdp as the way back.

  1. Install it: uvx rdp-kit-server install. On GNOME it takes the session manager mode; xrdp keeps running on its own port (3389 by default).
  2. Connect over SSH as in "Connect from another computer". Our server listens on this computer only (127.0.0.1:3388), not on the network as xrdp does by default.
  3. When you're happy, stop xrdp: sudo systemctl disable --now xrdp xrdp-sesman. To go back: sudo systemctl enable --now xrdp.

What changes:

  • Your desktop: you log in straight into your own GNOME session. There's no xrdp login screen, and no choice of desktop: KDE and sway sessions come later. On an X11 desktop (Xfce, MATE…), install shares the desktop you're logged in to; it doesn't start X11 sessions of its own.
  • Files: copy and paste files and pictures both ways, in GNOME too (xrdp does that only in Xorg sessions).
  • Your drives: a drive the client shares appears in ~/RemoteDrives/<name> (xrdp: ~/thinclient_drives).
  • The same session again: a reconnect takes you back to the session you left, as with xrdp.
  • uvx rdp-kit-server doctor tells you when xrdp is still running, and that the two can run side by side.

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

  • KDE Plasma: use the session manager for now. On a KDE Plasma desktop, this version's server for your own desktop (the user unit) can change your real monitor's resolution when someone connects (Display Settings puts it back), so install refuses it there. Use the session manager instead, uvx rdp-kit-server install --mode headless, and write plasma in ~/.config/freerdp/sesman/desktop: when you aren't logged in at the computer, a connection gets a separate Plasma session of your own. Sharing the Plasma desktop you're logged in to comes in a later release.
  • 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. 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).
  • Shared drives (Linux, preview): a folder or drive the client shares appears in ~/RemoteDrives/<name> while it's connected, and is gone when it leaves. It's your own mount, so nobody else on the computer sees it. To share one, use RDP Kit Client's Devices tab → Shared folders; FreeRDP's /drive:<name>,<folder>; or Windows Remote Desktop's Local Resources → More… → Drives. It needs the package fuse3; doctor says when it's missing.
  • A locked desktop: if your GNOME desktop is locked, logging in over RDP with your account's password unlocks it, so you type your password only once. The computer's own screen then shows the unlocked desktop too: anyone sitting at it can see and use it. It locks again when you disconnect.
  • 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; doctor warns about it.
  • Choose your desktop: a session the session manager starts for you is GNOME unless you choose another: write plasma (or gnome) in the file ~/.config/freerdp/sesman/desktop (mkdir -p ~/.config/freerdp/sesman && echo plasma > ~/.config/freerdp/sesman/desktop), and your next new session uses it. KDE Plasma (KWin 6.8 or newer) has the picture, keys and pointer, resizing and several monitors, the clipboard (text both ways, and files from your computer), sound where the session has a sound output, your shared drives, and reconnecting to the same session. With KDE, the main monitor's desktop can come out a little smaller than your window: up to 7 pixels narrower and 1 pixel shorter, and that thin edge stays black. It doesn't have yet: unlocking a locked desktop with your RDP login, and sharing a Plasma desktop you're already logged in to (only sessions the session manager starts). Without a GPU, KWin draws in software through /dev/udmabuf, and your account must be able to open it: ls -l /dev/udmabuf shows its group (often kvm); add yourself with sudo usermod -aG kvm $USER (that group's name), then sign out and in again.

中文

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。

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 <用户> 加入其他用户。

Linux:在你自己的网络上用 UDP。 RDP 也可以通过 UDP 传输会话,在距离远或丢包的线路上可能更流畅。UDP 不能经过 SSH 隧道,所以客户端必须能直接到达这台电脑:在同一个网络里,或者通过你自己的网状网络。在这台电脑在那个网络里的地址上安装服务器,并打开 UDP:

uvx rdp-kit-server install --bind <这台电脑在那个网络里的地址> --udp

在 GNOME 上这就是会话管理器,每个用户的会话都能用 UDP,无头会话也一样。然后在 RDP Kit Client 里勾选服务器支持时使用 UDP(“高级”页)。不勾选的客户端照旧使用 TCP。如果会话中 UDP 断了,客户端会自动改用 TCP 重新连接,你的桌面保持原样。这台电脑上的防火墙必须在那个端口上同时放行 TCP 和 UDP。只绑定互联网上到达不了的地址。已经在运行的会话,要等它的服务器重新启动后(你注销之后,或者更新之后)才会用上 UDP。uvx rdp-kit-server install --no-udp 可以再关掉 UDP。使用 --socket 时没有 UDP:套接字没有网络地址。

从 xrdp 迁移

我们的服务器可以和 xrdp 同时运行,你可以先试用,xrdp 留作退路。

  1. 安装:uvx rdp-kit-server install。在 GNOME 上它使用会话管理器模式;xrdp 继续在它自己的端口(默认 3389)上运行。
  2. 按“从另一台电脑连接”通过 SSH 连接。我们的服务器只在本机监听(127.0.0.1:3388),不像 xrdp 默认那样在网络上监听。
  3. 满意之后,停用 xrdp:sudo systemctl disable --now xrdp xrdp-sesman。想回去:sudo systemctl enable --now xrdp。

有什么不同:

  • 你的桌面: 直接登录进你自己的 GNOME 会话。没有 xrdp 的登录界面,也不能选桌面:KDE 和 sway 会话以后支持。在 X11 桌面(Xfce、MATE 等)上,install 会共享你已经登录的桌面,但不会自己启动 X11 会话。
  • 文件: 文件和图片可以双向复制粘贴,GNOME 里也可以(xrdp 只在 Xorg 会话里可以)。
  • 你的驱动器: 客户端共享的驱动器出现在 ~/RemoteDrives/<名字>(xrdp 是 ~/thinclient_drives)。
  • 回到同一个会话: 重新连接会回到你离开的会话,和 xrdp 一样。
  • uvx rdp-kit-server doctor 会告诉你 xrdp 是否还在运行,并说明两者可以同时运行。

卸载

uvx rdp-kit-server uninstall

它只移除安装时添加的内容(安装时留有记录),不动其他东西。

  • Linux,会话管理器: 它启动的无头 GNOME 会话会继续运行(里面可能有别人的工作),卸载时会提示;加上 --end-sessions 可一并结束。
  • macOS: launchd 自己的列表里会留下一行,记录 FreeRDP Shadow 服务曾被允许(如果你是从较早的未签名版本更新的,会有两行);它不会启动任何东西(macOS 没有删除它的命令)。

说明

  • KDE Plasma:暂时请使用会话管理器。 在 KDE Plasma 桌面上,这个版本为你自己桌面提供的服务器(用户单元)在有人连接时可能会改变你真实显示器的分辨率(可以在“显示设置”里改回来),所以安装时会拒绝它。请改用会话管理器:uvx rdp-kit-server install --mode headless,并在 ~/.config/freerdp/sesman/desktop 中写入 plasma:当你没有在这台电脑上登录时,连接会得到一个单独的、属于你自己的 Plasma 会话。共享你已经登录的 Plasma 桌面,会在之后的版本里提供。
  • 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 上测试)。
  • 共享驱动器(Linux,预览): 客户端共享的文件夹或驱动器在连接期间会出现在 ~/RemoteDrives/<名字>,断开后就消失。它是你自己的挂载,这台电脑上的其他人看不到。要共享,可以用 RDP Kit Client 的“设备”页 → “共享文件夹”;或者 FreeRDP 的 /drive:<名字>,<文件夹>;或者 Windows 远程桌面的“本地资源 → 详细信息… → 驱动器”。它需要软件包 fuse3;缺少时 doctor 会告诉你。
  • 已锁定的桌面: 如果你的 GNOME 桌面已锁定,用你账户的密码通过 RDP 登录会把它解锁,你只需要输入一次密码。这时这台电脑自己的屏幕也会显示解锁后的桌面:坐在它前面的任何人都能看到并使用它。断开连接后它会重新锁定。
  • 其他地址或端口: --bind <地址> --port <端口>(默认 127.0.0.1 和 3388)。如果地址不是 127.0.0.1 或 ::1,其他电脑就能不经过 SSH 直接看到登录界面;doctor 会对此发出警告。
  • **选择你的桌面:**会话管理器为你启动的会话默认是 GNOME,除非你选择别的:在文件 ~/.config/freerdp/sesman/desktop 中写入 plasma(或 gnome)(mkdir -p ~/.config/freerdp/sesman && echo plasma > ~/.config/freerdp/sesman/desktop),你的下一个新会话就会使用它。KDE Plasma(KWin 6.8 或更新)支持画面、键盘和鼠标、调整大小和多个显示器、剪贴板(双向文字,以及从你的电脑复制的文件)、声音(会话有声音输出时)、你共享的驱动器,以及重新连接到同一个会话。使用 KDE 时,主显示器的桌面可能比你的窗口略小:最多窄 7 个像素、矮 1 个像素,那条细边保持黑色。暂时还不支持:用 RDP 登录解锁已锁定的桌面,以及共享你已经登录的 Plasma 桌面(只支持会话管理器启动的会话)。没有 GPU 时,KWin 通过 /dev/udmabuf 用软件绘制,你的账户必须能打开它:ls -l /dev/udmabuf 会显示它的用户组(通常是 kvm);用 sudo usermod -aG kvm $USER(换成那个组的名字)把自己加进去,然后注销再重新登录。

日本語

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

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 <ユーザー> で追加します。

Linux:自分のネットワークでUDP。 RDPはセッションをUDPで運ぶこともでき、遠い回線や損失のある回線で、より滑らかになることがあります。UDPはSSHトンネルを通れないので、クライアントはこのコンピューターに直接届く必要があります(同じネットワーク、または自分のメッシュ経由)。そのネットワークでのこのコンピューターのアドレスで、UDP付きでサーバーをインストールします:

uvx rdp-kit-server install --bind <そのネットワークでのこのコンピューターのアドレス> --udp

GNOMEではこれがセッションマネージャーで、すべてのユーザーのセッションがUDPを使えます。ヘッドレスのセッションも同じです。次に、RDP Kit Clientでサーバーが対応していればUDPを使うにチェックを入れます(「詳細」タブ)。チェックしないクライアントは、これまでどおりTCPを使います。セッション中にUDPが切れると、クライアントは自分でTCPで再接続し、デスクトップはそのまま残ります。このコンピューターのファイアウォールでは、そのポートのTCPとUDPの両方を許可してください。インターネットから届かないアドレスだけにバインドしてください。すでに動いているセッションは、そのサーバーが次に起動したとき(サインアウトの後や更新の後)からUDPを使います。uvx rdp-kit-server install --no-udpでUDPを再びオフにできます。--socketではUDPは使えません。ソケットにはネットワークのアドレスがないからです。

xrdp からの移行

私たちのサーバーは xrdp と並べて動かせるので、試しながら xrdp を戻り道として残せます。

  1. インストール:uvx rdp-kit-server install。GNOME ではセッションマネージャーのモードになり、xrdp は自分のポート(既定は 3389)で動き続けます。
  2. 「別のコンピューターから接続」のとおり SSH で接続します。私たちのサーバーはこのコンピューター上だけ(127.0.0.1:3388)で待ち受け、xrdp の既定のようにネットワークには出ません。
  3. 問題なければ xrdp を止めます:sudo systemctl disable --now xrdp xrdp-sesman。戻すには:sudo systemctl enable --now xrdp。

変わること:

  • デスクトップ: 自分の GNOME セッションに直接ログインします。xrdp のログイン画面もデスクトップの選択もありません。KDE と sway のセッションは今後対応します。X11 のデスクトップ(Xfce、MATE など)では、install はログイン中のデスクトップを共有しますが、X11 のセッションを自分で起動することはありません。
  • ファイル: ファイルや画像を双方向にコピー&ペーストでき、GNOME でも使えます(xrdp は Xorg のセッションだけ)。
  • ドライブ: クライアントが共有したドライブは ~/RemoteDrives/<名前> に現れます(xrdp は ~/thinclient_drives)。
  • 同じセッションに戻る: 再接続すると、xrdp と同じく、離れたセッションに戻ります。
  • uvx rdp-kit-server doctor は、xrdp がまだ動いているかどうかと、両方を並べて動かせることを教えてくれます。

削除

uvx rdp-kit-server uninstall

インストール時に追加したもの(記録してあります)だけを削除し、それ以外には触れません。

  • Linux、セッションマネージャー: 起動したヘッドレス GNOME セッションは動き続けます(誰かの作業が残っているかもしれません)。アンインストール時にそう表示します。--end-sessions を付けると、それらも終了します。
  • macOS: launchd 自身の一覧に、FreeRDP Shadow サービスが許可されたという一行が残ります(署名のない以前の版から更新した場合は二行)。何も起動しません(macOS にはそれを消すコマンドがありません)。

注意

  • KDE Plasma:当面はセッションマネージャーを使ってください。 KDE Plasmaのデスクトップでは、このバージョンの自分のデスクトップ用サーバー(ユーザーユニット)が、誰かが接続したときに実際のモニターの解像度を変えてしまうことがあります(「ディスプレイの設定」で戻せます)。そのため、インストールはそれを断ります。代わりにセッションマネージャーを使ってください:uvx rdp-kit-server install --mode headless を実行し、~/.config/freerdp/sesman/desktop に plasma と書きます。このコンピューターでログインしていないとき、接続には別のあなた自身のPlasmaセッションが用意されます。ログインしているPlasmaのデスクトップの共有は、今後のリリースで提供します。
  • 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 でのテストが必要です)。
  • 共有ドライブ(Linux、プレビュー): クライアントが共有したフォルダーやドライブは、接続中は ~/RemoteDrives/<名前> に現れ、切断すると消えます。あなた自身のマウントなので、このコンピューターのほかの人には見えません。共有するには、RDP Kit Client の「デバイス」タブ →「共有フォルダー」、FreeRDP の /drive:<名前>,<フォルダー>、または Windows のリモート デスクトップの「ローカル リソース → 詳細 → ドライブ」を使います。パッケージ fuse3 が必要で、ないときは doctor が教えてくれます。
  • ロックされたデスクトップ: GNOME のデスクトップがロックされていても、自分のアカウントのパスワードで RDP からログインするとロックが解除されるので、パスワードは一度だけ入力すれば済みます。このとき、このコンピューター自体の画面にもロック解除されたデスクトップが表示されます。その前にいる人は誰でも見たり操作したりできます。切断すると再びロックされます。
  • 別のアドレスやポート: --bind <アドレス> --port <番号>(既定は 127.0.0.1 と 3388)。127.0.0.1 や ::1 以外のアドレスにすると、ほかのコンピューターが SSH を通さずにログイン画面へ直接届きます。doctor が警告します。
  • **デスクトップを選ぶ:**セッションマネージャーが始めるセッションは、別のものを選ばない限りGNOMEです。ファイル ~/.config/freerdp/sesman/desktop に plasma(または gnome)と書くと(mkdir -p ~/.config/freerdp/sesman && echo plasma > ~/.config/freerdp/sesman/desktop)、次の新しいセッションから使われます。KDE Plasma(KWin 6.8以降)では、画面、キーとポインター、サイズ変更と複数のモニター、クリップボード(双方向のテキストと、自分のコンピューターからのファイル)、音(セッションに音声出力がある場合)、共有したドライブ、同じセッションへの再接続が使えます。KDEでは、メインのモニターのデスクトップがウィンドウより少し小さくなることがあり(幅が最大7ピクセル、高さが1ピクセル)、その細い縁は黒いままです。まだできないこと:RDPのログインでロックされたデスクトップを解除すること、すでにログインしているPlasmaのデスクトップを共有すること(セッションマネージャーが始めるセッションだけです)。GPUがない場合、KWinは /dev/udmabuf を使ってソフトウェアで描画するため、自分のアカウントがそれを開ける必要があります。ls -l /dev/udmabuf でグループ(多くは kvm)を確認し、sudo usermod -aG kvm $USER(そのグループ名で)で自分を加えてから、サインアウトしてもう一度サインインしてください。

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.

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

Linux : l’UDP sur votre propre réseau. RDP peut aussi transporter la session en UDP, ce qui peut être plus fluide sur une liaison longue ou avec des pertes. L’UDP ne passe pas par un tunnel SSH : le client doit donc atteindre cet ordinateur directement, sur le même réseau ou par votre propre maillage. Installez le serveur sur l’adresse de cet ordinateur dans ce réseau, avec l’UDP :

uvx rdp-kit-server install --bind <adresse de cet ordinateur dans ce réseau> --udp

Sous GNOME, c’est le gestionnaire de sessions : la session de chaque utilisateur a l’UDP, les sessions sans écran aussi. Cochez ensuite Utiliser l’UDP si le serveur le propose dans RDP Kit Client (onglet Avancé). Un client qui ne le coche pas reste en TCP, comme avant. Si l’UDP tombe pendant une session, le client se reconnecte en TCP de lui-même, et votre bureau reste tel quel. Un pare-feu sur cet ordinateur doit laisser passer le TCP et l’UDP sur ce port. Ne liez qu’une adresse injoignable depuis Internet. Une session déjà en cours a l’UDP au prochain démarrage de son serveur (après une déconnexion de votre compte, ou une mise à jour). uvx rdp-kit-server install --no-udp désactive à nouveau l’UDP. Avec --socket, pas d’UDP : un socket n’a pas d’adresse réseau.

Passer de xrdp à notre serveur

Notre serveur peut tourner à côté de xrdp : essayez-le, et gardez xrdp comme retour en arrière.

  1. Installez-le : uvx rdp-kit-server install. Sous GNOME, il prend le mode gestionnaire de sessions ; xrdp continue sur son propre port (3389 par défaut).
  2. Connectez-vous par SSH comme dans « Se connecter depuis un autre ordinateur ». Notre serveur n’écoute que sur cet ordinateur (127.0.0.1:3388), pas sur le réseau comme xrdp par défaut.
  3. Quand tout va bien, arrêtez xrdp : sudo systemctl disable --now xrdp xrdp-sesman. Pour revenir : sudo systemctl enable --now xrdp.

Ce qui change :

  • Votre bureau : vous entrez directement dans votre propre session GNOME. Pas d’écran de connexion xrdp ni de choix de bureau : les sessions KDE et sway viendront plus tard. Sur un bureau X11 (Xfce, MATE…), install partage le bureau sur lequel vous êtes connecté ; il ne lance pas de session X11 lui-même.
  • Les fichiers : copiez-collez fichiers et images dans les deux sens, sous GNOME aussi (xrdp ne le fait que dans les sessions Xorg).
  • Vos lecteurs : un lecteur partagé par le client apparaît dans ~/RemoteDrives/<nom> (xrdp : ~/thinclient_drives).
  • La même session : une reconnexion vous ramène à la session quittée, comme avec xrdp.
  • uvx rdp-kit-server doctor vous dit si xrdp tourne encore, et que les deux peuvent cohabiter.

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é (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

  • KDE Plasma : utilisez le gestionnaire de sessions pour l’instant. Sur un bureau KDE Plasma, le serveur de votre propre bureau (l’unité utilisateur) de cette version peut changer la résolution de votre vrai écran quand quelqu’un se connecte (Paramètres d’affichage la remet), donc l’installation le refuse. Utilisez plutôt le gestionnaire de sessions, uvx rdp-kit-server install --mode headless, et écrivez plasma dans ~/.config/freerdp/sesman/desktop : quand vous n’êtes pas connecté sur l’ordinateur, une connexion reçoit une session Plasma séparée, à vous. Le partage du bureau Plasma où vous êtes connecté arrive dans une prochaine version.
  • 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. 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).
  • Lecteurs partagés (Linux, aperçu) : un dossier ou un lecteur partagé par le client apparaît dans ~/RemoteDrives/<nom> pendant la connexion, et disparaît à son départ. C’est votre propre montage : personne d’autre sur l’ordinateur ne le voit. Pour en partager un : l’onglet Périphériques → Dossiers partagés de RDP Kit Client, /drive:<nom>,<dossier> de FreeRDP, ou Ressources locales → Plus… → Lecteurs du Bureau à distance de Windows. Il faut le paquet fuse3 ; doctor le signale s’il manque.
  • Un bureau verrouillé : si votre bureau GNOME est verrouillé, la connexion RDP avec le mot de passe de votre compte le déverrouille : vous ne tapez votre mot de passe qu’une fois. L’écran de l’ordinateur lui-même affiche alors aussi le bureau déverrouillé : toute personne devant lui peut le voir et s’en servir. Il se reverrouille à la déconnexion.
  • 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 ; doctor le signale.
  • Choisir votre bureau : une session que le gestionnaire de sessions lance pour vous est GNOME, sauf si vous en choisissez un autre : écrivez plasma (ou gnome) dans le fichier ~/.config/freerdp/sesman/desktop (mkdir -p ~/.config/freerdp/sesman && echo plasma > ~/.config/freerdp/sesman/desktop), et votre prochaine nouvelle session l'utilise. KDE Plasma (KWin 6.8 ou plus récent) a l'image, le clavier et le pointeur, le redimensionnement et plusieurs écrans, le presse-papiers (le texte dans les deux sens, et les fichiers venant de votre ordinateur), le son là où la session a une sortie audio, vos lecteurs partagés et la reconnexion à la même session. Avec KDE, le bureau de l'écran principal peut être un peu plus petit que votre fenêtre : jusqu'à 7 pixels plus étroit et 1 pixel moins haut, et ce fin bord reste noir. Il n'a pas encore : le déverrouillage d'un bureau verrouillé par votre connexion RDP, ni le partage d'un bureau Plasma où vous êtes déjà connecté (seulement les sessions lancées par le gestionnaire de sessions). Sans GPU, KWin dessine en logiciel grâce à /dev/udmabuf, et votre compte doit pouvoir l'ouvrir : ls -l /dev/udmabuf montre son groupe (souvent kvm) ; ajoutez-vous avec sudo usermod -aG kvm $USER (le nom de ce groupe), puis déconnectez-vous et reconnectez-vous.

Metadata

Release files for rdp-kit-server 20261130.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rdp-kit-server 20261130.11
File Size Uploaded Provenance Actions
rdp_kit_server-20261130.11.tar.gz 111.5 kB With provenance Details for rdp_kit_server-20261130.11.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for rdp-kit-server 20261130.11
File Actions
rdp_kit_server-20261130.11-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for rdp_kit_server-20261130.11-py3-none-win_arm64.whl
rdp_kit_server-20261130.11-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for rdp_kit_server-20261130.11-py3-none-win_amd64.whl
rdp_kit_server-20261130.11-py3-none-manylinux_2_34_x86_64.whl Python 3 none Linux glibc 2.34+ x86-64 Details for rdp_kit_server-20261130.11-py3-none-manylinux_2_34_x86_64.whl
rdp_kit_server-20261130.11-py3-none-manylinux_2_34_aarch64.whl Python 3 none Linux glibc 2.34+ ARM64 Details for rdp_kit_server-20261130.11-py3-none-manylinux_2_34_aarch64.whl
rdp_kit_server-20261130.11-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details for rdp_kit_server-20261130.11-py3-none-macosx_13_0_arm64.whl
rdp_kit_server-20261130.11-py3-none-any.whl Python 3 none any Details for rdp_kit_server-20261130.11-py3-none-any.whl

Total release size: 67.6 MB

Release files / rdp_kit_server-20261130.11.tar.gz

Download URL rdp_kit_server-20261130.11.tar.gz
Size 111.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2b82423ad5fb068fe0f4947904c80db5c99b408b1d8f79ff15c0a6bf4f72ee0e
BLAKE2b-256 checksum
How to use checksums
8708b701ad62a39ee4f5d152dadcdcf9dfcab95dc3a7afd0a233f054502e4ff2
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 Dec 1, 2026.

Transparency log

Release files / rdp_kit_server-20261130.11-py3-none-win_arm64.whl

Download URL rdp_kit_server-20261130.11-py3-none-win_arm64.whl
Size 9.8 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
45c89eb17d21c058cec2c6b913e5453a1aeb5cb4120acb93ae33d3941877af32
BLAKE2b-256 checksum
How to use checksums
f419f4da07755ba130c053393a26e2623012f9fecdd72e4f52f89a9ef40bc590
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 Dec 1, 2026.

Transparency log

Release files / rdp_kit_server-20261130.11-py3-none-win_amd64.whl

Download URL rdp_kit_server-20261130.11-py3-none-win_amd64.whl
Size 11.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
30106f11f67b8dd715af2d6028a0746479f9065d673e75f777217d6a4a572861
BLAKE2b-256 checksum
How to use checksums
436c45829646b745f199a99df4eb7f48a348d868b21cc79827474dadd30457ac
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 Dec 1, 2026.

Transparency log

Release files / rdp_kit_server-20261130.11-py3-none-manylinux_2_34_x86_64.whl

Download URL rdp_kit_server-20261130.11-py3-none-manylinux_2_34_x86_64.whl
Size 17.7 MB
Tags Linux glibc 2.34+ x86-64 Python 3
SHA-256 checksum
How to use checksums
d0ff347f661e6b7e3e86f33f94b322cf5a17996389c0140acb43cbd17949addb
BLAKE2b-256 checksum
How to use checksums
59162255c542ed746190aaca837da877ca5cf0c32852f221bf4521a355984bb5
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 Dec 1, 2026.

Transparency log

Release files / rdp_kit_server-20261130.11-py3-none-manylinux_2_34_aarch64.whl

Download URL rdp_kit_server-20261130.11-py3-none-manylinux_2_34_aarch64.whl
Size 17.8 MB
Tags Linux glibc 2.34+ ARM64 Python 3
SHA-256 checksum
How to use checksums
dc137f7c147282f38f8759ac691f201dc0f030502b3b270e01bed2b7b6f1fde5
BLAKE2b-256 checksum
How to use checksums
490ae8f42f60bea20a2137547369dd2fef58c431df56d2fb61c4066dc96cdd8c
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 Dec 1, 2026.

Transparency log

Release files / rdp_kit_server-20261130.11-py3-none-macosx_13_0_arm64.whl

Download URL rdp_kit_server-20261130.11-py3-none-macosx_13_0_arm64.whl
Size 10.6 MB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
bfc49346cf7354fafb706f2418ecd6e0d267617fd3dacd85ef8d5ede636a32ce
BLAKE2b-256 checksum
How to use checksums
bd7960b622c12e9349624798a23ac73b800c535d31a19aefe83d5332a5a10158
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 Dec 1, 2026.

Transparency log

Release files / rdp_kit_server-20261130.11-py3-none-any.whl

Download URL rdp_kit_server-20261130.11-py3-none-any.whl
Size 61.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f87b1d328e66a758418803d5731078a2b6997aa587c3676fb112b7d35f591c1f
BLAKE2b-256 checksum
How to use checksums
70e309671cea48adcf207dd37b68aa3cc59c534a77347a05f282ea949179da13
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 Dec 1, 2026.

Transparency log

Security for rdp-kit-server 20261130.11

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.

Select from 7 files

Attestation for rdp_kit_server-20261130.11.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 Dec 1, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page