I'm on Linux (Ubuntu 20.04)
and I make vpn connection using openvpn
to my workstation which is windows 10 (I use RDP connection through remmina
) when I use my workstation IP address I'm able to ping and connect but when I use my workstation name (ex: wks-eshirvana) I'm able ping my workstaion name but remmina doesn't recognize it and I get error message:
Could not find the address for RDP server "wks-eshirvana"
(note: I'm able to use machinename when I'm on windows)
is there a workaround to use my workstation machine name instead of ip address?
update:
the error I get is :
[09:58:00:867] [12184:12296] [ERROR][com.freerdp.core] - freerdp_tcp_is_hostname_resolvable:freerdp_set_last_error_ex ERRCONNECT_DNS_NAME_NOT_FOUND [0x00020005]
I created a bug in GitLab, I paste the answer from remmina developers, It didn't work fro me but might work for someone else:
This is the error raised by the FreeRDP library, and it happens, most probably, because of a confinement issue. FreeRDP uses getaddrinfo to obtain the hostname IP address. Unfortunately I don't know how to help you as I have a VPN (OpenConnect) and it works perfectly even with the Snap package.
Try to remove (backup your profiles before) remmina and reinstall with:
sudo snap install remmina --devmode
It should install remmina without any restrictions, and let me know if it works.