To install freerdp on Debian, Kali Linux, Linux Mint, Ubuntu and
derivatives, run the command:
$ sudo apt install freerdp2-shadow-x11 winpr-utils
To install freerdp on Arch Linux and derivatives, run the command:
$ sudo pacman -S freerdp
To start the RDP server without authentication at all, use
the -auth option. Warning: if authentication is disabled,
anyone can connect. Only use this option for testing.
$ freerdp-shadow-cli -auth
To start RDP server with authentication:
- First calculate the hash for password
$ winpr-hash -u myusername -p mypassword
Output:
a991ae45aa987a1a48c8bdc1209ff0e7
- Next, create SAM (example: my-sam) file and add this text
dirn:::a991ae45aa987a1a48c8bdc1209ff0e7:::
- Now start RDP server
$ freerdp-shadow-cli /sam-file:my-sam /sec:nla
- Connect from Windows
No comments:
Post a Comment