LinuxCommandLibrary

krdpserver

Run KDE Remote Desktop Protocol server

TLDR

Start an RDP server with a username and password

$ krdpserver [[-u|--username]] [user_name] [[-p|--password]] [password]
copy

Share a specific monitor marked by its index
$ krdpserver [[-u|--username]] [user_name] [[-p|--password]] [password] --monitor [n]
copy

SYNOPSIS

krdpserver [options]

PARAMETERS

--help
    Show help message and exit.

--version
    Print version information.

--port <PORT>
    TCP port to listen on (default: 3389)

--width <WIDTH>
    Virtual screen width in pixels.

--height <HEIGHT>
    Virtual screen height in pixels.

--screen <SCREEN>
    Specific screen index to share (default: primary).

--share
    Share entire desktop (default behavior).

--window
    Share specific application window.

--notify
    Show on-screen notifications for connections.

--no-audio
    Disable audio forwarding.

DESCRIPTION

krdpserver provides remote desktop access to KDE Plasma sessions running on Wayland using the standard RDP protocol. It enables connections from clients like Microsoft Remote Desktop, FreeRDP, or Remmina.

Integrated with PipeWire for efficient screen capture and xdg-desktop-portal-kde for portal-based sharing, it supports full desktop sharing or specific windows. Designed for secure remote access, it uses TLS encryption by default and authenticates via Plasma's session credentials.

To use, launch it from a Wayland Plasma session (e.g., via KRunner or terminal). It binds to TCP port 3389 by default. Ideal for headless setups or remote administration, but requires configuration for multi-monitor or custom resolutions.

Leverages modern hardware acceleration for smooth performance, making it a lightweight alternative to VNC servers like krfb.

CAVEATS

Only supported on Wayland sessions, not X11. Requires plasma-wayland-session, PipeWire, and xdg-desktop-portal-kde. Exposes full desktop; use firewall rules and strong auth. May have latency on slow networks. Not for public internet without VPN.

INSTALLATION

Typically in plasma-remotecontrollers package. On Fedora: dnf install plasma-remotecontrollers; Ubuntu: apt install krfb.

USAGE EXAMPLE

krdpserver --port 3390 --width 1920 --height 1080
Connect via RDP client to <host>:3390.

HISTORY

Introduced in Plasma 5.25 (June 2022) as part of Plasma Remote Desktop efforts. Developed by KDE team to provide native RDP support on Wayland, replacing legacy solutions. Enhanced in Plasma 6 with better PipeWire integration and multi-monitor support.

SEE ALSO

krfb(1), xrdp(8), remmina(1), freerdp-server(8)

Copied to clipboard