Fixing FreeRDP certificate issues (Linux)

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:

  1. Open a terminal by pressing the Windows/Meta key, typing ‘terminal’ in the search box, and selecting the Terminal application from the resulting list.
  2. Run this command in the terminal window:
    sed -i '/^hostname/d' ~/.config/freerdp/known_hosts2
    1. 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.
    2. 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.
  3. Reconnect to the computer. For more information on how to remotely connect to Windows computers, refer to Connecting to a campus Windows computer (Linux).
100% helpful - 1 review

Details

Article ID: 96506
Created
Fri 1/24/20 2:58 PM
Modified
Tue 4/9/24 12:00 PM