freerdp-shadow-cli(1)
π freerdp-shadow-cli β a utility for sharing a X display via RDP π
okay so bestie, welcome to the freerdp-shadow-cli(1) page, part of the FreeRDP manual π
. this is the little command that lets you share a running X display over RDP instead of VNC, and honestly? iconic.
β¨ 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]
πΈ DESCRIPTION πΈ
freerdp-shadow-cli lets you share a running X display like with VNC but by using the RDP instead π¦. and yes, you can also share only parts (rect) of the display, not me being fancy π
. no cap.
π OPTIONS π
/ipc-socket:<ipc-socket>β if you set this option, an ipc socket with the path ipc-socket is used instead of a TCP socket β¨./port:<port>β sets the port to use. default is3389. this option is ignored if ipc-socket is used, so don't come crying to me π./monitors:<1,2,3,...>β pick which monitor(s) to share π./rect:<x,y,w,h>β pick a rectangle within the monitor to share πΈ.-authβ disable authentication. if authentication is enabled, PAM is used with the X11 subsystem. running as root is not necessary, however if run as user only the same user that startedfreerdp-shadow-clican authenticate π«Ά.
β οΈ Warning: if authentication is disabled, everyone can connect. like, everyone everyone. bestie. pls be careful π.
-may-viewβ clients may view without prompt π.-may-interactβ clients may interact without prompt π±οΈ./sec:<rdp|tls|nla|ext>β force a specific protocol security π.-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. short and sweet β¨./helpβ print the help and exit. we love a helpful icon π .
π USAGE π
#MANPAGE_NAME@- start the shadow server on port3389with NLA security, SAM database at/etc/winpr/SAMfreerdp-shadow-cli /sam-file:SAM.db- same as above, but a custom SAM database provided as argumentfreerdp-shadow-cli -sec-nla- start the shadow server on port3380with 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 π
π¦ EXAMPLES π¦
freerdp-shadow-cli /port:12345
when run as user within a X session (for example from an xterm) a socket on 12345 is opened and the current display is shared via RDP β¨. slay.
π EXIT STATUS π
0β successful program execution. we ate π1β otherwise. it's giving not-slaying π
π SEE ALSO π
π AUTHOR π
FreeRDP <team@freerdp.com>
okay that's the whole page bestie, you're officially a shadow-server main character now π
β¨. this was freerdp-shadow-cli(1) from FreeRDP version 3.32.1, dated 2017-01-12 β go share that display, ily π«Άπ
π¦ where this page comes from
- ubuntu noble: freerdp3-shadow-x11 3.32.1+dfsg-0ubuntu0.24.04.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms