{{tag>Windows RDP}} # RDP sous GNU/Linux (client) Voir aussi (serveur) : * FreeRDP ## rdesktop ~~~bash xrandr | grep "\+$" | head -1 | awk '{print $1}' rdesktop -P -x -m -z -a 16 -u utilisateur -d domaine -p motdepasse -g 1280x1024 -D 127.0.0.1 ~~~ ~~~bash rdesktop -z -P -a 16 -g 1024x768 -u utilisateur -p 'P@ssw0rd' www.actinewsreseau.com:3089 -r disk:tmp=/home/jibe/tmp ~~~ plan écran <=> fenêtré **[Ctrl] + [Alt] + [Enter]** `rdesktop -0` est l'équivalent à `mstsc /admin` ou `mstsc /console` Voir https://wiki.rrc.uic.edu/wiki/RRC-SCS:_Using_rdesktop_for_Linux ~~~bash rdesktop -b -z -P -a 16 -g 1024x768 -u 'DOMAIN\user' -p P@ssw0d 178.33.12.210 rdesktop -z -P -a 16 -g 1024x768 -u utilisateur -p P@ssw0rd -r disk:tmp=/home/jean/tmp 38.59.153.12:3089 rdesktop -g 90% -r clipboard:CLIPBOARD windowsbox.net.lab ~~~ ## xfreerdp ~~~bash xfreerdp /monitor-list xfreerdp /u:user /d:DOMAIN /p:'P@ssw0rd' /v:server /drive:/home/jean/tmp +clipboard:on /w:1024 /h:768 /monitors:0 xfreerdp /u:user /d:DOMAIN /p:'P@ssw0rd' /v:server /drive:/home/jean/tmp +clipboard:on /monitors:1 /f xfreerdp /v:localhost:3390 /drive:tmp,/home/jean/tmp /clipboard /monitors:1 /cert-ignore /compression /bpp:16 /network:modem /auto-reconnect /glyph-cache -themes -wallpaper /workarea -sec-nla ~~~ Ctrl + Alt + Enter pour quitter le plein écran ### Pb ~~~ unexpected pubKeyAuth buffer size: 0 Could not verify public key echo! Authentication failure, check credentials. If credentials are valid, the NTLMSSP implementation may be to blame. Error: protocol security negotiation or connection failure ~~~ #### Solution ajouter l'option `-sec-nla`