niri

niri is a scrollable-tiling Wayland compositor built on Smithay. lamco-rdp-server identifies it by name (from XDG_CURRENT_DESKTOP or the running niri process, read before COSMIC's greeter so a COSMIC login screen doesn't hide it) and reads its version from niri --version. A native install drives niri through the same Wayland protocols it uses on wlroots compositors: zwlr_screencopy_manager_v1 for the picture, zwp_virtual_keyboard_manager_v1 and zwlr_virtual_pointer_manager_v1 for input, and ext-data-control-v1 for the clipboard. No permission dialog is involved.

Support varies, and it's usually broader than documented. What works depends on the compositor's version, the portal backend installed, and whether you run a native package, the Flatpak or the Snap. Support is added all the time, by each Lamco release and by the desktops themselves, so treat these pages as what has been confirmed, not as a limit. The full list is on the platforms page.

Install and start

A native package is the recommended install on niri. It's the only one with keyboard and mouse there.

# Arch, CachyOS, EndeavourOS, Manjaro (AUR)
yay -S lamco-rdp-server

# Debian 13, Ubuntu 24.04 and later (apt.lamco.ai, or the .deb from the release)
sudo apt install lamco-rdp-server

# Fedora (RPM Fusion nonfree), openSUSE (OBS): see the Installation page

# Start it for this desktop session
systemctl --user enable --now app-io.lamco.rdp-server.service

Clients sign in with the desktop user's own system password (PAM) by default. See Signing in. Open port 3389 for TCP (and UDP, for the UDP side channel) if a firewall runs; see Network.

Native, Flatpak and Snap on niri

Native packageFlatpakSnap
Permission dialogNoneThe screen-sharing dialog or pickerNone
Keyboard and mouseYesView-only where the host's Flatpak is 1.16 or laterYes
Picture in a virtual machineYesNone: niri shares its screen only as GPU buffers there, and the client is told soYes
H.264 without a GPU that encodes itOpenH264 in softwareCisco's OpenH264 in the Flatpak's folder, or RemoteFX ProgressiveCisco's OpenH264 in the Snap's folder, or RemoteFX Progressive

Flatpak 1.16 and later pass a Wayland security context, and niri honors it by hiding its privileged input protocols from sandboxed applications. The sandbox can still share the screen through the portal, so the Flatpak shows the desktop but can't control it. A native install on niri has neither limit.

Resizing and locking

  • Resize: A client resize changes the output's mode, and the server puts it back when the client leaves. In the release test, 4 of 4 resize requests in one session were served at the new size.
  • Lock screen: The client sees niri's lock screen and types the password into it.

Tested

1.4.6 was tested on Arch Linux with niri 26.04, native and Flatpak, with xfreerdp3, rdpdo (the IronRDP family) and aardwolf. On the native install the picture's colors matched, the clipboard battery passed 13 cells with 0 failures (two RTF cells xfreerdp3 can't carry weren't checkable), and the Flatpak's first start refused to serve until an NLA password was stored, then signed in with it and refused a wrong one. The lock test didn't run on that VM, because its session is an autologin inside the greeter's session, which logind won't lock. Details are on Tested configurations.

Troubleshooting

SymptomCauseFix
Flatpak shows the desktop, but typing and clicks do nothingniri hides its input protocols from sandboxed applications (Flatpak 1.16 and later)Use the native package or the Snap
Flatpak in a VM shows no pictureniri shares its screen only as GPU buffers in a virtual machineUse the native package; the server tells the client why
Can't connect at allA firewall blocks port 3389Open 3389 for TCP and UDP
Video falls behind in a VMNo GPU that encodes H.264See Hardware encoding and GPUs

Related: Sway and wlroots, labwc, Wayfire, Budgie and LXQt, Other compositors, First start of the Flatpak and Snap, Known limits, Tested configurations.