I followed this article and so I could connect to ubuntu server from windows 10 using VNS viewer and putty.
https://devanswers.co/install-vnc-ubuntu-18-04-windows-mac