Hi,
my laptop runs on Manjaro and I'm using Remmina RDP to connect to my office desktop over my corporate's VPN. This VPN is launched from a terminal session using
sudo openconnect --juniper --no-dtls <vpn-server> -u <username>
This works fine on a freshly booted system and Remmina is able to connect to my desktop computer remotely. Once I'm done with my RDP session, I close Remmina and shut down the VPN connection. The problem is that if I want to start a new RDP session, I can start the VPN successfully with the above command but Remmina cannot connect to my desktop anymore and says "Unable to find the address of RDP server". The RDP server is given as an address instead of an IP in Remmina. It seems that after the first VPN connection, the DNS resolver in my VPN no longer works. In fact when using freerdp instead of Remmina, I get the following error:
freerdp_set_last_error ERRCONNECT_DNS_NAME_NOT_FOUND
So it seems that while DNS can be successfully resolved on the first VPN connection, they no longer work after that and the name of my RDP server cannot be found. Only a reboot allows the RDP connection to work again. Note that no matter if I'm connected to the VPN or not, I always get the IP of my router in /etc/resolv.conf. But this is also so when the DNS resolution works properly right after a reboot (which is kind of weird, no?). The content of this file is only altered if I connect to the VPN using network-manager GUI. But here again, the DNS resolution only works on the first time after booting, any subsequent attempts fail as well.
I have tried to delete the file known_hosts found in ~/.config/freerdp folder as this has been recommanded by some people. However this doesn't help with the problem. Only a reboot allows to connect to my RDP server again and rebooting is necessary each time I want to connect.
Any idea on what could be the cause of this? It seems that after the first VPN connection, something breaks in the DNS resolution and only a reboot can fix it. Thanks for any suggestion!
EDIT: I'm running kernel 4.19.24-1 but I also tried with 4.14.101-1 and the same problem occurs.
EDIT2: well I just found out that rebooting not always works Currently, Remmina is unable to connect to my RDP server although I just rebooted the laptop. VPN is up and running and I can browse internet. But probably the DNS server is not the one of my VPN, which prevents Remmina from finding the RDP server...