About remotely control another Ubuntu desktop from Ubuntu without needs its IP

Solution 1:

You can do this with anydesk.On the remote computer (the server) first go to set password for unattended access and then go to settings --> security --> allow unattended access

enter image description here