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>.
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.
- 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). - 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.
- 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 doctortells 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-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).
- 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 packagefuse3;doctorsays 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;doctorwarns about it. - Choose your desktop: a session the session manager starts for you is GNOME unless you choose another: write
plasma,sway(orgnome) 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, 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. Without a GPU, KWin draws in software through/dev/udmabuf, and your account must be able to open it:ls -l /dev/udmabufshows its group (oftenkvm); add yourself withsudo usermod -aG kvm $USER(that group's name), then sign out and in again.
中文
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 <用户> 加入其他用户。
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 留作退路。
- 安装:
uvx rdp-kit-server install。在 GNOME 上它使用会话管理器模式;xrdp 继续在它自己的端口(默认 3389)上运行。 - 按“从另一台电脑连接”通过 SSH 连接。我们的服务器只在本机监听(127.0.0.1:3388),不像 xrdp 默认那样在网络上监听。
- 满意之后,停用 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 没有删除它的命令)。
说明
- 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、sway(或gnome)(mkdir -p ~/.config/freerdp/sesman && echo plasma > ~/.config/freerdp/sesman/desktop),你的下一个新会话就会使用它。KDE Plasma(KWin 6.8 或更新)支持画面、键盘和鼠标、调整大小和多个显示器、剪贴板(双向文字,以及从你的电脑复制的文件)、声音、你共享的驱动器,以及重新连接到同一个会话。使用 KDE 时,主显示器的桌面可能比你的窗口略小:最多窄 7 个像素、矮 1 个像素,那条细边保持黑色。暂时还不支持:用 RDP 登录解锁已锁定的桌面。没有 GPU 时,KWin 通过/dev/udmabuf用软件绘制,你的账户必须能打开它:ls -l /dev/udmabuf会显示它的用户组(通常是kvm);用sudo usermod -aG kvm $USER(换成那个组的名字)把自己加进去,然后注销再重新登录。
日本語
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 <ユーザー> で追加します。
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 を戻り道として残せます。
- インストール:
uvx rdp-kit-server install。GNOME ではセッションマネージャーのモードになり、xrdp は自分のポート(既定は 3389)で動き続けます。 - 「別のコンピューターから接続」のとおり SSH で接続します。私たちのサーバーはこのコンピューター上だけ(127.0.0.1:3388)で待ち受け、xrdp の既定のようにネットワークには出ません。
- 問題なければ 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 にはそれを消すコマンドがありません)。
注意
- 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、sway(またはgnome)と書くと(mkdir -p ~/.config/freerdp/sesman && echo plasma > ~/.config/freerdp/sesman/desktop)、次の新しいセッションから使われます。KDE Plasma(KWin 6.8以降)では、画面、キーとポインター、サイズ変更と複数のモニター、クリップボード(双方向のテキストと、自分のコンピューターからのファイル)、音、共有したドライブ、同じセッションへの再接続が使えます。KDEでは、メインのモニターのデスクトップがウィンドウより少し小さくなることがあり(幅が最大7ピクセル、高さが1ピクセル)、その細い縁は黒いままです。まだできないこと:RDPのログインでロックされたデスクトップを解除すること。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
-
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>.
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.
- 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). - 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.
- 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 doctorvous 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-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).
- 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 paquetfuse3;doctorle 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 ;doctorle 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,sway(ougnome) 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, 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. Sans GPU, KWin dessine en logiciel grâce à/dev/udmabuf, et votre compte doit pouvoir l'ouvrir :ls -l /dev/udmabufmontre son groupe (souventkvm) ; ajoutez-vous avecsudo usermod -aG kvm $USER(le nom de ce groupe), puis déconnectez-vous et reconnectez-vous.
Metadata
Release files for rdp-kit-server 20261130.12
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.12.tar.gz | 108.9 kB | With provenance | Details for rdp_kit_server-20261130.12.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| rdp_kit_server-20261130.12-py3-none-win_arm64.whl | Python 3 | none | Windows ARM64 | Details for rdp_kit_server-20261130.12-py3-none-win_arm64.whl |
| rdp_kit_server-20261130.12-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for rdp_kit_server-20261130.12-py3-none-win_amd64.whl |
| rdp_kit_server-20261130.12-py3-none-manylinux_2_34_x86_64.whl | Python 3 | none | Linux glibc 2.34+ x86-64 | Details for rdp_kit_server-20261130.12-py3-none-manylinux_2_34_x86_64.whl |
| rdp_kit_server-20261130.12-py3-none-manylinux_2_34_aarch64.whl | Python 3 | none | Linux glibc 2.34+ ARM64 | Details for rdp_kit_server-20261130.12-py3-none-manylinux_2_34_aarch64.whl |
| rdp_kit_server-20261130.12-py3-none-macosx_13_0_arm64.whl | Python 3 | none | macOS 13.0+ ARM64 | Details for rdp_kit_server-20261130.12-py3-none-macosx_13_0_arm64.whl |
| rdp_kit_server-20261130.12-py3-none-any.whl | Python 3 | none | any | Details for rdp_kit_server-20261130.12-py3-none-any.whl |
Total release size: 73.8 MB
Release files / rdp_kit_server-20261130.12.tar.gz
| Download URL | rdp_kit_server-20261130.12.tar.gz |
|---|---|
| Size | 108.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2e32ccd64c3bf0297a909267ec7a98edcb7c0f2fbd703eae551a8fbe5621a2d
|
|
BLAKE2b-256 checksum How to use checksums |
f4cb37ea911214565d04ec69fdb3c819d76862db2ba05207aa96fbcbd02eebbc
|
| 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 logRelease files / rdp_kit_server-20261130.12-py3-none-win_arm64.whl
| Download URL | rdp_kit_server-20261130.12-py3-none-win_arm64.whl |
|---|---|
| Size | 11.0 MB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
3618660c27d63e140428a3e1ffd5dc7230290ec961df404db935d3cbbeaffce7
|
|
BLAKE2b-256 checksum How to use checksums |
d7ecb25a35c385c32f9df975cdcbedbfeb629e8de93d9d77b1217ea6263c473d
|
| 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 logRelease files / rdp_kit_server-20261130.12-py3-none-win_amd64.whl
| Download URL | rdp_kit_server-20261130.12-py3-none-win_amd64.whl |
|---|---|
| Size | 12.7 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
27d4addbd3fb18a64ce73a8d5c2ad327223262843ace591164900503fed42c8b
|
|
BLAKE2b-256 checksum How to use checksums |
eec20ca596468f87b6f470c8269adc55d6ad1b76ce931db514ee406c767ea299
|
| 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 logRelease files / rdp_kit_server-20261130.12-py3-none-manylinux_2_34_x86_64.whl
| Download URL | rdp_kit_server-20261130.12-py3-none-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 19.1 MB |
| Tags | Linux glibc 2.34+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
f76044ec04cf953e29be3a4a1fd58e65858c352082bcb2fdd58eef2b5e70a16b
|
|
BLAKE2b-256 checksum How to use checksums |
b22aef56defa90093f978b8079c94d6142eb6e18dd7e79204458daf5689f7c9a
|
| 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 logRelease files / rdp_kit_server-20261130.12-py3-none-manylinux_2_34_aarch64.whl
| Download URL | rdp_kit_server-20261130.12-py3-none-manylinux_2_34_aarch64.whl |
|---|---|
| Size | 19.1 MB |
| Tags | Linux glibc 2.34+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
eeb6877c7a265261340d71e2c9ebf61606222fdcefc27bd3a049e8d953d6d73c
|
|
BLAKE2b-256 checksum How to use checksums |
1b0f48a9cf6b806fd3b4c6dde7dec8ff83fce885a2f7322a4849e4385e84711c
|
| 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 logRelease files / rdp_kit_server-20261130.12-py3-none-macosx_13_0_arm64.whl
| Download URL | rdp_kit_server-20261130.12-py3-none-macosx_13_0_arm64.whl |
|---|---|
| Size | 11.6 MB |
| Tags | Python 3 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
05cebbf6ca6a65338326f1bf94fc145c8ef207a8628a9994659056738efa7c3d
|
|
BLAKE2b-256 checksum How to use checksums |
efd1e7d2215f0208328c686655eb83369ae4876214a8d1f9820dee7024b16897
|
| 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 logRelease files / rdp_kit_server-20261130.12-py3-none-any.whl
| Download URL | rdp_kit_server-20261130.12-py3-none-any.whl |
|---|---|
| Size | 60.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
563b37905e7d6c1b17cb61811acea4767a331d08bbfe22d08beb0a9c318ed032
|
|
BLAKE2b-256 checksum How to use checksums |
e7765011b29545ed03278ca679da9ba61e8f1d2e2b22617659d400ff8032279b
|
| 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 logSecurity for rdp-kit-server 20261130.12
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.12.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 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.