https://websiteforstudents.com/connect-to-ubuntu-16-04-17-10-18-04-desktop-via-remote-desktop-connection-rdp-with-xrdp/
sudo apt install xrdp sudo systemctl enable xrdp reboot
Then you can connect via RDP from another machine.
In Windows, you can use the built-in mstsc.exe Remote Desktop Client.
mstsc.exe