Body
Sometimes connections from Red Hat Linux to remote computers via RDP will fail if the remote computers have been physically rebuilt or had their software altered. This can be fixed by removing their old connection certificates from your home directory and accepting the remote machine’s new certificate. To do this:
- Open a terminal by pressing the Windows/Meta key, typing ‘terminal’ in the search box, and selecting the Terminal application from the resulting list.
- Run this command in the terminal window:
sed -i '/^hostname/d' ~/.config/freerdp/known_hosts2
- In the above scenario, replace hostname with the host name you would like to remove ie. mymachine.ad.mtu.edu.This will find the string hostname inside the file which contains the known remote desktop hosts and delete its identity, allowing it to be recreated when connecting to it again.
- Alternatively, you could run ‘gedit ~/.config/freerdp/known_hosts2’, and remove the entire line which contains the hostname of the computer you are trying to connect to.
- Reconnect to the computer. For more information on how to remotely connect to Windows computers, refer to Connecting to a campus Windows computer (Linux).