remote desktop disconnects when i connect to vpn on remote server

Solution 1:

Problem solved. By unchecking "Use default gateway" in IPv4 and IPv6 settings of VPN properties.