Using RDP
Using RDP
We can use xfreerdp to get the RDP.
On Windows 11, Network Level Authentication (NLA) is enabled by default for RDP connections. Because OFFICE is not a domain-joined machine, rdesktop won't connect to it. We can use xfreerdp instead, which supports NLA for non domain-joined machines.
# Normal Way:
xfreerdp /u:$UserName /p:$Password /v:$ip
# This is best as it allow auto resizing feature.
xfreerdp /v:$IP /u:$UserName /p:$Password /smart-sizing:1920x1080
# Use this command if you want dynamic resolution of RDP windows. It will adjust the resolution according to your current host machine.
xfreerdp /v:$IP /u:$UserName /p:'$Password' /cert-ignore /dynamic-resolution
Last updated