1. Configuración
1.1 ~/.config/freerdp/server
carpeta que contiene los certificados para conectarse. Los nombres son : 192.168.XXX.XXX_3389.pem
1.2 ~/.config/freerdp/known_hosts2
fichero que contiene la IP, huella del certificado y otro dato mas del servidor al que queremos conectar.
1.3 ~/.local/share/remmina
password=XXXXXXXXX gateway_username= notes_text= vc= preferipv6=0 serialname= ssh_tunnel_loopback=0 tls-seclevel= sound=off printer_overrides= name=Win11-ximo console=0 colordepth=99 security= precommand= disable_fastpath=0 left-handed=0 multitransport=0 postcommand= group= server=192.168.xxx.xxx ssh_tunnel_command= glyph-cache=0 ssh_tunnel_enabled=0 disableclipboard=0 labels= audio-output= parallelpath= monitorids= cert_ignore=0 gateway_server= serialpermissive=0 protocol=RDP old-license=0 disconnect-prompt=0 ssh_tunnel_password= resolution_mode=2 assistance_mode=0 pth= disableautoreconnect=0 loadbalanceinfo= clientbuild= clientname= resolution_width=0 drive= username=ximo relax-order-checks=0 base-cred-for-gw=0 profile-lock=0 network=none rdp2tcp= gateway_domain= serialdriver= rdp_reconnect_attempts= gateway_password= domain=edificio.municipio Quitar esto para que funcione !!!!! restricted-admin=0 ssh_tunnel_certfile= exec= multimon=0 serialpath= enable-autostart=0 smartcardname= usb= ssh_tunnel_passphrase= disablepasswordstoring=0 shareprinter=0 shareparallel=0 quality=0 span=0 parallelname= ssh_tunnel_auth=0 keymap= ssh_tunnel_username= execpath= shareserial=0 resolution_height=0 rdp_mouse_jitter=No useproxyenv=0 sharesmartcard=0 freerdp_log_filters= microphone= timeout= ssh_tunnel_privatekey= gwtransp=http ssh_tunnel_server= ignore-tls-errors=1 dvc= gateway_usage=0 disable-smooth-scrolling=0 no-suppress=0 websockets=0 freerdp_log_level=INFO window_width=640 window_height=480 viewmode=1 window_maximize=0
Se muestran los parámetros que hay que tener mas cuidado pues los otros los da el sistema automáticamente.
OJO Para que funcione en windows 11 hay que quitar el domain=ZZZZZZZZZZZZZZZZ
que es el error que sale
cannot connect to the "192.168.xxx.xxx" RDP Server
Si es windows v7 el servidor tiene estos parámetros
[remmina] password= gateway_username= notes_text= vc= window_height=727 preferipv6=0 ssh_tunnel_loopback=0 serialname= tls-seclevel=0 sound=local printer_overrides= name=192.168.xxx.xxx -Windows 7 Ximo console=0 colordepth=99 security= precommand= disable_fastpath=0 postcommand= left-handed=0 multitransport=0 group= server=192.168.xxx.xxx ssh_tunnel_certfile= glyph-cache=0 ssh_tunnel_enabled=0 disableclipboard=0 labels= audio-output= parallelpath= monitorids= cert_ignore=0 gateway_server= serialpermissive=0 protocol=RDP old-license=0 disconnect-prompt=0 ssh_tunnel_password= resolution_mode=2 assistance_mode=0 pth= loadbalanceinfo= disableautoreconnect=0 clientbuild= clientname= resolution_width=0 drive=/media/ximo/126b1584-0fd8-4183-95a2-21b2729538b9/DATOS_XIMO relax-order-checks=0 base-cred-for-gw=0 gateway_domain= profile-lock=0 rdp2tcp= gateway_password= serialdriver= rdp_reconnect_attempts= domain=edificio.ayuntamiento smartcardname= exec= serialpath= multimon=0 username=ximo enable-autostart=0 usb= shareprinter=0 network=autodetect restricted-admin=0 ssh_tunnel_passphrase= quality=2 span=0 disablepasswordstoring=0 parallelname= shareparallel=0 ssh_tunnel_auth=0 rdp_mouse_jitter=No keymap= ssh_tunnel_username= viewmode=1 execpath= resolution_height=0 useproxyenv=0 timeout= freerdp_log_filters= shareserial=0 dvc= microphone= ssh_tunnel_privatekey= ssh_tunnel_server= gwtransp=http ignore-tls-errors=1 sharesmartcard=0 disable-smooth-scrolling=0 window_maximize=0 keyboard_grab=0 window_width=1487 no-suppress=0 gateway_usage=0 websockets=0 freerdp_log_level=INFO ssh_tunnel_command=
2. Funcionamiento
Cada vez que creamos una conexión , nos propone un certificado y debemos aceptarlo.
Pero si no nos deja conectar debemos borrar el certificado en base a su IP en la carpeta ~/.config/freerdp/server y del fihero ~/.config/freerdp/known_hosts2
3. Freerdp al rescate
Si no funciona podemos ejecutar en una shellls
xfreerdp /v:server_IP /u:user /p:"password" /dynamic-resolution
y nos dice
Certificate details for 192.168.xxx.xxx:3389 (RDP-Server): Common Name: A03-INF-011.edificio.municipio Subject: CN = A03-INF-011.edificio.municipio Issuer: CN = A03-INF-011.edificio.municipio
Thumbprint: e1:9c:xx:39:xx:33:5f:b0:xx:08:c2:6d:xxY:c7:f5:a0:b4:18:c3:95:8a:11:df:15:d4:67:70:55:ce:97:4b:aa The above X.509 certificate could not be verified, possibly because you do not have the CA certificate in your certificate store, or the certificate has expired. Please look at the OpenSSL documentation on how to add a private CA to the store. Do you trust the above certificate? (Y/T/N)
Si le contestamos que Y, nos deja entrar en la máquina
4. Depuración de remmina
Vamos a la pantalla indicada y nos sale la consola para hacer depuración