freerdp-shadow-cli(1)
π¦ freerdp-shadow-cli π¦
okay bestie, welcome to freerdp-shadow-cli(1) β this is the FreeRDP manual page, and it's genuinely one of the coolest little tools out there. it's giving "share your screen but make it RDP." let's get into it π
β¨ NAME β¨
freerdp-shadow-cli β a utility for sharing a X display via RDP. no cap, that's the whole vibe. π₯οΈ
β¨ SYNOPSIS β¨
freerdp-shadow-cli [/port:<port number>] [/ipc-socket:<ipc-socket>]
[/monitors:<0,1,2,...>] [/rect:<x,y,w,h>] [+auth] [-may-view] [-may-
interact] [/sec:<rdp|tls|nla|ext>] [-sec-rdp] [-sec-tls] [-sec-nla]
[-sec-ext] [/sam-file:<file>] [/version] [/help]
look at all those flags, she's got range π
β¨ DESCRIPTION β¨
so basically freerdp-shadow-cli lets you share a running X display β like VNC does β except it does it over RDP instead. yes, RDP. iconic behavior honestly.
and it's not even all-or-nothing: you can also share only parts of the display, by specifying a rect. main character energy for real. π
β¨ OPTIONS β¨
/ipc-socket:<ipc-socket>β if you set this, it uses an ipc socket at the path ipc-socket instead of a TCP socket. choosing your own transport, we love a flexible queen π/port:<port>β sets the port to use. the default is3389. heads up though: this option gets ignored ifipc-socketis in play. π«/monitors:<1,2,3,...>β pick which monitor(s) you wanna share. multi-monitor besties rise π₯οΈπ₯οΈ/rect:<x,y,w,h>β pick a rectangle within the monitor to share. just a lil slice of screen, as a treat π-authβ disables authentication. when authentication is enabled, PAM is used with the X11 subsystem. running as root isn't necessary, however β if you run as a user, then only the same user that startedfreerdp-shadow-clican authenticate.
β οΈ Warning: if authentication is disabled, everyone can connect. literally everyone. no cap. be careful with this one bestie π
-may-viewβ clients may view without a prompt. π-may-interactβ clients may interact without a prompt. hands on the keyboard, no questions asked πΉ/sec:<rdp|tls|nla|ext>β force a specific protocol security. you pick, she obeys β¨-sec-rdpβ disable RDP security (default:on)-sec-tlsβ disable TLS protocol security (default:on)-sec-nlaβ disable NLA protocol security (default:on)+sec-extβ use NLA extended protocol security (default:off)/sam-file:<file>β NTLM SAM file for NLA authentication ποΈ/versionβ print the version and exit. quick lil peek π/helpβ print the help and exit. when you're lost, she's got you π«Ά
β¨ USAGE β¨
here's how the girlies actually run it:
#MANPAGE_NAME@ - start the shadow server on port 3389 with NLA security,
SAM database at /etc/winpr/SAM
freerdp-shadow-cli /sam-file:SAM.db - same as above, but a custom SAM
database provided as argument
freerdp-shadow-cli -sec-nla - start the shadow server on port 3380 with
TLS/NLA security. This allows authenticating against PAM with unix
users. Be aware that the password is transmitted plain text like with
basic HTTP auth
π okay that last one matters: with that setup the password is transmitted plain text, just like with basic HTTP auth. know that before you commit, fr fr.
β¨ EXAMPLES β¨
freerdp-shadow-cli /port:12345
when you run this as a user inside an X session (say, from an xterm), a socket on 12345 gets opened and your current display is shared via RDP. boom. that's it. slay. π
β¨
β¨ EXIT STATUS β¨
0β successful program execution. we ate and left no crumbs π1β otherwise. π
β¨ SEE ALSO β¨
go read those too, iykyk π
β¨ AUTHOR β¨
FreeRDP <team@freerdp.com> β the icons, the legends, the blueprint π
and that's the whole page bestie! this was FreeRDP version 3.32.2, dated 2017-01-12, and you just read the freerdp-shadow-cli(1) manual. stay secure, keep your -auth on unless you really mean it, and go share that screen responsibly. mwah π«Άππ¦πΈ
π¦ where this page comes from
- fedora 43: freerdp-server 2:3.32.2-1.fc43 Β· Apache-2.0 AND HPND AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND OFL-1.1
- fedora 44: freerdp-server 2:3.32.2-1.fc44 Β· Apache-2.0 AND HPND AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND OFL-1.1
- nixpkgs unstable: freerdp 3.32.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms